@volo/abp.ng.payment 10.0.2 → 10.1.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 +13 -6
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-admin.mjs +79 -67
- package/fesm2022/volo-abp.ng.payment-admin.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-proxy.mjs +122 -17
- package/fesm2022/volo-abp.ng.payment-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment.mjs +1061 -0
- package/fesm2022/volo-abp.ng.payment.mjs.map +1 -1
- package/package.json +12 -12
- package/{admin/config/index.d.ts → types/volo-abp.ng.payment-admin-config.d.ts} +6 -1
- package/{admin/index.d.ts → types/volo-abp.ng.payment-admin.d.ts} +10 -6
- package/types/volo-abp.ng.payment-proxy.d.ts +214 -0
- package/types/volo-abp.ng.payment.d.ts +230 -0
- package/index.d.ts +0 -2
- package/proxy/index.d.ts +0 -130
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { provideAppInitializer, inject, NgModule } from '@angular/core';
|
|
2
|
+
import { provideAppInitializer, inject, NgModule, makeEnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { RoutesService } from '@abp/ng.core';
|
|
4
4
|
|
|
5
5
|
const PAYMENT_ROUTE_PROVIDERS = [
|
|
@@ -36,24 +36,31 @@ function configureRoutes() {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
class PaymentAdminConfigModule {
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated forRoot method is deprecated, use `providePaymentAdminConfig` *function* for config settings.
|
|
41
|
+
*/
|
|
39
42
|
static forRoot() {
|
|
40
43
|
return {
|
|
41
44
|
ngModule: PaymentAdminConfigModule,
|
|
42
45
|
providers: [PAYMENT_ROUTE_PROVIDERS],
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
46
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
47
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
49
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminConfigModule }); }
|
|
50
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminConfigModule }); }
|
|
48
51
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminConfigModule, decorators: [{
|
|
50
53
|
type: NgModule,
|
|
51
54
|
args: [{}]
|
|
52
55
|
}] });
|
|
53
56
|
|
|
57
|
+
function providePaymentAdminConfig() {
|
|
58
|
+
return makeEnvironmentProviders([PAYMENT_ROUTE_PROVIDERS]);
|
|
59
|
+
}
|
|
60
|
+
|
|
54
61
|
/**
|
|
55
62
|
* Generated bundle index. Do not edit.
|
|
56
63
|
*/
|
|
57
64
|
|
|
58
|
-
export { PAYMENT_ROUTE_PROVIDERS, PaymentAdminConfigModule, configureRoutes };
|
|
65
|
+
export { PAYMENT_ROUTE_PROVIDERS, PaymentAdminConfigModule, configureRoutes, providePaymentAdminConfig };
|
|
59
66
|
//# sourceMappingURL=volo-abp.ng.payment-admin-config.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.payment-admin-config.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.payment-admin-config.mjs","sources":["../../../../packages/payment/admin/config/src/providers/route.provider.ts","../../../../packages/payment/admin/config/src/payment-admin-config.module.ts","../../../../packages/payment/admin/config/src/providers/payment-admin-config.provider.ts","../../../../packages/payment/admin/config/src/volo-abp.ng.payment-admin-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { inject, provideAppInitializer } from '@angular/core';\r\nimport { ePaymentRouteNames } from '../enums/route-names';\r\nimport { ePaymentPolicyNames } from '../enums/policy-names';\r\n\r\nexport const PAYMENT_ROUTE_PROVIDERS = [\r\n provideAppInitializer(() => {\r\n configureRoutes();\r\n }),\r\n];\r\n\r\nexport function configureRoutes() {\r\n const routes = inject(RoutesService);\r\n routes.add([\r\n {\r\n path: undefined,\r\n name: ePaymentRouteNames.Payment,\r\n // TODO: let people know about this number\r\n order: 50,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-credit-card',\r\n },\r\n {\r\n path: '/payment/plans',\r\n name: ePaymentRouteNames.PaymentPlans,\r\n parentName: ePaymentRouteNames.Payment,\r\n order: 1,\r\n requiredPolicy: ePaymentPolicyNames.PaymentPlans,\r\n },\r\n {\r\n path: '/payment/requests',\r\n name: ePaymentRouteNames.Requests,\r\n parentName: ePaymentRouteNames.Payment,\r\n order: 2,\r\n requiredPolicy: ePaymentPolicyNames.PaymentRequests,\r\n },\r\n ]);\r\n}\r\n","import { NgModule, ModuleWithProviders } from '@angular/core';\r\nimport { PAYMENT_ROUTE_PROVIDERS } from './providers/route.provider';\r\n\r\n@NgModule({})\r\nexport class PaymentAdminConfigModule {\r\n /**\r\n * @deprecated forRoot method is deprecated, use `providePaymentAdminConfig` *function* for config settings.\r\n */\r\n static forRoot(): ModuleWithProviders<PaymentAdminConfigModule> {\r\n return {\r\n ngModule: PaymentAdminConfigModule,\r\n providers: [PAYMENT_ROUTE_PROVIDERS],\r\n };\r\n }\r\n}\r\n","import { makeEnvironmentProviders } from '@angular/core';\r\nimport { PAYMENT_ROUTE_PROVIDERS } from './';\r\n\r\nexport function providePaymentAdminConfig() {\r\n return makeEnvironmentProviders([PAYMENT_ROUTE_PROVIDERS]);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAKO,MAAM,uBAAuB,GAAG;IACrC,qBAAqB,CAAC,MAAK;AACzB,QAAA,eAAe,EAAE;AACnB,IAAA,CAAC,CAAC;;SAGY,eAAe,GAAA;AAC7B,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;IACpC,MAAM,CAAC,GAAG,CAAC;AACT,QAAA;AACE,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,IAAI,EAAA,iCAAA;;AAEJ,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,MAAM,EAAA,aAAA;AACN,YAAA,SAAS,EAAE,mBAAmB;AAC/B,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,IAAI,EAAA,qBAAA;AACJ,YAAA,UAAU,EAAA,iCAAA;AACV,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAA,eAAA;AACf,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,mBAAmB;AACzB,YAAA,IAAI,EAAA,+BAAA;AACJ,YAAA,UAAU,EAAA,iCAAA;AACV,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAA,yBAAA;AACf,SAAA;AACF,KAAA,CAAC;AACJ;;MCjCa,wBAAwB,CAAA;AACnC;;AAEG;AACH,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,wBAAwB;YAClC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;IACH;8GATW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,QAAQ;mBAAC,EAAE;;;SCAI,yBAAyB,GAAA;AACvC,IAAA,OAAO,wBAAwB,CAAC,CAAC,uBAAuB,CAAC,CAAC;AAC5D;;ACLA;;AAEG;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injector, ViewEncapsulation, Component,
|
|
2
|
+
import { inject, Injector, ViewEncapsulation, Component, input, output, DestroyRef, InjectionToken, Injectable, NgModule } from '@angular/core';
|
|
3
3
|
import { ListService, LocalizationPipe, ReplaceableRouteContainerComponent, AuthGuard, PermissionGuard, RouterOutletComponent, CoreModule, LazyModuleFactory, authGuard, permissionGuard } from '@abp/ng.core';
|
|
4
4
|
import * as i1$1 from '@angular/router';
|
|
5
5
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
6
6
|
import { AsyncPipe, CommonModule } from '@angular/common';
|
|
7
7
|
import * as i1 from '@angular/forms';
|
|
8
|
-
import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
8
|
+
import { FormsModule, ReactiveFormsModule, FormBuilder, Validators } from '@angular/forms';
|
|
9
9
|
import * as i2 from '@ngx-validate/core';
|
|
10
10
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
11
11
|
import { take, finalize, map, tap, mapTo } from 'rxjs/operators';
|
|
@@ -14,8 +14,9 @@ import { FormPropData, generateFormFromProps, ExtensibleTableComponent, Extensib
|
|
|
14
14
|
import { PageComponent, PageBreadcrumbContainerComponent, PageModule } from '@abp/ng.components/page';
|
|
15
15
|
import { AdvancedEntityFiltersComponent, AdvancedEntityFiltersAboveSearchComponent, AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
|
|
16
16
|
import { PlanService, PlanAdminService, PaymentRequestAdminService, paymentTypeOptions, paymentRequestStateOptions, GatewayService, PaymentType } from '@volo/abp.ng.payment/proxy';
|
|
17
|
+
import { debounceTime, of } from 'rxjs';
|
|
18
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
17
19
|
import { NgbInputDatepicker, NgbDateAdapter, NgbTooltip, NgbTooltipModule, NgbDatepickerModule } from '@ng-bootstrap/ng-bootstrap';
|
|
18
|
-
import { of } from 'rxjs';
|
|
19
20
|
|
|
20
21
|
class GatewayPlansComponent {
|
|
21
22
|
constructor() {
|
|
@@ -87,16 +88,16 @@ class GatewayPlansComponent {
|
|
|
87
88
|
const data = new FormPropData(this.injector, this.selected);
|
|
88
89
|
this.form = generateFormFromProps(data);
|
|
89
90
|
}
|
|
90
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
91
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GatewayPlansComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
92
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: GatewayPlansComponent, isStandalone: true, selector: "abp-gateway-plans", providers: [
|
|
92
93
|
ListService,
|
|
93
94
|
{
|
|
94
95
|
provide: EXTENSIONS_IDENTIFIER,
|
|
95
96
|
useValue: "Payment.GatewayPlans" /* ePaymentComponents.GatewayPlans */,
|
|
96
97
|
},
|
|
97
|
-
], 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 localizationSourceName=\"Payment\" [list]=\"list\" />\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 </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\" />\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: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "
|
|
98
|
+
], 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 localizationSourceName=\"Payment\" [list]=\"list\" />\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 </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\" />\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: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
98
99
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GatewayPlansComponent, decorators: [{
|
|
100
101
|
type: Component,
|
|
101
102
|
args: [{ selector: 'abp-gateway-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
102
103
|
ListService,
|
|
@@ -190,16 +191,16 @@ class PaymentPlansComponent {
|
|
|
190
191
|
const data = new FormPropData(this.injector, this.selected);
|
|
191
192
|
this.form = generateFormFromProps(data);
|
|
192
193
|
}
|
|
193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
194
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentPlansComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
195
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: PaymentPlansComponent, isStandalone: true, selector: "abp-payment-plans", providers: [
|
|
195
196
|
ListService,
|
|
196
197
|
{
|
|
197
198
|
provide: EXTENSIONS_IDENTIFIER,
|
|
198
199
|
useValue: "Payment.Plans" /* ePaymentComponents.Plans */,
|
|
199
200
|
},
|
|
200
|
-
], 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\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 </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\" />\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: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "
|
|
201
|
+
], 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\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 </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\" />\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: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
201
202
|
}
|
|
202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentPlansComponent, decorators: [{
|
|
203
204
|
type: Component,
|
|
204
205
|
args: [{ selector: 'abp-payment-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
205
206
|
ListService,
|
|
@@ -249,16 +250,16 @@ class ProductsComponent {
|
|
|
249
250
|
];
|
|
250
251
|
this.list.hookToQuery(() => this.service.get(this.requestId).pipe(map(request => request.products))).subscribe((data) => (this.data = data));
|
|
251
252
|
}
|
|
252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
253
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ProductsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
254
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: ProductsComponent, isStandalone: true, selector: "abp-products", providers: [
|
|
254
255
|
ListService,
|
|
255
256
|
{
|
|
256
257
|
provide: EXTENSIONS_IDENTIFIER,
|
|
257
258
|
useValue: "Payment.Products" /* ePaymentComponents.Products */,
|
|
258
259
|
},
|
|
259
|
-
], 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: "
|
|
260
|
+
], 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: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: PageBreadcrumbContainerComponent, selector: "abp-page-breadcrumb-container" }, { kind: "component", type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
260
261
|
}
|
|
261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ProductsComponent, decorators: [{
|
|
262
263
|
type: Component,
|
|
263
264
|
args: [{ selector: 'abp-products', providers: [
|
|
264
265
|
ListService,
|
|
@@ -277,26 +278,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
277
278
|
|
|
278
279
|
class RequestsSearchFormComponent {
|
|
279
280
|
constructor() {
|
|
280
|
-
this.
|
|
281
|
+
this.pageQuery = input(...(ngDevMode ? [undefined, { debugName: "pageQuery" }] : []));
|
|
282
|
+
this.pageQueryChange = output();
|
|
283
|
+
this.formBuilder = inject(FormBuilder);
|
|
284
|
+
this.destroyRef = inject(DestroyRef);
|
|
281
285
|
this.paymentTypes = paymentTypeOptions;
|
|
282
286
|
this.states = paymentRequestStateOptions;
|
|
287
|
+
this.paymentRequestsSearchForm = this.formBuilder.group({
|
|
288
|
+
creationDateMax: [this.pageQuery()?.creationDateMax ?? ''],
|
|
289
|
+
creationDateMin: [this.pageQuery()?.creationDateMin ?? ''],
|
|
290
|
+
paymentType: [this.pageQuery()?.paymentType ?? ''],
|
|
291
|
+
status: [this.pageQuery()?.status ?? ''],
|
|
292
|
+
});
|
|
293
|
+
this.paymentRequestsSearchForm.valueChanges.pipe(debounceTime(150), takeUntilDestroyed(this.destroyRef))
|
|
294
|
+
.subscribe(() => {
|
|
295
|
+
this.pageQueryChange.emit(this.paymentRequestsSearchForm.value);
|
|
296
|
+
});
|
|
283
297
|
}
|
|
284
298
|
emit() {
|
|
285
|
-
this.pageQueryChange.emit(this.pageQuery);
|
|
299
|
+
this.pageQueryChange.emit(this.pageQuery());
|
|
286
300
|
}
|
|
287
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
288
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsSearchFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
302
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: RequestsSearchFormComponent, isStandalone: true, selector: "abp-payment-requests-search-form", inputs: { pageQuery: { classPropertyName: "pageQuery", publicName: "pageQuery", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageQueryChange: "pageQueryChange" }, providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }], ngImport: i0, template: "<form id=\"FilterFormId\" [formGroup]=\"paymentRequestsSearchForm\">\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 formControlName=\"creationDateMin\"\r\n readonly\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 formControlName=\"creationDateMax\"\r\n ngbDatepicker\r\n (click)=\"dateMax.toggle()\"\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 formControlName=\"paymentType\"\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 formControlName=\"status\"\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: "ngmodule", type: FormsModule }, { 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],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: 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: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
289
303
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsSearchFormComponent, decorators: [{
|
|
291
305
|
type: Component,
|
|
292
|
-
args: [{ selector: 'abp-payment-requests-search-form', providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }], imports: [FormsModule, NgbInputDatepicker, LocalizationPipe], template: "<form id=\"FilterFormId\"
|
|
293
|
-
}], propDecorators: {
|
|
294
|
-
type: Input
|
|
295
|
-
}], pageQuery: [{
|
|
296
|
-
type: Input
|
|
297
|
-
}], pageQueryChange: [{
|
|
298
|
-
type: Output
|
|
299
|
-
}] } });
|
|
306
|
+
args: [{ selector: 'abp-payment-requests-search-form', providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }], imports: [FormsModule, ReactiveFormsModule, NgbInputDatepicker, LocalizationPipe], template: "<form id=\"FilterFormId\" [formGroup]=\"paymentRequestsSearchForm\">\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 formControlName=\"creationDateMin\"\r\n readonly\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 formControlName=\"creationDateMax\"\r\n ngbDatepicker\r\n (click)=\"dateMax.toggle()\"\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 formControlName=\"paymentType\"\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 formControlName=\"status\"\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" }]
|
|
307
|
+
}], ctorParameters: () => [], propDecorators: { pageQuery: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageQuery", required: false }] }], pageQueryChange: [{ type: i0.Output, args: ["pageQueryChange"] }] } });
|
|
300
308
|
|
|
301
309
|
class RequestsComponent {
|
|
302
310
|
constructor() {
|
|
@@ -310,16 +318,20 @@ class RequestsComponent {
|
|
|
310
318
|
goToProducts(id) {
|
|
311
319
|
this.router.navigate([id, 'products'], { relativeTo: this.route });
|
|
312
320
|
}
|
|
313
|
-
|
|
314
|
-
|
|
321
|
+
onFilterChanged(filters) {
|
|
322
|
+
this.pageQuery = { ...this.pageQuery, ...filters };
|
|
323
|
+
this.list.get();
|
|
324
|
+
}
|
|
325
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
326
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: RequestsComponent, isStandalone: true, selector: "abp-payment-requests", providers: [
|
|
315
327
|
ListService,
|
|
316
328
|
{
|
|
317
329
|
provide: EXTENSIONS_IDENTIFIER,
|
|
318
330
|
useValue: "Payment.Requests" /* ePaymentComponents.Requests */,
|
|
319
331
|
},
|
|
320
|
-
], ngImport: i0, template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::
|
|
332
|
+
], ngImport: i0, template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::Requests' | 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 [pageQuery]=\"pageQuery\" (pageQueryChange)=\"onFilterChanged($event)\" />\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 </div>\r\n </div>\r\n </abp-page>\r\n}\r\n", dependencies: [{ kind: "component", type: RequestsSearchFormComponent, selector: "abp-payment-requests-search-form", inputs: ["pageQuery"], outputs: ["pageQueryChange"] }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: AdvancedEntityFiltersAboveSearchComponent, selector: "abp-advanced-entity-filters-above-search" }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
321
333
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsComponent, decorators: [{
|
|
323
335
|
type: Component,
|
|
324
336
|
args: [{ selector: 'abp-payment-requests', providers: [
|
|
325
337
|
ListService,
|
|
@@ -335,7 +347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
335
347
|
AdvancedEntityFiltersComponent,
|
|
336
348
|
AdvancedEntityFiltersAboveSearchComponent,
|
|
337
349
|
PageComponent,
|
|
338
|
-
], template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::
|
|
350
|
+
], template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::Requests' | 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 [pageQuery]=\"pageQuery\" (pageQueryChange)=\"onFilterChanged($event)\" />\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 </div>\r\n </div>\r\n </abp-page>\r\n}\r\n" }]
|
|
339
351
|
}], ctorParameters: () => [] });
|
|
340
352
|
|
|
341
353
|
const DEFAULT_GATEWAY_PLANS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
@@ -483,10 +495,10 @@ class SubscriptionTooltipComponent {
|
|
|
483
495
|
constructor() {
|
|
484
496
|
this.value$ = inject(PROP_DATA_STREAM);
|
|
485
497
|
}
|
|
486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
487
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SubscriptionTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
499
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: SubscriptionTooltipComponent, isStandalone: true, 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: 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: AsyncPipe, name: "async" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
488
500
|
}
|
|
489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SubscriptionTooltipComponent, decorators: [{
|
|
490
502
|
type: Component,
|
|
491
503
|
args: [{ selector: 'abp-subscription-tooltip', imports: [NgbTooltip, AsyncPipe, LocalizationPipe], 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" }]
|
|
492
504
|
}] });
|
|
@@ -636,10 +648,10 @@ class PaymentInitializer {
|
|
|
636
648
|
mergeWithDefaultProps(extensions.editFormProps, DEFAULT_PAYMENT_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
|
|
637
649
|
}), mapTo(true));
|
|
638
650
|
}
|
|
639
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
640
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
652
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentInitializer }); }
|
|
641
653
|
}
|
|
642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentInitializer, decorators: [{
|
|
643
655
|
type: Injectable
|
|
644
656
|
}] });
|
|
645
657
|
|
|
@@ -702,11 +714,11 @@ const routes = [
|
|
|
702
714
|
},
|
|
703
715
|
];
|
|
704
716
|
class PaymentAdminRoutingModule {
|
|
705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
706
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
707
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
718
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminRoutingModule, imports: [i1$1.RouterModule] }); }
|
|
719
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminRoutingModule, imports: [RouterModule.forChild(routes)] }); }
|
|
708
720
|
}
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminRoutingModule, decorators: [{
|
|
710
722
|
type: NgModule,
|
|
711
723
|
args: [{
|
|
712
724
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -714,8 +726,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
714
726
|
}] });
|
|
715
727
|
|
|
716
728
|
class PaymentPlansModule {
|
|
717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
718
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
729
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentPlansModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
730
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: PaymentPlansModule, imports: [CommonModule,
|
|
719
731
|
PageModule,
|
|
720
732
|
CoreModule,
|
|
721
733
|
ExtensibleModule,
|
|
@@ -724,7 +736,7 @@ class PaymentPlansModule {
|
|
|
724
736
|
NgxValidateCoreModule,
|
|
725
737
|
AdvancedEntityFiltersModule,
|
|
726
738
|
PaymentPlansComponent] }); }
|
|
727
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
739
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentPlansModule, imports: [CommonModule,
|
|
728
740
|
PageModule,
|
|
729
741
|
CoreModule,
|
|
730
742
|
ExtensibleModule,
|
|
@@ -734,7 +746,7 @@ class PaymentPlansModule {
|
|
|
734
746
|
AdvancedEntityFiltersModule,
|
|
735
747
|
PaymentPlansComponent] }); }
|
|
736
748
|
}
|
|
737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentPlansModule, decorators: [{
|
|
738
750
|
type: NgModule,
|
|
739
751
|
args: [{
|
|
740
752
|
imports: [
|
|
@@ -754,8 +766,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
754
766
|
}] });
|
|
755
767
|
|
|
756
768
|
class GatewayPlansModule {
|
|
757
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
758
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GatewayPlansModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
770
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: GatewayPlansModule, imports: [CommonModule,
|
|
759
771
|
PageModule,
|
|
760
772
|
CoreModule,
|
|
761
773
|
ExtensibleModule,
|
|
@@ -764,7 +776,7 @@ class GatewayPlansModule {
|
|
|
764
776
|
NgxValidateCoreModule,
|
|
765
777
|
AdvancedEntityFiltersModule,
|
|
766
778
|
GatewayPlansComponent] }); }
|
|
767
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
779
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GatewayPlansModule, imports: [CommonModule,
|
|
768
780
|
PageModule,
|
|
769
781
|
CoreModule,
|
|
770
782
|
ExtensibleModule,
|
|
@@ -774,7 +786,7 @@ class GatewayPlansModule {
|
|
|
774
786
|
AdvancedEntityFiltersModule,
|
|
775
787
|
GatewayPlansComponent] }); }
|
|
776
788
|
}
|
|
777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GatewayPlansModule, decorators: [{
|
|
778
790
|
type: NgModule,
|
|
779
791
|
args: [{
|
|
780
792
|
imports: [
|
|
@@ -794,11 +806,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
794
806
|
}] });
|
|
795
807
|
|
|
796
808
|
class SubscriptionTooltipModule {
|
|
797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
798
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
799
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
809
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SubscriptionTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
810
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: SubscriptionTooltipModule, imports: [CommonModule, CoreModule, NgbTooltipModule, SubscriptionTooltipComponent], exports: [SubscriptionTooltipComponent] }); }
|
|
811
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SubscriptionTooltipModule, imports: [CommonModule, CoreModule, NgbTooltipModule] }); }
|
|
800
812
|
}
|
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SubscriptionTooltipModule, decorators: [{
|
|
802
814
|
type: NgModule,
|
|
803
815
|
args: [{
|
|
804
816
|
exports: [SubscriptionTooltipComponent],
|
|
@@ -807,8 +819,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
807
819
|
}] });
|
|
808
820
|
|
|
809
821
|
class RequestsModule {
|
|
810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
811
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
823
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: RequestsModule, imports: [CommonModule,
|
|
812
824
|
PageModule,
|
|
813
825
|
CoreModule,
|
|
814
826
|
ExtensibleModule,
|
|
@@ -819,7 +831,7 @@ class RequestsModule {
|
|
|
819
831
|
SubscriptionTooltipModule,
|
|
820
832
|
RequestsComponent,
|
|
821
833
|
RequestsSearchFormComponent] }); }
|
|
822
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
834
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsModule, imports: [CommonModule,
|
|
823
835
|
PageModule,
|
|
824
836
|
CoreModule,
|
|
825
837
|
ExtensibleModule,
|
|
@@ -831,7 +843,7 @@ class RequestsModule {
|
|
|
831
843
|
RequestsComponent,
|
|
832
844
|
RequestsSearchFormComponent] }); }
|
|
833
845
|
}
|
|
834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RequestsModule, decorators: [{
|
|
835
847
|
type: NgModule,
|
|
836
848
|
args: [{
|
|
837
849
|
imports: [
|
|
@@ -851,15 +863,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
851
863
|
}] });
|
|
852
864
|
|
|
853
865
|
class ProductsModule {
|
|
854
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
855
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
866
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ProductsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
867
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: ProductsModule, imports: [CommonModule,
|
|
856
868
|
PageModule,
|
|
857
869
|
CoreModule,
|
|
858
870
|
ExtensibleModule,
|
|
859
871
|
ThemeSharedModule,
|
|
860
872
|
SubscriptionTooltipModule,
|
|
861
873
|
ProductsComponent] }); }
|
|
862
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
874
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ProductsModule, imports: [CommonModule,
|
|
863
875
|
PageModule,
|
|
864
876
|
CoreModule,
|
|
865
877
|
ExtensibleModule,
|
|
@@ -867,7 +879,7 @@ class ProductsModule {
|
|
|
867
879
|
SubscriptionTooltipModule,
|
|
868
880
|
ProductsComponent] }); }
|
|
869
881
|
}
|
|
870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ProductsModule, decorators: [{
|
|
871
883
|
type: NgModule,
|
|
872
884
|
args: [{
|
|
873
885
|
imports: [
|
|
@@ -917,19 +929,19 @@ class PaymentAdminModule {
|
|
|
917
929
|
static forLazy(options = {}) {
|
|
918
930
|
return new LazyModuleFactory(PaymentAdminModule.forChild(options));
|
|
919
931
|
}
|
|
920
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
921
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
932
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
933
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminModule, imports: [PaymentAdminRoutingModule,
|
|
922
934
|
PaymentPlansModule,
|
|
923
935
|
GatewayPlansModule,
|
|
924
936
|
RequestsModule,
|
|
925
937
|
ProductsModule] }); }
|
|
926
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
938
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminModule, imports: [PaymentAdminRoutingModule,
|
|
927
939
|
PaymentPlansModule,
|
|
928
940
|
GatewayPlansModule,
|
|
929
941
|
RequestsModule,
|
|
930
942
|
ProductsModule] }); }
|
|
931
943
|
}
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PaymentAdminModule, decorators: [{
|
|
933
945
|
type: NgModule,
|
|
934
946
|
args: [{
|
|
935
947
|
imports: [
|