@volo/abp.ng.payment 9.2.1 → 9.3.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { ListService, PagedResultDto } from '@abp/ng.core';
2
- import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
3
1
  import { Injector, OnInit } from '@angular/core';
4
2
  import { UntypedFormGroup } from '@angular/forms';
5
3
  import { ActivatedRoute } from '@angular/router';
6
- import { GatewayPlanDto, PlanAdminService, PlanService } from '@volo/abp.ng.payment/proxy';
7
4
  import { Observable } from 'rxjs';
5
+ import { ListService, PagedResultDto } from '@abp/ng.core';
6
+ import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
7
+ import { GatewayPlanDto, PlanAdminService, PlanService } from '@volo/abp.ng.payment/proxy';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class GatewayPlansComponent implements OnInit {
10
10
  data$: Observable<PagedResultDto<GatewayPlanDto>>;
@@ -28,5 +28,5 @@ export declare class GatewayPlansComponent implements OnInit {
28
28
  save(): void;
29
29
  private createForm;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<GatewayPlansComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<GatewayPlansComponent, "abp-gateway-plans", never, {}, {}, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<GatewayPlansComponent, "abp-gateway-plans", never, {}, {}, never, never, true, never>;
32
32
  }
@@ -1,15 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./gateway-plans.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@abp/ng.components/page";
5
- import * as i4 from "@abp/ng.core";
6
- import * as i5 from "@abp/ng.components/extensible";
7
- import * as i6 from "@abp/ng.theme.shared";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "@ngx-validate/core";
10
- import * as i9 from "@volo/abp.commercial.ng.ui";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@abp/ng.components/page";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.components/extensible";
6
+ import * as i5 from "@abp/ng.theme.shared";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@ngx-validate/core";
9
+ import * as i8 from "@volo/abp.commercial.ng.ui";
10
+ import * as i9 from "./gateway-plans.component";
11
11
  export declare class GatewayPlansModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<GatewayPlansModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<GatewayPlansModule, [typeof i1.GatewayPlansComponent], [typeof i2.CommonModule, typeof i3.PageModule, typeof i4.CoreModule, typeof i5.ExtensibleModule, typeof i6.ThemeSharedModule, typeof i7.ReactiveFormsModule, typeof i8.NgxValidateCoreModule, typeof i9.AdvancedEntityFiltersModule], never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GatewayPlansModule, never, [typeof i1.CommonModule, typeof i2.PageModule, typeof i3.CoreModule, typeof i4.ExtensibleModule, typeof i5.ThemeSharedModule, typeof i6.ReactiveFormsModule, typeof i7.NgxValidateCoreModule, typeof i8.AdvancedEntityFiltersModule, typeof i9.GatewayPlansComponent], never>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<GatewayPlansModule>;
15
15
  }
@@ -1,10 +1,10 @@
1
- import { ListService, PagedResultDto } from '@abp/ng.core';
2
- import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
3
1
  import { Injector, OnInit } from '@angular/core';
4
2
  import { UntypedFormGroup } from '@angular/forms';
5
3
  import { ActivatedRoute } from '@angular/router';
6
- import { PlanDto } from '@volo/abp.ng.payment/proxy';
7
4
  import { Observable } from 'rxjs';
5
+ import { ListService, PagedResultDto } from '@abp/ng.core';
6
+ import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
7
+ import { PlanDto } from '@volo/abp.ng.payment/proxy';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class PaymentPlansComponent implements OnInit {
10
10
  data$: Observable<PagedResultDto<PlanDto>>;
@@ -28,5 +28,5 @@ export declare class PaymentPlansComponent implements OnInit {
28
28
  save(): void;
29
29
  private createForm;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentPlansComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<PaymentPlansComponent, "abp-payment-plans", never, {}, {}, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaymentPlansComponent, "abp-payment-plans", never, {}, {}, never, never, true, never>;
32
32
  }
@@ -1,15 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./plans.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@abp/ng.components/page";
5
- import * as i4 from "@abp/ng.core";
6
- import * as i5 from "@abp/ng.components/extensible";
7
- import * as i6 from "@abp/ng.theme.shared";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "@ngx-validate/core";
10
- import * as i9 from "@volo/abp.commercial.ng.ui";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@abp/ng.components/page";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.components/extensible";
6
+ import * as i5 from "@abp/ng.theme.shared";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@ngx-validate/core";
9
+ import * as i8 from "@volo/abp.commercial.ng.ui";
10
+ import * as i9 from "./plans.component";
11
11
  export declare class PaymentPlansModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentPlansModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentPlansModule, [typeof i1.PaymentPlansComponent], [typeof i2.CommonModule, typeof i3.PageModule, typeof i4.CoreModule, typeof i5.ExtensibleModule, typeof i6.ThemeSharedModule, typeof i7.ReactiveFormsModule, typeof i8.NgxValidateCoreModule, typeof i9.AdvancedEntityFiltersModule], never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentPlansModule, never, [typeof i1.CommonModule, typeof i2.PageModule, typeof i3.CoreModule, typeof i4.ExtensibleModule, typeof i5.ThemeSharedModule, typeof i6.ReactiveFormsModule, typeof i7.NgxValidateCoreModule, typeof i8.AdvancedEntityFiltersModule, typeof i9.PaymentPlansComponent], never>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<PaymentPlansModule>;
15
15
  }
@@ -1,12 +1,11 @@
1
1
  import { ListService } from '@abp/ng.core';
2
- import { ActivatedRoute } from '@angular/router';
2
+ import { PaymentRequestProductDto } from '@volo/abp.ng.payment/proxy';
3
3
  import { ePaymentRouteNames } from '@volo/abp.ng.payment/admin/config';
4
- import { PaymentRequestAdminService, PaymentRequestProductDto } from '@volo/abp.ng.payment/proxy';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class ProductsComponent {
7
6
  private route;
8
7
  private service;
9
- list: ListService;
8
+ list: ListService<any>;
10
9
  data: PaymentRequestProductDto[];
11
10
  breadCrumbItems: ({
12
11
  name: ePaymentRouteNames;
@@ -16,7 +15,7 @@ export declare class ProductsComponent {
16
15
  path?: undefined;
17
16
  })[];
18
17
  get requestId(): any;
19
- constructor(route: ActivatedRoute, service: PaymentRequestAdminService, list: ListService);
18
+ constructor();
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductsComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductsComponent, "abp-products", never, {}, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductsComponent, "abp-products", never, {}, {}, never, never, true, never>;
22
21
  }
@@ -1,13 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./products.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@abp/ng.components/page";
5
- import * as i4 from "@abp/ng.core";
6
- import * as i5 from "@abp/ng.components/extensible";
7
- import * as i6 from "@abp/ng.theme.shared";
8
- import * as i7 from "../subscription-tooltip/subscription-tooltip.module";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@abp/ng.components/page";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.components/extensible";
6
+ import * as i5 from "@abp/ng.theme.shared";
7
+ import * as i6 from "../subscription-tooltip/subscription-tooltip.module";
8
+ import * as i7 from "./products.component";
9
9
  export declare class ProductsModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductsModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductsModule, [typeof i1.ProductsComponent], [typeof i2.CommonModule, typeof i3.PageModule, typeof i4.CoreModule, typeof i5.ExtensibleModule, typeof i6.ThemeSharedModule, typeof i7.SubscriptionTooltipModule], never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductsModule, never, [typeof i1.CommonModule, typeof i2.PageModule, typeof i3.CoreModule, typeof i4.ExtensibleModule, typeof i5.ThemeSharedModule, typeof i6.SubscriptionTooltipModule, typeof i7.ProductsComponent], never>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductsModule>;
13
13
  }
@@ -10,5 +10,5 @@ export declare class RequestsSearchFormComponent {
10
10
  states: import("@abp/ng.core").ABP.Option<typeof import("@volo/abp.ng.payment/proxy").PaymentRequestState>[];
11
11
  emit(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestsSearchFormComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<RequestsSearchFormComponent, "abp-payment-requests-search-form", never, { "list": { "alias": "list"; "required": false; }; "pageQuery": { "alias": "pageQuery"; "required": false; }; }, { "pageQueryChange": "pageQueryChange"; }, never, never, false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<RequestsSearchFormComponent, "abp-payment-requests-search-form", never, { "list": { "alias": "list"; "required": false; }; "pageQuery": { "alias": "pageQuery"; "required": false; }; }, { "pageQueryChange": "pageQueryChange"; }, never, never, true, never>;
14
14
  }
@@ -1,17 +1,16 @@
1
- import { ListService, PagedResultDto } from '@abp/ng.core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { PaymentRequestAdminService, PaymentRequestGetListInput, PaymentRequestWithDetailsDto } from '@volo/abp.ng.payment/proxy';
4
1
  import { Observable } from 'rxjs';
2
+ import { ListService, PagedResultDto } from '@abp/ng.core';
3
+ import { PaymentRequestGetListInput, PaymentRequestWithDetailsDto } from '@volo/abp.ng.payment/proxy';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class RequestsComponent {
7
- list: ListService;
6
+ list: ListService<any>;
8
7
  private paymentRequestAdminService;
9
8
  private router;
10
9
  private route;
11
10
  data$: Observable<PagedResultDto<PaymentRequestWithDetailsDto>>;
12
11
  pageQuery: PaymentRequestGetListInput;
13
- constructor(list: ListService, paymentRequestAdminService: PaymentRequestAdminService, router: Router, route: ActivatedRoute);
12
+ constructor();
14
13
  goToProducts(id: string): void;
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestsComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<RequestsComponent, "abp-payment-requests", never, {}, {}, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<RequestsComponent, "abp-payment-requests", never, {}, {}, never, never, true, never>;
17
16
  }
@@ -1,17 +1,17 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./requests.component";
3
- import * as i2 from "./requests-search-form/requests-search-form.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@abp/ng.components/page";
6
- import * as i5 from "@abp/ng.core";
7
- import * as i6 from "@abp/ng.components/extensible";
8
- import * as i7 from "@abp/ng.theme.shared";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "@volo/abp.commercial.ng.ui";
11
- import * as i10 from "@ng-bootstrap/ng-bootstrap";
12
- import * as i11 from "../subscription-tooltip/subscription-tooltip.module";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@abp/ng.components/page";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.components/extensible";
6
+ import * as i5 from "@abp/ng.theme.shared";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@volo/abp.commercial.ng.ui";
9
+ import * as i8 from "@ng-bootstrap/ng-bootstrap";
10
+ import * as i9 from "../subscription-tooltip/subscription-tooltip.module";
11
+ import * as i10 from "./requests.component";
12
+ import * as i11 from "./requests-search-form/requests-search-form.component";
13
13
  export declare class RequestsModule {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestsModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<RequestsModule, [typeof i1.RequestsComponent, typeof i2.RequestsSearchFormComponent], [typeof i3.CommonModule, typeof i4.PageModule, typeof i5.CoreModule, typeof i6.ExtensibleModule, typeof i7.ThemeSharedModule, typeof i8.ReactiveFormsModule, typeof i9.AdvancedEntityFiltersModule, typeof i10.NgbDatepickerModule, typeof i11.SubscriptionTooltipModule], never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RequestsModule, never, [typeof i1.CommonModule, typeof i2.PageModule, typeof i3.CoreModule, typeof i4.ExtensibleModule, typeof i5.ThemeSharedModule, typeof i6.ReactiveFormsModule, typeof i7.AdvancedEntityFiltersModule, typeof i8.NgbDatepickerModule, typeof i9.SubscriptionTooltipModule, typeof i10.RequestsComponent, typeof i11.RequestsSearchFormComponent], never>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<RequestsModule>;
17
17
  }
@@ -3,7 +3,6 @@ import { SubscriptionTooltipData } from '../../models/subscription-tooltip-data'
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SubscriptionTooltipComponent {
5
5
  value$: Observable<SubscriptionTooltipData>;
6
- constructor(value$: Observable<SubscriptionTooltipData>);
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionTooltipComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionTooltipComponent, "abp-subscription-tooltip", never, {}, {}, never, never, false, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionTooltipComponent, "abp-subscription-tooltip", never, {}, {}, never, never, true, never>;
9
8
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./subscription-tooltip.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@abp/ng.core";
5
- import * as i4 from "@ng-bootstrap/ng-bootstrap";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@abp/ng.core";
4
+ import * as i3 from "@ng-bootstrap/ng-bootstrap";
5
+ import * as i4 from "./subscription-tooltip.component";
6
6
  export declare class SubscriptionTooltipModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionTooltipModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SubscriptionTooltipModule, [typeof i1.SubscriptionTooltipComponent], [typeof i2.CommonModule, typeof i3.CoreModule, typeof i4.NgbTooltipModule], [typeof i1.SubscriptionTooltipComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SubscriptionTooltipModule, never, [typeof i1.CommonModule, typeof i2.CoreModule, typeof i3.NgbTooltipModule, typeof i4.SubscriptionTooltipComponent], [typeof i4.SubscriptionTooltipComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SubscriptionTooltipModule>;
10
10
  }
@@ -8,6 +8,9 @@ import * as i4 from "./components/requests/requests.module";
8
8
  import * as i5 from "./components/products/products.module";
9
9
  export declare class PaymentAdminModule {
10
10
  static forChild(options?: PaymentConfigOptions): ModuleWithProviders<PaymentAdminModule>;
11
+ /**
12
+ * @deprecated `PaymentAdminModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead.
13
+ */
11
14
  static forLazy(options?: PaymentConfigOptions): NgModuleFactory<PaymentAdminModule>;
12
15
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentAdminModule, never>;
13
16
  static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentAdminModule, never, [typeof i1.PaymentAdminRoutingModule, typeof i2.PaymentPlansModule, typeof i3.GatewayPlansModule, typeof i4.RequestsModule, typeof i5.ProductsModule], never>;
@@ -0,0 +1,3 @@
1
+ import { Routes } from '@angular/router';
2
+ import { PaymentConfigOptions } from './models';
3
+ export declare function createRoutes(config?: PaymentConfigOptions): Routes;
@@ -1,5 +1,6 @@
1
1
  export * from './payment-admin.module';
2
2
  export * from './payment-admin-routing.module';
3
+ export * from './payment.routes';
3
4
  export * from './payment.initializer';
4
5
  export * from './enums';
5
6
  export * from './components';
@@ -1 +1 @@
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/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 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","/**\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,KAAC,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,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,wBAAwB;YAClC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;;8GALQ,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;;;ACHZ;;AAEG;;;;"}
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/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 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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAKa,MAAA,uBAAuB,GAAG;IACrC,qBAAqB,CAAC,MAAK;AACzB,QAAA,eAAe,EAAE;AACnB,KAAC,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,EAA4B,iCAAA;;AAEhC,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,MAAM,EAAyB,aAAA;AAC/B,YAAA,SAAS,EAAE,mBAAmB;AAC/B,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,IAAI,EAAiC,qBAAA;AACrC,YAAA,UAAU,EAA4B,iCAAA;AACtC,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAkC,eAAA;AACjD,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,mBAAmB;AACzB,YAAA,IAAI,EAA6B,+BAAA;AACjC,YAAA,UAAU,EAA4B,iCAAA;AACtC,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAqC,yBAAA;AACpD,SAAA;AACF,KAAA,CAAC;AACJ;;MCjCa,wBAAwB,CAAA;AACnC,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,wBAAwB;YAClC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;;8GALQ,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;;;ACHZ;;AAEG;;;;"}