@volo/abp.ng.payment 10.6.0-rc.3 → 10.6.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: "22.0.
|
|
66
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: GatewayOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: GatewayOptionsComponent, isStandalone: true, selector: "abp-gateway-options", inputs: { paymentType: { classPropertyName: "paymentType", publicName: "paymentType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
67
67
|
{
|
|
68
68
|
provide: NG_VALUE_ACCESSOR,
|
|
69
69
|
useExisting: forwardRef(() => GatewayOptionsComponent),
|
|
@@ -95,7 +95,7 @@ class GatewayOptionsComponent {
|
|
|
95
95
|
</div>
|
|
96
96
|
`, isInline: true, styles: [".list-container{min-height:6rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio]:not([ngNoCva])[formControlName],input[type=radio]:not([ngNoCva])[formControl],input[type=radio]:not([ngNoCva])[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" }] }); }
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: GatewayOptionsComponent, decorators: [{
|
|
99
99
|
type: Component,
|
|
100
100
|
args: [{ selector: 'abp-gateway-options', template: `
|
|
101
101
|
<div class="list-container d-flex flex-wrap row-gap-2">
|
|
@@ -155,10 +155,10 @@ class GatewaysSelectionComponent {
|
|
|
155
155
|
},
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
159
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: GatewaysSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", 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"] }] }); }
|
|
160
160
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: GatewaysSelectionComponent, decorators: [{
|
|
162
162
|
type: Component,
|
|
163
163
|
args: [{ selector: 'abp-gateway-selection', imports: [
|
|
164
164
|
PageComponent,
|
|
@@ -256,10 +256,10 @@ class PostPaymentBaseComponent {
|
|
|
256
256
|
},
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
260
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PostPaymentBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
260
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: PostPaymentBaseComponent, isStandalone: true, ngImport: i0 }); }
|
|
261
261
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PostPaymentBaseComponent, decorators: [{
|
|
263
263
|
type: Directive,
|
|
264
264
|
args: [{}]
|
|
265
265
|
}] });
|
|
@@ -271,10 +271,10 @@ class PostPaymentComponent extends PostPaymentBaseComponent {
|
|
|
271
271
|
shouldSkipCompletion(gateway) {
|
|
272
272
|
return gateway === eGatewaysType.iyzico;
|
|
273
273
|
}
|
|
274
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
275
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PostPaymentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
275
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", 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 }); }
|
|
276
276
|
}
|
|
277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PostPaymentComponent, decorators: [{
|
|
278
278
|
type: Component,
|
|
279
279
|
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" }]
|
|
280
280
|
}] });
|
|
@@ -465,10 +465,10 @@ class PostPaymentHostComponent {
|
|
|
465
465
|
this.componentRef().destroy();
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
469
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PostPaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
469
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: PostPaymentHostComponent, isStandalone: true, selector: "abp-post-payment-router", ngImport: i0, template: '', isInline: true }); }
|
|
470
470
|
}
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PostPaymentHostComponent, decorators: [{
|
|
472
472
|
type: Component,
|
|
473
473
|
args: [{
|
|
474
474
|
selector: 'abp-post-payment-router',
|
|
@@ -481,8 +481,8 @@ class PrepaymentProgressComponent {
|
|
|
481
481
|
this.gateway = input(/* @ts-ignore */
|
|
482
482
|
...(ngDevMode ? [undefined, { debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
483
483
|
}
|
|
484
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
485
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
484
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PrepaymentProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
485
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: PrepaymentProgressComponent, isStandalone: true, selector: "abp-prepayment-progress", inputs: { gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
486
486
|
<div class="row justify-content-center align-items-center" style="min-height: 60vh">
|
|
487
487
|
<div class="col-12">
|
|
488
488
|
<abp-card>
|
|
@@ -499,7 +499,7 @@ class PrepaymentProgressComponent {
|
|
|
499
499
|
</div>
|
|
500
500
|
`, 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 }); }
|
|
501
501
|
}
|
|
502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PrepaymentProgressComponent, decorators: [{
|
|
503
503
|
type: Component,
|
|
504
504
|
args: [{
|
|
505
505
|
selector: 'abp-prepayment-progress',
|
|
@@ -525,8 +525,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
525
525
|
}], propDecorators: { gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
526
526
|
|
|
527
527
|
class PrePaymentLayoutComponent {
|
|
528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
529
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PrePaymentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: PrePaymentLayoutComponent, isStandalone: true, selector: "abp-prepayment-layout", ngImport: i0, template: `
|
|
530
530
|
<abp-page>
|
|
531
531
|
<div class="row">
|
|
532
532
|
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
|
|
@@ -536,7 +536,7 @@ class PrePaymentLayoutComponent {
|
|
|
536
536
|
</abp-page>
|
|
537
537
|
`, isInline: true, dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }] }); }
|
|
538
538
|
}
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PrePaymentLayoutComponent, decorators: [{
|
|
540
540
|
type: Component,
|
|
541
541
|
args: [{
|
|
542
542
|
selector: 'abp-prepayment-layout',
|
|
@@ -625,10 +625,10 @@ class StripePrepaymentComponent {
|
|
|
625
625
|
console.error('Stripe script loaded successfully but window.Stripe object cannot found');
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
629
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StripePrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
629
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", 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 }); }
|
|
630
630
|
}
|
|
631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StripePrepaymentComponent, decorators: [{
|
|
632
632
|
type: Component,
|
|
633
633
|
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" }]
|
|
634
634
|
}], 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 }] }] } });
|
|
@@ -672,10 +672,10 @@ class PayPalPrepaymentComponent {
|
|
|
672
672
|
}
|
|
673
673
|
});
|
|
674
674
|
}
|
|
675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
676
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PayPalPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
676
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", 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 }); }
|
|
677
677
|
}
|
|
678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PayPalPrepaymentComponent, decorators: [{
|
|
679
679
|
type: Component,
|
|
680
680
|
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" }]
|
|
681
681
|
}], 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 }] }] } });
|
|
@@ -734,10 +734,10 @@ class PayuPrepaymentComponent {
|
|
|
734
734
|
form.submit();
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
738
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PayuPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
738
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", 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 }); }
|
|
739
739
|
}
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PayuPrepaymentComponent, decorators: [{
|
|
741
741
|
type: Component,
|
|
742
742
|
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" }]
|
|
743
743
|
}], 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 }] }] } });
|
|
@@ -807,15 +807,15 @@ class IyzicoPrepaymentComponent {
|
|
|
807
807
|
}
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
811
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
810
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IyzicoPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
811
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", 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: [
|
|
812
812
|
{
|
|
813
813
|
provide: EXTENSIONS_IDENTIFIER,
|
|
814
814
|
useValue: "Payment.Iyzico.PrepaymentForm" /* ePaymentComponents.IyzicoPrepaymentForm */,
|
|
815
815
|
},
|
|
816
816
|
], 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]=\"true\">\r\n <abp-extensible-form [selectedRecord]=\"selectedRecord\" />\r\n <abp-card-footer>\r\n <button\r\n type=\"submit\"\r\n class=\"btn btn-success w-100\"\r\n [abpLoading]=\"prePaymentInProgress()\"\r\n [disabled]=\"form.invalid || prePaymentInProgress()\"\r\n >\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</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 }); }
|
|
817
817
|
}
|
|
818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IyzicoPrepaymentComponent, decorators: [{
|
|
819
819
|
type: Component,
|
|
820
820
|
args: [{ selector: 'abp-iyzico-prepayment', imports: [
|
|
821
821
|
ReactiveFormsModule,
|
|
@@ -875,10 +875,10 @@ class TwocheckoutPrepaymentComponent {
|
|
|
875
875
|
}
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
879
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TwocheckoutPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
879
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", 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 }); }
|
|
880
880
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TwocheckoutPrepaymentComponent, decorators: [{
|
|
882
882
|
type: Component,
|
|
883
883
|
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" }]
|
|
884
884
|
}], 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 }] }] } });
|
|
@@ -922,10 +922,10 @@ class AlipayPrepaymentComponent {
|
|
|
922
922
|
}
|
|
923
923
|
});
|
|
924
924
|
}
|
|
925
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
926
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
925
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AlipayPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
926
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", 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 }); }
|
|
927
927
|
}
|
|
928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AlipayPrepaymentComponent, decorators: [{
|
|
929
929
|
type: Component,
|
|
930
930
|
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" }]
|
|
931
931
|
}], 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 }] }] } });
|
|
@@ -1027,10 +1027,10 @@ class PrepaymentHostComponent {
|
|
|
1027
1027
|
this.componentRef().destroy();
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1031
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1030
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PrepaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1031
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: PrepaymentHostComponent, isStandalone: true, selector: "abp-prepayment-host", ngImport: i0, template: '', isInline: true }); }
|
|
1032
1032
|
}
|
|
1033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: PrepaymentHostComponent, decorators: [{
|
|
1034
1034
|
type: Component,
|
|
1035
1035
|
args: [{
|
|
1036
1036
|
selector: 'abp-prepayment-host',
|