@volo/abp.ng.payment 5.0.0-rc.1 → 5.1.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/config/package.json +5 -5
- package/admin/package.json +5 -5
- package/esm2020/admin/components/gateway-plans/gateway-plans.component.mjs +101 -0
- package/esm2020/admin/components/gateway-plans/gateway-plans.module.mjs +51 -0
- package/esm2020/admin/components/gateway-plans/index.mjs +3 -0
- package/esm2020/admin/components/index.mjs +3 -0
- package/esm2020/admin/components/plans/index.mjs +3 -0
- package/esm2020/admin/components/plans/plans.component.mjs +100 -0
- package/esm2020/admin/components/plans/plans.module.mjs +51 -0
- package/esm2020/admin/components/products/products.component.mjs +59 -0
- package/esm2020/admin/components/products/products.module.mjs +41 -0
- package/esm2020/admin/components/requests/requests-search-form/requests-search-form.component.mjs +33 -0
- package/esm2020/admin/components/requests/requests.component.mjs +46 -0
- package/esm2020/admin/components/requests/requests.module.mjs +54 -0
- package/esm2020/admin/components/subscription-tooltip/subscription-tooltip.component.mjs +23 -0
- package/esm2020/admin/components/subscription-tooltip/subscription-tooltip.module.mjs +20 -0
- package/esm2020/admin/config/enums/index.mjs +3 -0
- package/esm2020/admin/config/enums/policy-names.mjs +2 -0
- package/esm2020/admin/config/enums/route-names.mjs +2 -0
- package/esm2020/admin/config/payment-admin-config.module.mjs +19 -0
- package/esm2020/admin/config/providers/index.mjs +2 -0
- package/esm2020/admin/config/providers/route.provider.mjs +39 -0
- package/esm2020/admin/config/public-api.mjs +4 -0
- package/esm2020/admin/config/volo-abp.ng.payment-admin-config.mjs +5 -0
- package/esm2020/admin/defaults/gateway-plans/default-gateway-plans-entity-actions.mjs +21 -0
- package/esm2020/admin/defaults/gateway-plans/default-gateway-plans-entity-props.mjs +16 -0
- package/esm2020/admin/defaults/gateway-plans/default-gateway-plans-form-props.mjs +40 -0
- package/esm2020/admin/defaults/gateway-plans/default-gateway-plans-toolbar-actions.mjs +14 -0
- package/esm2020/admin/defaults/gateway-plans/index.mjs +3 -0
- package/esm2020/admin/defaults/index.mjs +3 -0
- package/esm2020/admin/defaults/plans/default-plans-entity-actions.mjs +29 -0
- package/esm2020/admin/defaults/plans/default-plans-entity-props.mjs +10 -0
- package/esm2020/admin/defaults/plans/default-plans-form-props.mjs +13 -0
- package/esm2020/admin/defaults/plans/default-plans-toolbar-actions.mjs +14 -0
- package/esm2020/admin/defaults/plans/index.mjs +5 -0
- package/esm2020/admin/defaults/products/default-products-entity-props.mjs +43 -0
- package/esm2020/admin/defaults/products/index.mjs +2 -0
- package/esm2020/admin/defaults/requests/default-requests-entity-actions.mjs +13 -0
- package/esm2020/admin/defaults/requests/default-requests-entity-props.mjs +44 -0
- package/esm2020/admin/enums/components.mjs +2 -0
- package/esm2020/admin/enums/index.mjs +2 -0
- package/esm2020/admin/models/config-options.mjs +2 -0
- package/esm2020/admin/models/index.mjs +2 -0
- package/esm2020/admin/models/subscription-tooltip-data.mjs +2 -0
- package/esm2020/admin/payment-admin-routing.module.mjs +80 -0
- package/esm2020/admin/payment-admin.module.mjs +70 -0
- package/esm2020/admin/payment.initializer.mjs +36 -0
- package/esm2020/admin/public-api.mjs +9 -0
- package/esm2020/admin/tokens/extensions.token.mjs +41 -0
- package/esm2020/admin/tokens/index.mjs +2 -0
- package/esm2020/admin/utils/get-subscription-status.mjs +5 -0
- package/esm2020/admin/volo-abp.ng.payment-admin.mjs +5 -0
- package/esm2020/proxy/lib/index.mjs +6 -0
- package/esm2020/proxy/lib/proxy/admin/plans/index.mjs +3 -0
- package/esm2020/proxy/lib/proxy/admin/plans/models.mjs +2 -0
- package/esm2020/proxy/lib/proxy/admin/plans/plan-admin.service.mjs +62 -0
- package/esm2020/proxy/lib/proxy/admin/requests/index.mjs +3 -0
- package/esm2020/proxy/lib/proxy/admin/requests/models.mjs +2 -0
- package/esm2020/proxy/lib/proxy/admin/requests/payment-request-admin.service.mjs +28 -0
- package/esm2020/proxy/lib/proxy/gateways/gateway.service.mjs +27 -0
- package/esm2020/proxy/lib/proxy/gateways/index.mjs +3 -0
- package/esm2020/proxy/lib/proxy/gateways/models.mjs +2 -0
- package/esm2020/proxy/lib/proxy/plans/index.mjs +3 -0
- package/esm2020/proxy/lib/proxy/plans/models.mjs +2 -0
- package/esm2020/proxy/lib/proxy/plans/plan.service.mjs +27 -0
- package/esm2020/proxy/lib/proxy/requests/index.mjs +4 -0
- package/esm2020/proxy/lib/proxy/requests/models.mjs +2 -0
- package/esm2020/proxy/lib/proxy/requests/payment-request-state.enum.mjs +10 -0
- package/esm2020/proxy/lib/proxy/requests/payment-type.enum.mjs +8 -0
- package/esm2020/proxy/public-api.mjs +2 -0
- package/esm2020/proxy/volo-abp.ng.payment-proxy.mjs +5 -0
- package/esm2020/public-api.mjs +2 -0
- package/esm2020/volo-abp.ng.payment.mjs +5 -0
- package/fesm2015/{volo-abp.ng.payment-admin-config.js → volo-abp.ng.payment-admin-config.mjs} +5 -5
- package/fesm2015/volo-abp.ng.payment-admin-config.mjs.map +1 -0
- package/fesm2015/volo-abp.ng.payment-admin.mjs +909 -0
- package/fesm2015/volo-abp.ng.payment-admin.mjs.map +1 -0
- package/fesm2015/{volo-abp.ng.payment-proxy.js → volo-abp.ng.payment-proxy.mjs} +15 -15
- package/fesm2015/volo-abp.ng.payment-proxy.mjs.map +1 -0
- package/fesm2015/volo-abp.ng.payment.mjs +4 -0
- package/fesm2015/volo-abp.ng.payment.mjs.map +1 -0
- package/fesm2020/volo-abp.ng.payment-admin-config.mjs +63 -0
- package/fesm2020/volo-abp.ng.payment-admin-config.mjs.map +1 -0
- package/{fesm2015/volo-abp.ng.payment-admin.js → fesm2020/volo-abp.ng.payment-admin.mjs} +235 -260
- package/fesm2020/volo-abp.ng.payment-admin.mjs.map +1 -0
- package/fesm2020/volo-abp.ng.payment-proxy.mjs +155 -0
- package/fesm2020/volo-abp.ng.payment-proxy.mjs.map +1 -0
- package/fesm2020/volo-abp.ng.payment.mjs +4 -0
- package/fesm2020/volo-abp.ng.payment.mjs.map +1 -0
- package/package.json +46 -11
- package/proxy/package.json +5 -5
- package/proxy/src/lib/proxy/README.md +17 -0
- package/bundles/volo-abp.ng.payment-admin-config.umd.js +0 -1
- package/bundles/volo-abp.ng.payment-admin.umd.js +0 -1
- package/bundles/volo-abp.ng.payment-proxy.umd.js +0 -1
- package/bundles/volo-abp.ng.payment.umd.js +0 -1
- package/esm2015/admin/components/gateway-plans/gateway-plans.component.js +0 -1
- package/esm2015/admin/components/gateway-plans/gateway-plans.module.js +0 -1
- package/esm2015/admin/components/gateway-plans/index.js +0 -1
- package/esm2015/admin/components/index.js +0 -1
- package/esm2015/admin/components/plans/index.js +0 -1
- package/esm2015/admin/components/plans/plans.component.js +0 -1
- package/esm2015/admin/components/plans/plans.module.js +0 -1
- package/esm2015/admin/components/products/products.component.js +0 -1
- package/esm2015/admin/components/products/products.module.js +0 -1
- package/esm2015/admin/components/requests/requests-search-form/requests-search-form.component.js +0 -1
- package/esm2015/admin/components/requests/requests.component.js +0 -1
- package/esm2015/admin/components/requests/requests.module.js +0 -1
- package/esm2015/admin/components/subscription-tooltip/subscription-tooltip.component.js +0 -1
- package/esm2015/admin/components/subscription-tooltip/subscription-tooltip.module.js +0 -1
- package/esm2015/admin/config/enums/index.js +0 -1
- package/esm2015/admin/config/enums/policy-names.js +0 -1
- package/esm2015/admin/config/enums/route-names.js +0 -1
- package/esm2015/admin/config/payment-admin-config.module.js +0 -1
- package/esm2015/admin/config/providers/index.js +0 -1
- package/esm2015/admin/config/providers/route.provider.js +0 -1
- package/esm2015/admin/config/public-api.js +0 -1
- package/esm2015/admin/config/volo-abp.ng.payment-admin-config.js +0 -1
- package/esm2015/admin/defaults/gateway-plans/default-gateway-plans-entity-actions.js +0 -1
- package/esm2015/admin/defaults/gateway-plans/default-gateway-plans-entity-props.js +0 -1
- package/esm2015/admin/defaults/gateway-plans/default-gateway-plans-form-props.js +0 -1
- package/esm2015/admin/defaults/gateway-plans/default-gateway-plans-toolbar-actions.js +0 -1
- package/esm2015/admin/defaults/gateway-plans/index.js +0 -1
- package/esm2015/admin/defaults/index.js +0 -1
- package/esm2015/admin/defaults/plans/default-plans-entity-actions.js +0 -1
- package/esm2015/admin/defaults/plans/default-plans-entity-props.js +0 -1
- package/esm2015/admin/defaults/plans/default-plans-form-props.js +0 -1
- package/esm2015/admin/defaults/plans/default-plans-toolbar-actions.js +0 -1
- package/esm2015/admin/defaults/plans/index.js +0 -1
- package/esm2015/admin/defaults/products/default-products-entity-props.js +0 -1
- package/esm2015/admin/defaults/products/index.js +0 -1
- package/esm2015/admin/defaults/requests/default-requests-entity-actions.js +0 -1
- package/esm2015/admin/defaults/requests/default-requests-entity-props.js +0 -1
- package/esm2015/admin/enums/components.js +0 -1
- package/esm2015/admin/enums/index.js +0 -1
- package/esm2015/admin/models/config-options.js +0 -1
- package/esm2015/admin/models/index.js +0 -1
- package/esm2015/admin/models/subscription-tooltip-data.js +0 -1
- package/esm2015/admin/payment-admin-routing.module.js +0 -1
- package/esm2015/admin/payment-admin.module.js +0 -1
- package/esm2015/admin/payment.initializer.js +0 -1
- package/esm2015/admin/public-api.js +0 -1
- package/esm2015/admin/tokens/extensions.token.js +0 -1
- package/esm2015/admin/tokens/index.js +0 -1
- package/esm2015/admin/utils/get-subscription-status.js +0 -1
- package/esm2015/admin/volo-abp.ng.payment-admin.js +0 -1
- package/esm2015/proxy/lib/index.js +0 -1
- package/esm2015/proxy/lib/proxy/admin/plans/index.js +0 -1
- package/esm2015/proxy/lib/proxy/admin/plans/models.js +0 -1
- package/esm2015/proxy/lib/proxy/admin/plans/plan-admin.service.js +0 -1
- package/esm2015/proxy/lib/proxy/admin/requests/index.js +0 -1
- package/esm2015/proxy/lib/proxy/admin/requests/models.js +0 -1
- package/esm2015/proxy/lib/proxy/admin/requests/payment-request-admin.service.js +0 -1
- package/esm2015/proxy/lib/proxy/gateways/gateway.service.js +0 -1
- package/esm2015/proxy/lib/proxy/gateways/index.js +0 -1
- package/esm2015/proxy/lib/proxy/gateways/models.js +0 -1
- package/esm2015/proxy/lib/proxy/plans/index.js +0 -1
- package/esm2015/proxy/lib/proxy/plans/models.js +0 -1
- package/esm2015/proxy/lib/proxy/plans/plan.service.js +0 -1
- package/esm2015/proxy/lib/proxy/requests/index.js +0 -1
- package/esm2015/proxy/lib/proxy/requests/models.js +0 -1
- package/esm2015/proxy/lib/proxy/requests/payment-request-state.enum.js +0 -1
- package/esm2015/proxy/lib/proxy/requests/payment-type.enum.js +0 -1
- package/esm2015/proxy/public-api.js +0 -1
- package/esm2015/proxy/volo-abp.ng.payment-proxy.js +0 -1
- package/esm2015/public-api.js +0 -1
- package/esm2015/volo-abp.ng.payment.js +0 -1
- package/fesm2015/volo-abp.ng.payment.js +0 -4
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation,
|
|
2
|
+
import { Component, ViewEncapsulation, EventEmitter, Input, Output, Inject, InjectionToken, Injectable, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@abp/ng.core';
|
|
4
|
-
import { ListService, ConfigStateService,
|
|
4
|
+
import { ListService, ConfigStateService, RouterOutletComponent, AuthGuard, PermissionGuard, ReplaceableRouteContainerComponent, CoreModule, LazyModuleFactory } from '@abp/ng.core';
|
|
5
5
|
import * as i3$1 from '@angular/router';
|
|
6
6
|
import { RouterModule } from '@angular/router';
|
|
7
|
-
import * as i7 from '@abp/ng.theme.shared/extensions';
|
|
8
|
-
import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, FormProp, ToolbarAction, PROP_DATA_STREAM, DateAdapter, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
|
|
9
|
-
import { take, finalize, map, tap, mapTo } from 'rxjs/operators';
|
|
10
7
|
import * as i3 from '@abp/ng.theme.shared';
|
|
11
8
|
import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
9
|
+
import * as i6 from '@abp/ng.theme.shared/extensions';
|
|
10
|
+
import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, DateAdapter, EntityAction, EntityProp, FormProp, ToolbarAction, PROP_DATA_STREAM, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
|
|
12
11
|
import * as i2 from '@volo/abp.ng.payment/proxy';
|
|
13
|
-
import { PlanAdminService,
|
|
12
|
+
import { PlanAdminService, paymentTypeOptions, paymentRequestStateOptions, GatewayService, PaymentType } from '@volo/abp.ng.payment/proxy';
|
|
13
|
+
import { take, finalize, map, tap, mapTo } from 'rxjs/operators';
|
|
14
14
|
import * as i4 from '@abp/ng.components/page';
|
|
15
15
|
import { PageModule } from '@abp/ng.components/page';
|
|
16
16
|
import * as i5 from '@volo/abp.commercial.ng.ui';
|
|
@@ -21,10 +21,10 @@ import * as i1$1 from '@angular/forms';
|
|
|
21
21
|
import { Validators, ReactiveFormsModule } from '@angular/forms';
|
|
22
22
|
import * as i10 from '@ngx-validate/core';
|
|
23
23
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
24
|
-
import * as i4$1 from 'rxjs';
|
|
25
|
-
import { of } from 'rxjs';
|
|
26
24
|
import * as i2$1 from '@ng-bootstrap/ng-bootstrap';
|
|
27
25
|
import { NgbDateAdapter, NgbTooltipModule, NgbDatepickerModule } from '@ng-bootstrap/ng-bootstrap';
|
|
26
|
+
import * as i4$1 from 'rxjs';
|
|
27
|
+
import { of } from 'rxjs';
|
|
28
28
|
|
|
29
29
|
class GatewayPlansComponent {
|
|
30
30
|
constructor(planService, list, injector, confirmationService, activatedRoute) {
|
|
@@ -90,30 +90,209 @@ class GatewayPlansComponent {
|
|
|
90
90
|
this.form = generateFormFromProps(data);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
GatewayPlansComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
GatewayPlansComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
93
|
+
GatewayPlansComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: GatewayPlansComponent, deps: [{ token: i2.PlanService }, { token: i1.ListService }, { token: i0.Injector }, { token: i3.ConfirmationService }, { token: i3$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
GatewayPlansComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: GatewayPlansComponent, selector: "abp-gateway-plans", providers: [
|
|
95
95
|
ListService,
|
|
96
96
|
{
|
|
97
97
|
provide: EXTENSIONS_IDENTIFIER,
|
|
98
98
|
useValue: "Payment.GatewayPlans" /* GatewayPlans */,
|
|
99
99
|
},
|
|
100
|
-
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let data\">\n <abp-page [title]=\"'Payment::GatewayPlans' | abpLocalization\" [toolbar]=\"data.items\">\n <abp-advanced-entity-filters\n localizationSourceName=\"Payment\"\n [list]=\"list\"\n ></abp-advanced-entity-filters>\n\n <div class=\"card\">\n <div class=\"card-body\">\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\n <ng-template #abpHeader>\n <h3>\n {{ (selected?.gateway ? 'Payment::Edit' : 'Payment::NewGatewayPlan') | abpLocalization }}\n </h3>\n </ng-template>\n\n <ng-template #abpBody>\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\n </form>\n </ng-template>\n\n <ng-template #abpFooter>\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\n {{ 'AbpUi::Cancel' | abpLocalization }}\n </button>\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\n 'AbpUi::Save' | abpLocalization\n }}</abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i5.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type:
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
100
|
+
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let 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-secondary\" 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</ng-container>\r\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i5.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type: i6.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { type: i6.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { type: i3.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i10.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i3.ModalCloseDirective, selector: "[abpClose]" }], pipes: { "async": i8.AsyncPipe, "abpLocalization": i1.LocalizationPipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: GatewayPlansComponent, decorators: [{
|
|
102
102
|
type: Component,
|
|
103
|
-
args: [{
|
|
104
|
-
selector: 'abp-gateway-plans',
|
|
105
|
-
templateUrl: './gateway-plans.component.html',
|
|
106
|
-
encapsulation: ViewEncapsulation.None,
|
|
107
|
-
providers: [
|
|
103
|
+
args: [{ selector: 'abp-gateway-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
108
104
|
ListService,
|
|
109
105
|
{
|
|
110
106
|
provide: EXTENSIONS_IDENTIFIER,
|
|
111
107
|
useValue: "Payment.GatewayPlans" /* GatewayPlans */,
|
|
112
108
|
},
|
|
113
|
-
],
|
|
114
|
-
}]
|
|
109
|
+
], template: "<ng-container *ngIf=\"data$ | async; let 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-secondary\" 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</ng-container>\r\n" }]
|
|
115
110
|
}], ctorParameters: function () { return [{ type: i2.PlanService }, { type: i1.ListService }, { type: i0.Injector }, { type: i3.ConfirmationService }, { type: i3$1.ActivatedRoute }]; } });
|
|
116
111
|
|
|
112
|
+
class PaymentPlansComponent {
|
|
113
|
+
constructor(list, injector, confirmationService, router, activatedRoute) {
|
|
114
|
+
this.list = list;
|
|
115
|
+
this.injector = injector;
|
|
116
|
+
this.confirmationService = confirmationService;
|
|
117
|
+
this.router = router;
|
|
118
|
+
this.activatedRoute = activatedRoute;
|
|
119
|
+
this.isModalVisible = false;
|
|
120
|
+
this.modalBusy = false;
|
|
121
|
+
this.service = injector.get(PlanAdminService);
|
|
122
|
+
this.data$ = this.list.hookToQuery(this.service.getList);
|
|
123
|
+
}
|
|
124
|
+
onEdit(id) {
|
|
125
|
+
this.service
|
|
126
|
+
.get(id)
|
|
127
|
+
.pipe(take(1))
|
|
128
|
+
.subscribe(selectedPlan => {
|
|
129
|
+
this.selected = selectedPlan;
|
|
130
|
+
this.openModal();
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
goToGatewayPlans(id) {
|
|
134
|
+
this.router.navigate(['./', id], { relativeTo: this.activatedRoute });
|
|
135
|
+
}
|
|
136
|
+
onDelete(id, name) {
|
|
137
|
+
this.confirmationService
|
|
138
|
+
.warn('Payment::PlanDeletionConfirmationMessage', 'AbpUi::AreYouSure', {
|
|
139
|
+
messageLocalizationParams: [name],
|
|
140
|
+
})
|
|
141
|
+
.subscribe((status) => {
|
|
142
|
+
if (status === Confirmation.Status.confirm) {
|
|
143
|
+
this.service.delete(id).subscribe(() => this.list.get());
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
onAdd() {
|
|
148
|
+
this.selected = {};
|
|
149
|
+
this.openModal();
|
|
150
|
+
}
|
|
151
|
+
openModal() {
|
|
152
|
+
this.createForm();
|
|
153
|
+
this.isModalVisible = true;
|
|
154
|
+
}
|
|
155
|
+
save() {
|
|
156
|
+
if (!this.form.valid)
|
|
157
|
+
return;
|
|
158
|
+
this.modalBusy = true;
|
|
159
|
+
let stream;
|
|
160
|
+
if (this.selected.id) {
|
|
161
|
+
stream = this.service.update(this.selected.id, this.form.value);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
stream = this.service.create(this.form.value);
|
|
165
|
+
}
|
|
166
|
+
stream.pipe(finalize(() => (this.modalBusy = false))).subscribe(() => {
|
|
167
|
+
this.list.get();
|
|
168
|
+
this.isModalVisible = false;
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
createForm() {
|
|
172
|
+
const data = new FormPropData(this.injector, this.selected);
|
|
173
|
+
this.form = generateFormFromProps(data);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
PaymentPlansComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentPlansComponent, deps: [{ token: i1.ListService }, { token: i0.Injector }, { token: i3.ConfirmationService }, { token: i3$1.Router }, { token: i3$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
177
|
+
PaymentPlansComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: PaymentPlansComponent, selector: "abp-payment-plans", providers: [
|
|
178
|
+
ListService,
|
|
179
|
+
{
|
|
180
|
+
provide: EXTENSIONS_IDENTIFIER,
|
|
181
|
+
useValue: "Payment.Plans" /* Plans */,
|
|
182
|
+
},
|
|
183
|
+
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let 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-secondary\" 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</ng-container>\r\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i5.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type: i6.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { type: i6.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { type: i3.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i10.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i3.ModalCloseDirective, selector: "[abpClose]" }], pipes: { "async": i8.AsyncPipe, "abpLocalization": i1.LocalizationPipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentPlansComponent, decorators: [{
|
|
185
|
+
type: Component,
|
|
186
|
+
args: [{ selector: 'abp-payment-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
187
|
+
ListService,
|
|
188
|
+
{
|
|
189
|
+
provide: EXTENSIONS_IDENTIFIER,
|
|
190
|
+
useValue: "Payment.Plans" /* Plans */,
|
|
191
|
+
},
|
|
192
|
+
], template: "<ng-container *ngIf=\"data$ | async; let 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-secondary\" 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</ng-container>\r\n" }]
|
|
193
|
+
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i0.Injector }, { type: i3.ConfirmationService }, { type: i3$1.Router }, { type: i3$1.ActivatedRoute }]; } });
|
|
194
|
+
|
|
195
|
+
class ProductsComponent {
|
|
196
|
+
constructor(route, service, list) {
|
|
197
|
+
this.route = route;
|
|
198
|
+
this.service = service;
|
|
199
|
+
this.list = list;
|
|
200
|
+
this.data = [];
|
|
201
|
+
this.breadCrumbItems = [
|
|
202
|
+
{
|
|
203
|
+
name: "Payment::Menu:PaymentManagement" /* Payment */,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: "Payment::Menu:PaymentRequests" /* Requests */,
|
|
207
|
+
path: '/payment/requests',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: this.requestId,
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: 'Payment::Products',
|
|
214
|
+
},
|
|
215
|
+
];
|
|
216
|
+
list.hookToQuery(() => this.service.get(this.requestId).pipe(map(request => request.products))).subscribe((data) => (this.data = data));
|
|
217
|
+
}
|
|
218
|
+
get requestId() {
|
|
219
|
+
return this.route.snapshot.params.requestId;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
ProductsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ProductsComponent, deps: [{ token: i3$1.ActivatedRoute }, { token: i2.PaymentRequestAdminService }, { token: i1.ListService }], target: i0.ɵɵFactoryTarget.Component });
|
|
223
|
+
ProductsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ProductsComponent, selector: "abp-products", providers: [
|
|
224
|
+
ListService,
|
|
225
|
+
{
|
|
226
|
+
provide: EXTENSIONS_IDENTIFIER,
|
|
227
|
+
useValue: "Payment.Products" /* Products */,
|
|
228
|
+
},
|
|
229
|
+
], 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", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i4.PageBreadcrumbContainerComponent, selector: "abp-page-breadcrumb-container" }, { type: i3.BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }, { type: i6.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ProductsComponent, decorators: [{
|
|
231
|
+
type: Component,
|
|
232
|
+
args: [{ selector: 'abp-products', providers: [
|
|
233
|
+
ListService,
|
|
234
|
+
{
|
|
235
|
+
provide: EXTENSIONS_IDENTIFIER,
|
|
236
|
+
useValue: "Payment.Products" /* Products */,
|
|
237
|
+
},
|
|
238
|
+
], 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: function () { return [{ type: i3$1.ActivatedRoute }, { type: i2.PaymentRequestAdminService }, { type: i1.ListService }]; } });
|
|
240
|
+
|
|
241
|
+
class RequestsSearchFormComponent {
|
|
242
|
+
constructor() {
|
|
243
|
+
this.pageQueryChange = new EventEmitter();
|
|
244
|
+
this.paymentTypes = paymentTypeOptions;
|
|
245
|
+
this.states = paymentRequestStateOptions;
|
|
246
|
+
}
|
|
247
|
+
emit() {
|
|
248
|
+
this.pageQueryChange.emit(this.pageQuery);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
RequestsSearchFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsSearchFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
252
|
+
RequestsSearchFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", 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 <option *ngFor=\"let paymentType of paymentTypes\" [ngValue]=\"paymentType.value\">\r\n {{ paymentType.key }}\r\n </option>\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 <option *ngFor=\"let state of states\" [ngValue]=\"state.value\">\r\n {{ state.key }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n", directives: [{ type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2$1.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsSearchFormComponent, decorators: [{
|
|
254
|
+
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 <option *ngFor=\"let paymentType of paymentTypes\" [ngValue]=\"paymentType.value\">\r\n {{ paymentType.key }}\r\n </option>\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 <option *ngFor=\"let state of states\" [ngValue]=\"state.value\">\r\n {{ state.key }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
|
|
256
|
+
}], propDecorators: { list: [{
|
|
257
|
+
type: Input
|
|
258
|
+
}], pageQuery: [{
|
|
259
|
+
type: Input
|
|
260
|
+
}], pageQueryChange: [{
|
|
261
|
+
type: Output
|
|
262
|
+
}] } });
|
|
263
|
+
|
|
264
|
+
class RequestsComponent {
|
|
265
|
+
constructor(list, paymentRequestAdminService, router, route) {
|
|
266
|
+
this.list = list;
|
|
267
|
+
this.paymentRequestAdminService = paymentRequestAdminService;
|
|
268
|
+
this.router = router;
|
|
269
|
+
this.route = route;
|
|
270
|
+
this.pageQuery = {};
|
|
271
|
+
this.data$ = this.list.hookToQuery(query => this.paymentRequestAdminService.getList({ ...query, ...this.pageQuery }));
|
|
272
|
+
}
|
|
273
|
+
goToProducts(id) {
|
|
274
|
+
this.router.navigate([id, 'products'], { relativeTo: this.route });
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
RequestsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsComponent, deps: [{ token: i1.ListService }, { token: i2.PaymentRequestAdminService }, { token: i3$1.Router }, { token: i3$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
278
|
+
RequestsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: RequestsComponent, selector: "abp-payment-requests", providers: [
|
|
279
|
+
ListService,
|
|
280
|
+
{
|
|
281
|
+
provide: EXTENSIONS_IDENTIFIER,
|
|
282
|
+
useValue: "Payment.Requests" /* Requests */,
|
|
283
|
+
},
|
|
284
|
+
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let 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 >\r\n <abp-advanced-entity-filters-above-search>\r\n <abp-payment-requests-search-form [(pageQuery)]=\"pageQuery\"></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</ng-container>\r\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i5.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type: i5.AdvancedEntityFiltersAboveSearchComponent, selector: "abp-advanced-entity-filters-above-search" }, { type: RequestsSearchFormComponent, selector: "abp-payment-requests-search-form", inputs: ["list", "pageQuery"], outputs: ["pageQueryChange"] }, { type: i6.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i8.AsyncPipe, "abpLocalization": i1.LocalizationPipe } });
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsComponent, decorators: [{
|
|
286
|
+
type: Component,
|
|
287
|
+
args: [{ selector: 'abp-payment-requests', providers: [
|
|
288
|
+
ListService,
|
|
289
|
+
{
|
|
290
|
+
provide: EXTENSIONS_IDENTIFIER,
|
|
291
|
+
useValue: "Payment.Requests" /* Requests */,
|
|
292
|
+
},
|
|
293
|
+
], template: "<ng-container *ngIf=\"data$ | async; let 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 >\r\n <abp-advanced-entity-filters-above-search>\r\n <abp-payment-requests-search-form [(pageQuery)]=\"pageQuery\"></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</ng-container>\r\n" }]
|
|
294
|
+
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i2.PaymentRequestAdminService }, { type: i3$1.Router }, { type: i3$1.ActivatedRoute }]; } });
|
|
295
|
+
|
|
117
296
|
const DEFAULT_GATEWAY_PLANS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
118
297
|
{
|
|
119
298
|
text: 'Payment::Edit',
|
|
@@ -196,94 +375,6 @@ const DEFAULT_GATEWAY_PLANS_TOOLBAR_ACTIONS = ToolbarAction.createMany([
|
|
|
196
375
|
},
|
|
197
376
|
]);
|
|
198
377
|
|
|
199
|
-
class PaymentPlansComponent {
|
|
200
|
-
constructor(list, injector, confirmationService, router, activatedRoute) {
|
|
201
|
-
this.list = list;
|
|
202
|
-
this.injector = injector;
|
|
203
|
-
this.confirmationService = confirmationService;
|
|
204
|
-
this.router = router;
|
|
205
|
-
this.activatedRoute = activatedRoute;
|
|
206
|
-
this.isModalVisible = false;
|
|
207
|
-
this.modalBusy = false;
|
|
208
|
-
this.service = injector.get(PlanAdminService);
|
|
209
|
-
this.data$ = this.list.hookToQuery(this.service.getList);
|
|
210
|
-
}
|
|
211
|
-
onEdit(id) {
|
|
212
|
-
this.service
|
|
213
|
-
.get(id)
|
|
214
|
-
.pipe(take(1))
|
|
215
|
-
.subscribe(selectedPlan => {
|
|
216
|
-
this.selected = selectedPlan;
|
|
217
|
-
this.openModal();
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
goToGatewayPlans(id) {
|
|
221
|
-
this.router.navigate(['./', id], { relativeTo: this.activatedRoute });
|
|
222
|
-
}
|
|
223
|
-
onDelete(id, name) {
|
|
224
|
-
this.confirmationService
|
|
225
|
-
.warn('Payment::PlanDeletionConfirmationMessage', 'AbpUi::AreYouSure', {
|
|
226
|
-
messageLocalizationParams: [name],
|
|
227
|
-
})
|
|
228
|
-
.subscribe((status) => {
|
|
229
|
-
if (status === Confirmation.Status.confirm) {
|
|
230
|
-
this.service.delete(id).subscribe(() => this.list.get());
|
|
231
|
-
}
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
onAdd() {
|
|
235
|
-
this.selected = {};
|
|
236
|
-
this.openModal();
|
|
237
|
-
}
|
|
238
|
-
openModal() {
|
|
239
|
-
this.createForm();
|
|
240
|
-
this.isModalVisible = true;
|
|
241
|
-
}
|
|
242
|
-
save() {
|
|
243
|
-
if (!this.form.valid)
|
|
244
|
-
return;
|
|
245
|
-
this.modalBusy = true;
|
|
246
|
-
let stream;
|
|
247
|
-
if (this.selected.id) {
|
|
248
|
-
stream = this.service.update(this.selected.id, this.form.value);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
stream = this.service.create(this.form.value);
|
|
252
|
-
}
|
|
253
|
-
stream.pipe(finalize(() => (this.modalBusy = false))).subscribe(() => {
|
|
254
|
-
this.list.get();
|
|
255
|
-
this.isModalVisible = false;
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
createForm() {
|
|
259
|
-
const data = new FormPropData(this.injector, this.selected);
|
|
260
|
-
this.form = generateFormFromProps(data);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
PaymentPlansComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: PaymentPlansComponent, deps: [{ token: i1.ListService }, { token: i0.Injector }, { token: i3.ConfirmationService }, { token: i3$1.Router }, { token: i3$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
264
|
-
PaymentPlansComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: PaymentPlansComponent, selector: "abp-payment-plans", providers: [
|
|
265
|
-
ListService,
|
|
266
|
-
{
|
|
267
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
268
|
-
useValue: "Payment.Plans" /* Plans */,
|
|
269
|
-
},
|
|
270
|
-
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let data\">\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\n <abp-advanced-entity-filters\n localizationSourceName=\"Payment\"\n [list]=\"list\"\n ></abp-advanced-entity-filters>\n\n <div class=\"card\">\n <div class=\"card-body\">\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\n <ng-template #abpHeader>\n <h3>{{ (selected?.id ? 'Payment::Edit' : 'Payment::NewPlan') | abpLocalization }}</h3>\n </ng-template>\n\n <ng-template #abpBody>\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\n </form>\n </ng-template>\n\n <ng-template #abpFooter>\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\n {{ 'AbpUi::Cancel' | abpLocalization }}\n </button>\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\n 'AbpUi::Save' | abpLocalization\n }}</abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i5.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type: i7.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { type: i7.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { type: i3.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i10.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }, { type: i3.ModalCloseDirective, selector: "[abpClose]" }], pipes: { "async": i8.AsyncPipe, "abpLocalization": i1.LocalizationPipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: PaymentPlansComponent, decorators: [{
|
|
272
|
-
type: Component,
|
|
273
|
-
args: [{
|
|
274
|
-
selector: 'abp-payment-plans',
|
|
275
|
-
templateUrl: './plans.component.html',
|
|
276
|
-
encapsulation: ViewEncapsulation.None,
|
|
277
|
-
providers: [
|
|
278
|
-
ListService,
|
|
279
|
-
{
|
|
280
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
281
|
-
useValue: "Payment.Plans" /* Plans */,
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
}]
|
|
285
|
-
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i0.Injector }, { type: i3.ConfirmationService }, { type: i3$1.Router }, { type: i3$1.ActivatedRoute }]; } });
|
|
286
|
-
|
|
287
378
|
const DEFAULT_PLANS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
288
379
|
{
|
|
289
380
|
text: 'Payment::GatewayPlans',
|
|
@@ -348,14 +439,11 @@ class SubscriptionTooltipComponent {
|
|
|
348
439
|
this.value$ = value$;
|
|
349
440
|
}
|
|
350
441
|
}
|
|
351
|
-
SubscriptionTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
352
|
-
SubscriptionTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
442
|
+
SubscriptionTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionTooltipComponent, deps: [{ token: PROP_DATA_STREAM }], target: i0.ɵɵFactoryTarget.Component });
|
|
443
|
+
SubscriptionTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: SubscriptionTooltipComponent, selector: "abp-subscription-tooltip", ngImport: i0, template: "<ng-container *ngIf=\"value$ | async as value\">\r\n <i\r\n *ngIf=\"value.isSubscription; else valueTmp\"\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 <ng-template #valueTmp>\r\n {{ value.defaultValue }}\r\n </ng-template>\r\n</ng-container>\r\n", directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }], pipes: { "async": i8.AsyncPipe, "abpLocalization": i1.LocalizationPipe } });
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionTooltipComponent, decorators: [{
|
|
354
445
|
type: Component,
|
|
355
|
-
args: [{
|
|
356
|
-
selector: 'abp-subscription-tooltip',
|
|
357
|
-
templateUrl: './subscription-tooltip.component.html',
|
|
358
|
-
}]
|
|
446
|
+
args: [{ selector: 'abp-subscription-tooltip', template: "<ng-container *ngIf=\"value$ | async as value\">\r\n <i\r\n *ngIf=\"value.isSubscription; else valueTmp\"\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 <ng-template #valueTmp>\r\n {{ value.defaultValue }}\r\n </ng-template>\r\n</ng-container>\r\n" }]
|
|
359
447
|
}], ctorParameters: function () { return [{ type: i4$1.Observable, decorators: [{
|
|
360
448
|
type: Inject,
|
|
361
449
|
args: [PROP_DATA_STREAM]
|
|
@@ -404,69 +492,6 @@ const DEFAULT_PAYMENT_PRODUCTS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
404
492
|
},
|
|
405
493
|
]);
|
|
406
494
|
|
|
407
|
-
class RequestsSearchFormComponent {
|
|
408
|
-
constructor() {
|
|
409
|
-
this.pageQueryChange = new EventEmitter();
|
|
410
|
-
this.paymentTypes = paymentTypeOptions;
|
|
411
|
-
this.states = paymentRequestStateOptions;
|
|
412
|
-
}
|
|
413
|
-
emit() {
|
|
414
|
-
this.pageQueryChange.emit(this.pageQuery);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
RequestsSearchFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: RequestsSearchFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
418
|
-
RequestsSearchFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", 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()\">\n <div class=\"row\">\n <div class=\"col-12 col-md-3\">\n <div class=\"form-group\">\n <label for=\"CreationDateMin\">{{\n 'Payment::PaymentRequests:CreationDateMin' | abpLocalization\n }}</label>\n <input\n #dateMin=\"ngbDatepicker\"\n class=\"form-control\"\n id=\"CreationDateMin\"\n name=\"CreationDateMin\"\n readonly\n [(ngModel)]=\"pageQuery.creationDateMin\"\n ngbDatepicker\n (click)=\"dateMin.toggle()\"\n (ngModelChange)=\"emit()\"\n />\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"form-group\">\n <label for=\"CreationDateMax\">{{\n 'Payment::PaymentRequests:CreationDateMax' | abpLocalization\n }}</label>\n <input\n #dateMax=\"ngbDatepicker\"\n class=\"form-control\"\n id=\"CreationDateMax\"\n name=\"CreationDateMax\"\n readonly\n [(ngModel)]=\"pageQuery.creationDateMax\"\n ngbDatepicker\n (click)=\"dateMax.toggle()\"\n (ngModelChange)=\"emit()\"\n />\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"form-group\">\n <label for=\"PaymentType\">{{\n 'Payment::PaymentRequests:PaymentType' | abpLocalization\n }}</label>\n <!-- TODO: BS5 custom select class replace -->\n <select\n class=\"custom-select form-control\"\n id=\"PaymentType\"\n name=\"PaymentType\"\n [(ngModel)]=\"pageQuery.paymentType\"\n (change)=\"list.get()\"\n (ngModelChange)=\"emit()\"\n >\n <option [ngValue]=\"undefined\"></option>\n <option *ngFor=\"let paymentType of paymentTypes\" [ngValue]=\"paymentType.value\">\n {{ paymentType.key }}\n </option>\n </select>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"form-group\">\n <label for=\"PaymentType\">{{ 'Payment::PaymentRequests:Status' | abpLocalization }}</label>\n <!-- TODO: BS5 custom select class replace -->\n <select\n class=\"custom-select form-control\"\n id=\"Status\"\n name=\"Status\"\n [(ngModel)]=\"pageQuery.status\"\n (change)=\"list.get()\"\n (ngModelChange)=\"emit()\"\n >\n <option [ngValue]=\"undefined\"></option>\n <option *ngFor=\"let state of states\" [ngValue]=\"state.value\">\n {{ state.key }}\n </option>\n </select>\n </div>\n </div>\n </div>\n</form>\n", directives: [{ type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2$1.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["disabled", "autoClose", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekdays", "showWeekNumbers", "startDate", "container", "positionTarget"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: RequestsSearchFormComponent, decorators: [{
|
|
420
|
-
type: Component,
|
|
421
|
-
args: [{
|
|
422
|
-
selector: 'abp-payment-requests-search-form',
|
|
423
|
-
templateUrl: './requests-search-form.component.html',
|
|
424
|
-
providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }],
|
|
425
|
-
}]
|
|
426
|
-
}], propDecorators: { list: [{
|
|
427
|
-
type: Input
|
|
428
|
-
}], pageQuery: [{
|
|
429
|
-
type: Input
|
|
430
|
-
}], pageQueryChange: [{
|
|
431
|
-
type: Output
|
|
432
|
-
}] } });
|
|
433
|
-
|
|
434
|
-
class RequestsComponent {
|
|
435
|
-
constructor(list, paymentRequestAdminService, router, route) {
|
|
436
|
-
this.list = list;
|
|
437
|
-
this.paymentRequestAdminService = paymentRequestAdminService;
|
|
438
|
-
this.router = router;
|
|
439
|
-
this.route = route;
|
|
440
|
-
this.pageQuery = {};
|
|
441
|
-
this.data$ = this.list.hookToQuery(query => this.paymentRequestAdminService.getList(Object.assign(Object.assign({}, query), this.pageQuery)));
|
|
442
|
-
}
|
|
443
|
-
goToProducts(id) {
|
|
444
|
-
this.router.navigate([id, 'products'], { relativeTo: this.route });
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
RequestsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: RequestsComponent, deps: [{ token: i1.ListService }, { token: i2.PaymentRequestAdminService }, { token: i3$1.Router }, { token: i3$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
448
|
-
RequestsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: RequestsComponent, selector: "abp-payment-requests", providers: [
|
|
449
|
-
ListService,
|
|
450
|
-
{
|
|
451
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
452
|
-
useValue: "Payment.Requests" /* Requests */,
|
|
453
|
-
},
|
|
454
|
-
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let data\">\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\n <abp-advanced-entity-filters\n localizationSourceName=\"Payment\"\n [list]=\"list\"\n >\n <abp-advanced-entity-filters-above-search>\n <abp-payment-requests-search-form [(pageQuery)]=\"pageQuery\"></abp-payment-requests-search-form>\n </abp-advanced-entity-filters-above-search>\n </abp-advanced-entity-filters>\n\n <div class=\"card\">\n <div class=\"card-body\">\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n</ng-container>\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i5.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type: i5.AdvancedEntityFiltersAboveSearchComponent, selector: "abp-advanced-entity-filters-above-search" }, { type: RequestsSearchFormComponent, selector: "abp-payment-requests-search-form", inputs: ["list", "pageQuery"], outputs: ["pageQueryChange"] }, { type: i7.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i8.AsyncPipe, "abpLocalization": i1.LocalizationPipe } });
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: RequestsComponent, decorators: [{
|
|
456
|
-
type: Component,
|
|
457
|
-
args: [{
|
|
458
|
-
selector: 'abp-payment-requests',
|
|
459
|
-
templateUrl: './requests.component.html',
|
|
460
|
-
providers: [
|
|
461
|
-
ListService,
|
|
462
|
-
{
|
|
463
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
464
|
-
useValue: "Payment.Requests" /* Requests */,
|
|
465
|
-
},
|
|
466
|
-
],
|
|
467
|
-
}]
|
|
468
|
-
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i2.PaymentRequestAdminService }, { type: i3$1.Router }, { type: i3$1.ActivatedRoute }]; } });
|
|
469
|
-
|
|
470
495
|
const DEFAULT_PAYMENT_REQUESTS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
471
496
|
{
|
|
472
497
|
text: 'Payment::Products',
|
|
@@ -571,62 +596,12 @@ class PaymentInitializer {
|
|
|
571
596
|
}), mapTo(true));
|
|
572
597
|
}
|
|
573
598
|
}
|
|
574
|
-
PaymentInitializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
575
|
-
PaymentInitializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
599
|
+
PaymentInitializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentInitializer, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
600
|
+
PaymentInitializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentInitializer });
|
|
601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentInitializer, decorators: [{
|
|
577
602
|
type: Injectable
|
|
578
603
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
579
604
|
|
|
580
|
-
class ProductsComponent {
|
|
581
|
-
constructor(route, service, list) {
|
|
582
|
-
this.route = route;
|
|
583
|
-
this.service = service;
|
|
584
|
-
this.list = list;
|
|
585
|
-
this.data = [];
|
|
586
|
-
this.breadCrumbItems = [
|
|
587
|
-
{
|
|
588
|
-
name: "Payment::Menu:PaymentManagement" /* Payment */,
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
name: "Payment::Menu:PaymentRequests" /* Requests */,
|
|
592
|
-
path: '/payment/requests',
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
name: this.requestId,
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
name: 'Payment::Products',
|
|
599
|
-
},
|
|
600
|
-
];
|
|
601
|
-
list.hookToQuery(() => this.service.get(this.requestId).pipe(map(request => request.products))).subscribe((data) => (this.data = data));
|
|
602
|
-
}
|
|
603
|
-
get requestId() {
|
|
604
|
-
return this.route.snapshot.params.requestId;
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
ProductsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: ProductsComponent, deps: [{ token: i3$1.ActivatedRoute }, { token: i2.PaymentRequestAdminService }, { token: i1.ListService }], target: i0.ɵɵFactoryTarget.Component });
|
|
608
|
-
ProductsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: ProductsComponent, selector: "abp-products", providers: [
|
|
609
|
-
ListService,
|
|
610
|
-
{
|
|
611
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
612
|
-
useValue: "Payment.Products" /* Products */,
|
|
613
|
-
},
|
|
614
|
-
], ngImport: i0, template: "<ng-container>\n <abp-page [title]=\"'Payment::Products' | abpLocalization\" [toolbar]=\"data\">\n <abp-page-breadcrumb-container>\n <abp-breadcrumb-items [items]=\"breadCrumbItems\"></abp-breadcrumb-items>\n </abp-page-breadcrumb-container>\n <div class=\"card\">\n <div class=\"card-body\">\n <abp-extensible-table [list]=\"list\" [data]=\"data\" [recordsTotal]=\"data.length\">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n</ng-container>\n", components: [{ type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i4.PageBreadcrumbContainerComponent, selector: "abp-page-breadcrumb-container" }, { type: i3.BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }, { type: i7.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: ProductsComponent, decorators: [{
|
|
616
|
-
type: Component,
|
|
617
|
-
args: [{
|
|
618
|
-
selector: 'abp-products',
|
|
619
|
-
templateUrl: './products.component.html',
|
|
620
|
-
providers: [
|
|
621
|
-
ListService,
|
|
622
|
-
{
|
|
623
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
624
|
-
useValue: "Payment.Products" /* Products */,
|
|
625
|
-
},
|
|
626
|
-
],
|
|
627
|
-
}]
|
|
628
|
-
}], ctorParameters: function () { return [{ type: i3$1.ActivatedRoute }, { type: i2.PaymentRequestAdminService }, { type: i1.ListService }]; } });
|
|
629
|
-
|
|
630
605
|
const routes = [
|
|
631
606
|
{
|
|
632
607
|
path: '',
|
|
@@ -635,7 +610,7 @@ const routes = [
|
|
|
635
610
|
},
|
|
636
611
|
{
|
|
637
612
|
path: '',
|
|
638
|
-
component:
|
|
613
|
+
component: RouterOutletComponent,
|
|
639
614
|
canActivate: [AuthGuard, PermissionGuard, PaymentInitializer],
|
|
640
615
|
children: [
|
|
641
616
|
{
|
|
@@ -687,10 +662,10 @@ const routes = [
|
|
|
687
662
|
];
|
|
688
663
|
class PaymentAdminRoutingModule {
|
|
689
664
|
}
|
|
690
|
-
PaymentAdminRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
691
|
-
PaymentAdminRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
692
|
-
PaymentAdminRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
665
|
+
PaymentAdminRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
666
|
+
PaymentAdminRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminRoutingModule, imports: [i3$1.RouterModule] });
|
|
667
|
+
PaymentAdminRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminRoutingModule, imports: [[RouterModule.forChild(routes)]] });
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminRoutingModule, decorators: [{
|
|
694
669
|
type: NgModule,
|
|
695
670
|
args: [{
|
|
696
671
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -699,8 +674,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
699
674
|
|
|
700
675
|
class PaymentPlansModule {
|
|
701
676
|
}
|
|
702
|
-
PaymentPlansModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
703
|
-
PaymentPlansModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
677
|
+
PaymentPlansModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentPlansModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
678
|
+
PaymentPlansModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentPlansModule, declarations: [PaymentPlansComponent], imports: [CommonModule,
|
|
704
679
|
PageModule,
|
|
705
680
|
CoreModule,
|
|
706
681
|
UiExtensionsModule,
|
|
@@ -708,7 +683,7 @@ PaymentPlansModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
708
683
|
ReactiveFormsModule,
|
|
709
684
|
NgxValidateCoreModule,
|
|
710
685
|
AdvancedEntityFiltersModule] });
|
|
711
|
-
PaymentPlansModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
686
|
+
PaymentPlansModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentPlansModule, providers: [], imports: [[
|
|
712
687
|
CommonModule,
|
|
713
688
|
PageModule,
|
|
714
689
|
CoreModule,
|
|
@@ -718,7 +693,7 @@ PaymentPlansModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
718
693
|
NgxValidateCoreModule,
|
|
719
694
|
AdvancedEntityFiltersModule,
|
|
720
695
|
]] });
|
|
721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentPlansModule, decorators: [{
|
|
722
697
|
type: NgModule,
|
|
723
698
|
args: [{
|
|
724
699
|
imports: [
|
|
@@ -739,8 +714,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
739
714
|
|
|
740
715
|
class GatewayPlansModule {
|
|
741
716
|
}
|
|
742
|
-
GatewayPlansModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
743
|
-
GatewayPlansModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
717
|
+
GatewayPlansModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: GatewayPlansModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
718
|
+
GatewayPlansModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: GatewayPlansModule, declarations: [GatewayPlansComponent], imports: [CommonModule,
|
|
744
719
|
PageModule,
|
|
745
720
|
CoreModule,
|
|
746
721
|
UiExtensionsModule,
|
|
@@ -748,7 +723,7 @@ GatewayPlansModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
748
723
|
ReactiveFormsModule,
|
|
749
724
|
NgxValidateCoreModule,
|
|
750
725
|
AdvancedEntityFiltersModule] });
|
|
751
|
-
GatewayPlansModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
726
|
+
GatewayPlansModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: GatewayPlansModule, providers: [], imports: [[
|
|
752
727
|
CommonModule,
|
|
753
728
|
PageModule,
|
|
754
729
|
CoreModule,
|
|
@@ -758,7 +733,7 @@ GatewayPlansModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
758
733
|
NgxValidateCoreModule,
|
|
759
734
|
AdvancedEntityFiltersModule,
|
|
760
735
|
]] });
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: GatewayPlansModule, decorators: [{
|
|
762
737
|
type: NgModule,
|
|
763
738
|
args: [{
|
|
764
739
|
imports: [
|
|
@@ -779,10 +754,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
779
754
|
|
|
780
755
|
class SubscriptionTooltipModule {
|
|
781
756
|
}
|
|
782
|
-
SubscriptionTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
783
|
-
SubscriptionTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
784
|
-
SubscriptionTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
757
|
+
SubscriptionTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
758
|
+
SubscriptionTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionTooltipModule, declarations: [SubscriptionTooltipComponent], imports: [CommonModule, CoreModule, NgbTooltipModule], exports: [SubscriptionTooltipComponent] });
|
|
759
|
+
SubscriptionTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionTooltipModule, imports: [[CommonModule, CoreModule, NgbTooltipModule]] });
|
|
760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionTooltipModule, decorators: [{
|
|
786
761
|
type: NgModule,
|
|
787
762
|
args: [{
|
|
788
763
|
declarations: [SubscriptionTooltipComponent],
|
|
@@ -793,8 +768,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
793
768
|
|
|
794
769
|
class RequestsModule {
|
|
795
770
|
}
|
|
796
|
-
RequestsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
797
|
-
RequestsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
771
|
+
RequestsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
772
|
+
RequestsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsModule, declarations: [RequestsComponent, RequestsSearchFormComponent], imports: [CommonModule,
|
|
798
773
|
PageModule,
|
|
799
774
|
CoreModule,
|
|
800
775
|
UiExtensionsModule,
|
|
@@ -803,7 +778,7 @@ RequestsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
803
778
|
AdvancedEntityFiltersModule,
|
|
804
779
|
NgbDatepickerModule,
|
|
805
780
|
SubscriptionTooltipModule] });
|
|
806
|
-
RequestsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
781
|
+
RequestsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsModule, imports: [[
|
|
807
782
|
CommonModule,
|
|
808
783
|
PageModule,
|
|
809
784
|
CoreModule,
|
|
@@ -814,7 +789,7 @@ RequestsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
814
789
|
NgbDatepickerModule,
|
|
815
790
|
SubscriptionTooltipModule,
|
|
816
791
|
]] });
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RequestsModule, decorators: [{
|
|
818
793
|
type: NgModule,
|
|
819
794
|
args: [{
|
|
820
795
|
declarations: [RequestsComponent, RequestsSearchFormComponent],
|
|
@@ -834,14 +809,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
834
809
|
|
|
835
810
|
class ProductsModule {
|
|
836
811
|
}
|
|
837
|
-
ProductsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
838
|
-
ProductsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
812
|
+
ProductsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ProductsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
813
|
+
ProductsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ProductsModule, declarations: [ProductsComponent], imports: [CommonModule,
|
|
839
814
|
PageModule,
|
|
840
815
|
CoreModule,
|
|
841
816
|
UiExtensionsModule,
|
|
842
817
|
ThemeSharedModule,
|
|
843
818
|
SubscriptionTooltipModule] });
|
|
844
|
-
ProductsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
819
|
+
ProductsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ProductsModule, imports: [[
|
|
845
820
|
CommonModule,
|
|
846
821
|
PageModule,
|
|
847
822
|
CoreModule,
|
|
@@ -849,7 +824,7 @@ ProductsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
849
824
|
ThemeSharedModule,
|
|
850
825
|
SubscriptionTooltipModule,
|
|
851
826
|
]] });
|
|
852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ProductsModule, decorators: [{
|
|
853
828
|
type: NgModule,
|
|
854
829
|
args: [{
|
|
855
830
|
declarations: [ProductsComponent],
|
|
@@ -897,20 +872,20 @@ class PaymentAdminModule {
|
|
|
897
872
|
return new LazyModuleFactory(PaymentAdminModule.forChild(options));
|
|
898
873
|
}
|
|
899
874
|
}
|
|
900
|
-
PaymentAdminModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
901
|
-
PaymentAdminModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
875
|
+
PaymentAdminModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
876
|
+
PaymentAdminModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminModule, imports: [PaymentAdminRoutingModule,
|
|
902
877
|
PaymentPlansModule,
|
|
903
878
|
GatewayPlansModule,
|
|
904
879
|
RequestsModule,
|
|
905
880
|
ProductsModule] });
|
|
906
|
-
PaymentAdminModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
881
|
+
PaymentAdminModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminModule, imports: [[
|
|
907
882
|
PaymentAdminRoutingModule,
|
|
908
883
|
PaymentPlansModule,
|
|
909
884
|
GatewayPlansModule,
|
|
910
885
|
RequestsModule,
|
|
911
886
|
ProductsModule,
|
|
912
887
|
]] });
|
|
913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PaymentAdminModule, decorators: [{
|
|
914
889
|
type: NgModule,
|
|
915
890
|
args: [{
|
|
916
891
|
imports: [
|
|
@@ -929,4 +904,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
929
904
|
*/
|
|
930
905
|
|
|
931
906
|
export { DEFAULT_GATEWAY_PLANS_ENTITY_ACTIONS, DEFAULT_GATEWAY_PLANS_ENTITY_PROPS, DEFAULT_PAYMENT_CREATE_FORM_PROPS, DEFAULT_PAYMENT_EDIT_FORM_PROPS, DEFAULT_PAYMENT_ENTITY_ACTIONS, DEFAULT_PAYMENT_ENTITY_PROPS, DEFAULT_PAYMENT_TOOLBAR_ACTIONS, DEFAULT_PLANS_CREATE_FORM_PROPS, DEFAULT_PLANS_EDIT_FORM_PROPS, DEFAULT_PLANS_ENTITY_ACTIONS, DEFAULT_PLANS_ENTITY_PROPS, DEFAULT_PLANS_TOOLBAR_ACTIONS, GatewayPlansComponent, GatewayPlansModule, PAYMENT_CREATE_FORM_PROP_CONTRIBUTORS, PAYMENT_EDIT_FORM_PROP_CONTRIBUTORS, PAYMENT_ENTITY_ACTION_CONTRIBUTORS, PAYMENT_ENTITY_PROP_CONTRIBUTORS, PAYMENT_TOOLBAR_ACTION_CONTRIBUTORS, PaymentAdminModule, PaymentAdminRoutingModule, PaymentInitializer, PaymentPlansComponent, PaymentPlansModule };
|
|
932
|
-
//# sourceMappingURL=volo-abp.ng.payment-admin.
|
|
907
|
+
//# sourceMappingURL=volo-abp.ng.payment-admin.mjs.map
|