@volo/abp.ng.payment 10.3.0 → 10.4.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-admin.mjs +49 -49
- package/fesm2022/volo-abp.ng.payment-admin.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-proxy.mjs +21 -21
- package/fesm2022/volo-abp.ng.payment-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment.mjs +42 -42
- package/fesm2022/volo-abp.ng.payment.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.payment-proxy.mjs","sources":["../../../../packages/payment/proxy/src/lib/proxy/admin/plans/plan-admin.service.ts","../../../../packages/payment/proxy/src/lib/proxy/admin/requests/payment-request-admin.service.ts","../../../../packages/payment/proxy/src/lib/proxy/gateways/gateway.service.ts","../../../../packages/payment/proxy/src/lib/proxy/plans/plan.service.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/requests/payment-request-state.enum.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/requests/payment-type.enum.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/gateways/gateway.service.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/plans/plan.service.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/requests/payment-request.service.ts","../../../../packages/payment/proxy/src/volo-abp.ng.payment-proxy.ts"],"sourcesContent":["import type { GatewayPlanCreateInput, GatewayPlanGetListInput, GatewayPlanUpdateInput, PlanCreateInput, PlanGetListInput, PlanUpdateInput } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\nimport type { GatewayPlanDto, PlanDto } from '../../plans/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlanAdminService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n create = (input: PlanCreateInput) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'POST',\r\n url: '/api/payment-admin/plans',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n createGatewayPlan = (planId: string, input: GatewayPlanCreateInput) =>\r\n this.restService.request<any, void>({\r\n method: 'POST',\r\n url: `/api/payment-admin/plans/${planId}/external-plans`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n delete = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: '/api/payment-admin/plans',\r\n params: { id },\r\n },\r\n { apiName: this.apiName });\r\n\r\n deleteGatewayPlan = (planId: string, gateway: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'GET',\r\n url: `/api/payment-admin/plans/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getGatewayPlans = (planId: string, input: GatewayPlanGetListInput) =>\r\n this.restService.request<any, PagedResultDto<GatewayPlanDto>>({\r\n method: 'GET',\r\n url: `/api/payment-admin/plans/${planId}/external-plans`,\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: PlanGetListInput) =>\r\n this.restService.request<any, PagedResultDto<PlanDto>>({\r\n method: 'GET',\r\n url: '/api/payment-admin/plans',\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (id: string, input: PlanUpdateInput) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'PUT',\r\n url: `/api/payment-admin/plans/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n updateGatewayPlan = (planId: string, gateway: string, input: GatewayPlanUpdateInput) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import type { PaymentRequestGetListInput } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\nimport type { PaymentRequestWithDetailsDto } from '../../requests/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PaymentRequestAdminService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'GET',\r\n url: `/api/payment-admin/payment-requests/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: PaymentRequestGetListInput) =>\r\n this.restService.request<any, PagedResultDto<PaymentRequestWithDetailsDto>>({\r\n method: 'GET',\r\n url: '/api/payment-admin/payment-requests',\r\n params: { filter: input.filter, creationDateMax: input.creationDateMax, creationDateMin: input.creationDateMin, paymentType: input.paymentType, status: input.status, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import type { GatewayDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class GatewayService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n getGatewayConfiguration = () =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getSubscriptionSupportedGateways = () =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways/subscription-supported',\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import type { GatewayPlanDto, PlanDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlanService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n getGatewayPlan = (planId: string, gateway: string) =>\r\n this.restService.request<any, GatewayPlanDto>({\r\n method: 'GET',\r\n url: `/api/payment/plans/${planId}/${gateway}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getPlanList = () =>\r\n this.restService.request<any, PlanDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/plans',\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum PaymentRequestState {\r\n Waiting = 0,\r\n Completed = 1,\r\n Failed = 2,\r\n Refunded = 3,\r\n}\r\n\r\nexport const paymentRequestStateOptions = mapEnumToOptions(PaymentRequestState);\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum PaymentType {\r\n OneTime = 0,\r\n Subscription = 1,\r\n}\r\n\r\nexport const paymentTypeOptions = mapEnumToOptions(PaymentType);\r\n","import type { GatewayDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class GatewayService {\r\n private restService = inject(RestService);\r\n apiName = 'AbpPaymentCommon';\r\n \r\n\r\n getGatewayConfiguration = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways',\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getSubscriptionSupportedGateways = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways/subscription-supported',\r\n },\r\n { apiName: this.apiName,...config });\r\n}","import type { GatewayPlanDto, PlanDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlanService {\r\n private restService = inject(RestService);\r\n apiName = 'AbpPaymentCommon';\r\n \r\n\r\n get = (planId: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'GET',\r\n url: `/api/payment/plans/${planId}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getGatewayPlan = (planId: string, gateway: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GatewayPlanDto>({\r\n method: 'GET',\r\n url: `/api/payment/plans/${planId}/${gateway}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getMany = (ids: string[], config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PlanDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/plans/many',\r\n params: { ids },\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getPlanList = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PlanDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/plans',\r\n },\r\n { apiName: this.apiName,...config });\r\n}","import type { PaymentRequestCreateDto, PaymentRequestStartDto, PaymentRequestStartResultDto, PaymentRequestWithDetailsDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PaymentRequestService {\r\n private restService = inject(RestService);\r\n apiName = 'AbpPaymentCommon';\r\n\r\n\r\n complete = (paymentMethod: string, parameters: Record<string, string>, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'POST',\r\n url: `/api/payment/${paymentMethod}/complete`,\r\n body: parameters,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n create = (input: any, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'POST',\r\n url: '/api/payment/requests',\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'GET',\r\n url: `/api/payment/requests/${id}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n handleWebhook = (paymentMethod: string, payload: string, headers: Record<string, string>, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, boolean>({\r\n method: 'POST',\r\n url: `/api/payment/${paymentMethod}/webhook`,\r\n params: { payload },\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n start = (paymentMethod: string, input: PaymentRequestStartDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestStartResultDto>({\r\n method: 'POST',\r\n url: `/api/payment/${paymentMethod}/start`,\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["GatewayService","PlanService"],"mappings":";;;;MASa,gBAAgB,CAAA;AAH7B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEzC,IAAA,CAAA,OAAO,GAAG,iBAAiB;QAE3B,IAAA,CAAA,MAAM,GAAG,CAAC,KAAsB,KAC9B,IAAI,CAAC,WAAW,CAAC,OAAO,CAAe;AACrC,YAAA,MAAM,EAAE,MAAM;AACd,YAAA,GAAG,EAAE,0BAA0B;AAC/B,YAAA,IAAI,EAAE,KAAK;SACZ,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;AAE5B,QAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC,MAAc,EAAE,KAA6B,K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A,IAAA,CAAA,KAAK,GAAG,CAAC,aAAqB,EAAE,KAA6B,EAAE,MAA6B,KAC1F,IAAI,CAAC,WAAW,CAAC,OAAO,CAAoC;AAC1D,YAAA,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,CAAA,aAAA,EAAgB,aAAa,CAAA,MAAA,CAAQ;AAC1C,YAAA,IAAI,EAAE,KAAK;SACZ,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,GAAG,MAAM,EAAE,CAAC;AACvC,IAAA;8GA/CY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cAFpB,MAAM,EAAA,CAAA,CAAA;;2FAEP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;;;;;;;;;;;;ACND;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.payment-proxy.mjs","sources":["../../../../packages/payment/proxy/src/lib/proxy/admin/plans/plan-admin.service.ts","../../../../packages/payment/proxy/src/lib/proxy/admin/requests/payment-request-admin.service.ts","../../../../packages/payment/proxy/src/lib/proxy/gateways/gateway.service.ts","../../../../packages/payment/proxy/src/lib/proxy/plans/plan.service.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/requests/payment-request-state.enum.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/requests/payment-type.enum.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/gateways/gateway.service.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/plans/plan.service.ts","../../../../packages/payment/proxy/src/proxy/volo/payment/requests/payment-request.service.ts","../../../../packages/payment/proxy/src/volo-abp.ng.payment-proxy.ts"],"sourcesContent":["import type { GatewayPlanCreateInput, GatewayPlanGetListInput, GatewayPlanUpdateInput, PlanCreateInput, PlanGetListInput, PlanUpdateInput } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\nimport type { GatewayPlanDto, PlanDto } from '../../plans/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlanAdminService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n create = (input: PlanCreateInput) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'POST',\r\n url: '/api/payment-admin/plans',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n createGatewayPlan = (planId: string, input: GatewayPlanCreateInput) =>\r\n this.restService.request<any, void>({\r\n method: 'POST',\r\n url: `/api/payment-admin/plans/${planId}/external-plans`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n delete = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: '/api/payment-admin/plans',\r\n params: { id },\r\n },\r\n { apiName: this.apiName });\r\n\r\n deleteGatewayPlan = (planId: string, gateway: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'GET',\r\n url: `/api/payment-admin/plans/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getGatewayPlans = (planId: string, input: GatewayPlanGetListInput) =>\r\n this.restService.request<any, PagedResultDto<GatewayPlanDto>>({\r\n method: 'GET',\r\n url: `/api/payment-admin/plans/${planId}/external-plans`,\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: PlanGetListInput) =>\r\n this.restService.request<any, PagedResultDto<PlanDto>>({\r\n method: 'GET',\r\n url: '/api/payment-admin/plans',\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (id: string, input: PlanUpdateInput) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'PUT',\r\n url: `/api/payment-admin/plans/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n updateGatewayPlan = (planId: string, gateway: string, input: GatewayPlanUpdateInput) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import type { PaymentRequestGetListInput } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\nimport type { PaymentRequestWithDetailsDto } from '../../requests/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PaymentRequestAdminService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'GET',\r\n url: `/api/payment-admin/payment-requests/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: PaymentRequestGetListInput) =>\r\n this.restService.request<any, PagedResultDto<PaymentRequestWithDetailsDto>>({\r\n method: 'GET',\r\n url: '/api/payment-admin/payment-requests',\r\n params: { filter: input.filter, creationDateMax: input.creationDateMax, creationDateMin: input.creationDateMin, paymentType: input.paymentType, status: input.status, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import type { GatewayDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class GatewayService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n getGatewayConfiguration = () =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getSubscriptionSupportedGateways = () =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways/subscription-supported',\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import type { GatewayPlanDto, PlanDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlanService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpPaymentAdmin';\r\n\r\n getGatewayPlan = (planId: string, gateway: string) =>\r\n this.restService.request<any, GatewayPlanDto>({\r\n method: 'GET',\r\n url: `/api/payment/plans/${planId}/${gateway}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getPlanList = () =>\r\n this.restService.request<any, PlanDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/plans',\r\n },\r\n { apiName: this.apiName });\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum PaymentRequestState {\r\n Waiting = 0,\r\n Completed = 1,\r\n Failed = 2,\r\n Refunded = 3,\r\n}\r\n\r\nexport const paymentRequestStateOptions = mapEnumToOptions(PaymentRequestState);\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum PaymentType {\r\n OneTime = 0,\r\n Subscription = 1,\r\n}\r\n\r\nexport const paymentTypeOptions = mapEnumToOptions(PaymentType);\r\n","import type { GatewayDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class GatewayService {\r\n private restService = inject(RestService);\r\n apiName = 'AbpPaymentCommon';\r\n \r\n\r\n getGatewayConfiguration = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways',\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getSubscriptionSupportedGateways = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GatewayDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/gateways/subscription-supported',\r\n },\r\n { apiName: this.apiName,...config });\r\n}","import type { GatewayPlanDto, PlanDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlanService {\r\n private restService = inject(RestService);\r\n apiName = 'AbpPaymentCommon';\r\n \r\n\r\n get = (planId: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PlanDto>({\r\n method: 'GET',\r\n url: `/api/payment/plans/${planId}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getGatewayPlan = (planId: string, gateway: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GatewayPlanDto>({\r\n method: 'GET',\r\n url: `/api/payment/plans/${planId}/${gateway}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getMany = (ids: string[], config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PlanDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/plans/many',\r\n params: { ids },\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getPlanList = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PlanDto[]>({\r\n method: 'GET',\r\n url: '/api/payment/plans',\r\n },\r\n { apiName: this.apiName,...config });\r\n}","import type { PaymentRequestCreateDto, PaymentRequestStartDto, PaymentRequestStartResultDto, PaymentRequestWithDetailsDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PaymentRequestService {\r\n private restService = inject(RestService);\r\n apiName = 'AbpPaymentCommon';\r\n\r\n\r\n complete = (paymentMethod: string, parameters: Record<string, string>, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'POST',\r\n url: `/api/payment/${paymentMethod}/complete`,\r\n body: parameters,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n create = (input: any, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'POST',\r\n url: '/api/payment/requests',\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestWithDetailsDto>({\r\n method: 'GET',\r\n url: `/api/payment/requests/${id}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n handleWebhook = (paymentMethod: string, payload: string, headers: Record<string, string>, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, boolean>({\r\n method: 'POST',\r\n url: `/api/payment/${paymentMethod}/webhook`,\r\n params: { payload },\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n\r\n start = (paymentMethod: string, input: PaymentRequestStartDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PaymentRequestStartResultDto>({\r\n method: 'POST',\r\n url: `/api/payment/${paymentMethod}/start`,\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["GatewayService","PlanService"],"mappings":";;;;MASa,gBAAgB,CAAA;AAH7B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEzC,IAAA,CAAA,OAAO,GAAG,iBAA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ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GatewayOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: GatewayOptionsComponent, isStandalone: true, selector: "abp-gateway-options", inputs: { paymentType: { classPropertyName: "paymentType", publicName: "paymentType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
65
65
|
{
|
|
66
66
|
provide: NG_VALUE_ACCESSOR,
|
|
67
67
|
useExisting: forwardRef(() => GatewayOptionsComponent),
|
|
@@ -93,7 +93,7 @@ class GatewayOptionsComponent {
|
|
|
93
93
|
</div>
|
|
94
94
|
`, isInline: true, styles: [".list-container{min-height:6rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GatewayOptionsComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ selector: 'abp-gateway-options', template: `
|
|
99
99
|
<div class="list-container d-flex flex-wrap row-gap-2">
|
|
@@ -151,10 +151,10 @@ class GatewaysSelectionComponent {
|
|
|
151
151
|
},
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GatewaysSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: GatewaysSelectionComponent, isStandalone: true, selector: "abp-gateway-selection", ngImport: i0, template: "<abp-page>\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3\">\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">Select a Payment Gateway</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n <abp-gateway-options [(ngModel)]=\"selectedGateway\" [paymentType]=\"paymentType()\" />\r\n </abp-card-body>\r\n <abp-card-footer>\r\n <div class=\"d-flex flex-column mt-8\">\r\n <button class=\"btn btn-success btn-lg\" [disabled]=\"!selectedGateway || !paymentRequest\" (click)=\"redirectToPrepayment()\">\r\n Continue to Checkout ->\r\n </button>\r\n <p class=\"mt-2 mb-1 text-muted text-center\">\r\n <small><i class=\"fas fa-circle-info\"></i>Next, you will be redirected to the selected payment gateway's website for the transaction\r\n </small>\r\n </p>\r\n </div>\r\n </abp-card-footer>\r\n </abp-card>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }, { kind: "component", type: GatewayOptionsComponent, selector: "abp-gateway-options", inputs: ["paymentType"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }, { kind: "component", type: CardFooterComponent, selector: "abp-card-footer", inputs: ["cardFooterStyle", "cardFooterClass"] }, { kind: "component", type: CardHeaderComponent, selector: "abp-card-header", inputs: ["cardHeaderClass", "cardHeaderStyle"] }] }); }
|
|
156
156
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GatewaysSelectionComponent, decorators: [{
|
|
158
158
|
type: Component,
|
|
159
159
|
args: [{ selector: 'abp-gateway-selection', imports: [
|
|
160
160
|
PageComponent,
|
|
@@ -249,10 +249,10 @@ class PostPaymentBaseComponent {
|
|
|
249
249
|
},
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
253
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PostPaymentBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
253
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: PostPaymentBaseComponent, isStandalone: true, ngImport: i0 }); }
|
|
254
254
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PostPaymentBaseComponent, decorators: [{
|
|
256
256
|
type: Directive,
|
|
257
257
|
args: [{}]
|
|
258
258
|
}] });
|
|
@@ -264,10 +264,10 @@ class PostPaymentComponent extends PostPaymentBaseComponent {
|
|
|
264
264
|
shouldSkipCompletion(gateway) {
|
|
265
265
|
return gateway === eGatewaysType.iyzico;
|
|
266
266
|
}
|
|
267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
268
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PostPaymentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: PostPaymentComponent, isStandalone: true, selector: "abp-post-payment", usesInheritance: true, ngImport: i0, template: "<abp-page>\r\n <div class=\"row justify-content-center align-items-center\" style=\"min-height: 60vh\">\r\n <div class=\"col-12 col-md-6 col-lg-4\">\r\n <abp-card>\r\n <abp-card-body class=\"text-center py-5\">\r\n <div class=\"mb-4\">\r\n <i class=\"fa fa-check-circle text-success fa-5x\"></i>\r\n </div>\r\n <h2 class=\"h3 mb-0\">Payment Success</h2>\r\n </abp-card-body>\r\n </abp-card>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }, { kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
269
269
|
}
|
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PostPaymentComponent, decorators: [{
|
|
271
271
|
type: Component,
|
|
272
272
|
args: [{ selector: 'abp-post-payment', imports: [PageComponent, CardComponent, CardBodyComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-page>\r\n <div class=\"row justify-content-center align-items-center\" style=\"min-height: 60vh\">\r\n <div class=\"col-12 col-md-6 col-lg-4\">\r\n <abp-card>\r\n <abp-card-body class=\"text-center py-5\">\r\n <div class=\"mb-4\">\r\n <i class=\"fa fa-check-circle text-success fa-5x\"></i>\r\n </div>\r\n <h2 class=\"h3 mb-0\">Payment Success</h2>\r\n </abp-card-body>\r\n </abp-card>\r\n </div>\r\n </div>\r\n</abp-page>\r\n" }]
|
|
273
273
|
}] });
|
|
@@ -457,10 +457,10 @@ class PostPaymentHostComponent {
|
|
|
457
457
|
this.componentRef().destroy();
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
461
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PostPaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
461
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: PostPaymentHostComponent, isStandalone: true, selector: "abp-post-payment-router", ngImport: i0, template: '', isInline: true }); }
|
|
462
462
|
}
|
|
463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PostPaymentHostComponent, decorators: [{
|
|
464
464
|
type: Component,
|
|
465
465
|
args: [{
|
|
466
466
|
selector: 'abp-post-payment-router',
|
|
@@ -472,8 +472,8 @@ class PrepaymentProgressComponent {
|
|
|
472
472
|
constructor() {
|
|
473
473
|
this.gateway = input(...(ngDevMode ? [undefined, { debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
474
474
|
}
|
|
475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
476
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrepaymentProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: PrepaymentProgressComponent, isStandalone: true, selector: "abp-prepayment-progress", inputs: { gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
477
477
|
<div class="row justify-content-center align-items-center" style="min-height: 60vh">
|
|
478
478
|
<div class="col-12">
|
|
479
479
|
<abp-card>
|
|
@@ -490,7 +490,7 @@ class PrepaymentProgressComponent {
|
|
|
490
490
|
</div>
|
|
491
491
|
`, isInline: true, dependencies: [{ kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
492
492
|
}
|
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrepaymentProgressComponent, decorators: [{
|
|
494
494
|
type: Component,
|
|
495
495
|
args: [{
|
|
496
496
|
selector: 'abp-prepayment-progress',
|
|
@@ -516,8 +516,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
|
|
|
516
516
|
}], propDecorators: { gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
517
517
|
|
|
518
518
|
class PrePaymentLayoutComponent {
|
|
519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
520
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrePaymentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
520
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: PrePaymentLayoutComponent, isStandalone: true, selector: "abp-prepayment-layout", ngImport: i0, template: `
|
|
521
521
|
<abp-page>
|
|
522
522
|
<div class="row">
|
|
523
523
|
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
|
|
@@ -527,7 +527,7 @@ class PrePaymentLayoutComponent {
|
|
|
527
527
|
</abp-page>
|
|
528
528
|
`, isInline: true, dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }] }); }
|
|
529
529
|
}
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrePaymentLayoutComponent, decorators: [{
|
|
531
531
|
type: Component,
|
|
532
532
|
args: [{
|
|
533
533
|
selector: 'abp-prepayment-layout',
|
|
@@ -612,10 +612,10 @@ class StripePrepaymentComponent {
|
|
|
612
612
|
console.error('Stripe script loaded successfully but window.Stripe object cannot found');
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
616
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: StripePrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
616
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: StripePrepaymentComponent, isStandalone: true, selector: "abp-stripe-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
617
617
|
}
|
|
618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: StripePrepaymentComponent, decorators: [{
|
|
619
619
|
type: Component,
|
|
620
620
|
args: [{ selector: 'abp-stripe-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n\r\n" }]
|
|
621
621
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -655,10 +655,10 @@ class PayPalPrepaymentComponent {
|
|
|
655
655
|
}
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
659
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PayPalPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
659
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: PayPalPrepaymentComponent, isStandalone: true, selector: "abp-paypal-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
660
660
|
}
|
|
661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PayPalPrepaymentComponent, decorators: [{
|
|
662
662
|
type: Component,
|
|
663
663
|
args: [{ selector: 'abp-paypal-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
664
664
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -713,10 +713,10 @@ class PayuPrepaymentComponent {
|
|
|
713
713
|
form.submit();
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
717
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
716
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PayuPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
717
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: PayuPrepaymentComponent, isStandalone: true, selector: "abp-payu-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
718
718
|
}
|
|
719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PayuPrepaymentComponent, decorators: [{
|
|
720
720
|
type: Component,
|
|
721
721
|
args: [{ selector: 'abp-payu-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
722
722
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -780,15 +780,15 @@ class IyzicoPrepaymentComponent {
|
|
|
780
780
|
}
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
784
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: IyzicoPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
784
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: IyzicoPrepaymentComponent, isStandalone: true, selector: "abp-iyzico-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, apiUrl: { classPropertyName: "apiUrl", publicName: "apiUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
785
785
|
{
|
|
786
786
|
provide: EXTENSIONS_IDENTIFIER,
|
|
787
787
|
useValue: "Payment.Iyzico.PrepaymentForm" /* ePaymentComponents.IyzicoPrepaymentForm */,
|
|
788
788
|
},
|
|
789
789
|
], ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">You will pay with Iyzico</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n @if (prepaymentForm(); as form) {\r\n <form [formGroup]=\"form\" (ngSubmit)=\"startPayment()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedRecord\" />\r\n <abp-card-footer>\r\n <button type=\"submit\" class=\"btn btn-success w-100\"\r\n [abpLoading]=\"prePaymentInProgress()\"\r\n [disabled]=\"form.invalid || prePaymentInProgress()\">\r\n <span>{{ 'Continue to Checkout' | abpLocalization }}</span>\r\n <i class=\"fas fa-arrow-right ms-1\" aria-hidden=\"true\"></i>\r\n </button>\r\n </abp-card-footer>\r\n </form>\r\n }\r\n </abp-card-body>\r\n </abp-card>\r\n\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }, { kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }, { kind: "component", type: CardFooterComponent, selector: "abp-card-footer", inputs: ["cardFooterStyle", "cardFooterClass"] }, { kind: "directive", type: CardHeaderDirective, selector: "abp-card-header, [abp-card-header], [abpCardHeader]" }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: LoadingDirective, selector: "[abpLoading]", inputs: ["abpLoading", "abpLoadingTargetElement", "abpLoadingDelay"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
790
790
|
}
|
|
791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: IyzicoPrepaymentComponent, decorators: [{
|
|
792
792
|
type: Component,
|
|
793
793
|
args: [{ selector: 'abp-iyzico-prepayment', imports: [
|
|
794
794
|
ReactiveFormsModule,
|
|
@@ -844,10 +844,10 @@ class TwocheckoutPrepaymentComponent {
|
|
|
844
844
|
}
|
|
845
845
|
});
|
|
846
846
|
}
|
|
847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TwocheckoutPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: TwocheckoutPrepaymentComponent, isStandalone: true, selector: "abp-twocheckout-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
849
849
|
}
|
|
850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TwocheckoutPrepaymentComponent, decorators: [{
|
|
851
851
|
type: Component,
|
|
852
852
|
args: [{ selector: 'abp-twocheckout-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
853
853
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -887,10 +887,10 @@ class AlipayPrepaymentComponent {
|
|
|
887
887
|
}
|
|
888
888
|
});
|
|
889
889
|
}
|
|
890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
891
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AlipayPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
891
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: AlipayPrepaymentComponent, isStandalone: true, selector: "abp-alipay-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
892
892
|
}
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AlipayPrepaymentComponent, decorators: [{
|
|
894
894
|
type: Component,
|
|
895
895
|
args: [{ selector: 'abp-alipay-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
896
896
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -987,10 +987,10 @@ class PrepaymentHostComponent {
|
|
|
987
987
|
this.componentRef().destroy();
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
991
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
990
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrepaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
991
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: PrepaymentHostComponent, isStandalone: true, selector: "abp-prepayment-host", ngImport: i0, template: '', isInline: true }); }
|
|
992
992
|
}
|
|
993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrepaymentHostComponent, decorators: [{
|
|
994
994
|
type: Component,
|
|
995
995
|
args: [{
|
|
996
996
|
selector: 'abp-prepayment-host',
|