@volo/abp.ng.payment 7.2.2 → 7.3.0-rc.2
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/README.md +129 -1
- package/admin/components/gateway-plans/gateway-plans.component.d.ts +31 -31
- package/admin/components/gateway-plans/gateway-plans.module.d.ts +15 -15
- package/admin/components/gateway-plans/index.d.ts +2 -2
- package/admin/components/index.d.ts +2 -2
- package/admin/components/plans/index.d.ts +2 -2
- package/admin/components/plans/plans.component.d.ts +31 -31
- package/admin/components/plans/plans.module.d.ts +15 -15
- package/admin/components/products/products.component.d.ts +22 -22
- package/admin/components/products/products.module.d.ts +13 -13
- package/admin/components/requests/requests-search-form/requests-search-form.component.d.ts +14 -14
- package/admin/components/requests/requests.component.d.ts +17 -17
- package/admin/components/requests/requests.module.d.ts +17 -17
- package/admin/components/subscription-tooltip/subscription-tooltip.component.d.ts +9 -9
- package/admin/components/subscription-tooltip/subscription-tooltip.module.d.ts +10 -10
- package/admin/config/enums/index.d.ts +2 -2
- package/admin/config/enums/policy-names.d.ts +11 -11
- package/admin/config/enums/route-names.d.ts +5 -5
- package/admin/config/index.d.ts +5 -5
- package/admin/config/payment-admin-config.module.d.ts +8 -8
- package/admin/config/providers/index.d.ts +1 -1
- package/admin/config/providers/route.provider.d.ts +8 -8
- package/admin/config/public-api.d.ts +3 -3
- package/admin/defaults/gateway-plans/default-gateway-plans-entity-actions.d.ts +3 -3
- package/admin/defaults/gateway-plans/default-gateway-plans-entity-props.d.ts +3 -3
- package/admin/defaults/gateway-plans/default-gateway-plans-form-props.d.ts +4 -4
- package/admin/defaults/gateway-plans/default-gateway-plans-toolbar-actions.d.ts +3 -3
- package/admin/defaults/gateway-plans/index.d.ts +2 -2
- package/admin/defaults/index.d.ts +2 -2
- package/admin/defaults/plans/default-plans-entity-actions.d.ts +3 -3
- package/admin/defaults/plans/default-plans-entity-props.d.ts +3 -3
- package/admin/defaults/plans/default-plans-form-props.d.ts +4 -4
- package/admin/defaults/plans/default-plans-toolbar-actions.d.ts +3 -3
- package/admin/defaults/plans/index.d.ts +4 -4
- package/admin/defaults/products/default-products-entity-props.d.ts +2 -2
- package/admin/defaults/products/index.d.ts +1 -1
- package/admin/defaults/requests/default-requests-entity-actions.d.ts +3 -3
- package/admin/defaults/requests/default-requests-entity-props.d.ts +3 -3
- package/admin/enums/components.d.ts +6 -6
- package/admin/enums/index.d.ts +1 -1
- package/admin/index.d.ts +5 -5
- package/admin/models/config-options.d.ts +30 -30
- package/admin/models/index.d.ts +1 -1
- package/admin/models/subscription-tooltip-data.d.ts +4 -4
- package/admin/payment-admin-routing.module.d.ts +7 -7
- package/admin/payment-admin.module.d.ts +15 -15
- package/admin/payment.initializer.d.ts +10 -11
- package/admin/public-api.d.ts +9 -9
- package/admin/tokens/extensions.token.d.ts +49 -49
- package/admin/tokens/index.d.ts +1 -1
- package/admin/utils/get-subscription-status.d.ts +4 -4
- package/admin/utils/index.d.ts +1 -1
- package/esm2022/admin/components/gateway-plans/gateway-plans.component.mjs +102 -0
- package/esm2022/admin/components/gateway-plans/gateway-plans.module.mjs +50 -0
- package/{esm2020 → esm2022}/admin/components/gateway-plans/index.mjs +2 -2
- package/{esm2020 → esm2022}/admin/components/index.mjs +2 -2
- package/{esm2020 → esm2022}/admin/components/plans/index.mjs +2 -2
- package/esm2022/admin/components/plans/plans.component.mjs +101 -0
- package/esm2022/admin/components/plans/plans.module.mjs +50 -0
- package/esm2022/admin/components/products/products.component.mjs +60 -0
- package/esm2022/admin/components/products/products.module.mjs +40 -0
- package/esm2022/admin/components/requests/requests-search-form/requests-search-form.component.mjs +34 -0
- package/esm2022/admin/components/requests/requests.component.mjs +47 -0
- package/esm2022/admin/components/requests/requests.module.mjs +53 -0
- package/esm2022/admin/components/subscription-tooltip/subscription-tooltip.component.mjs +24 -0
- package/esm2022/admin/components/subscription-tooltip/subscription-tooltip.module.mjs +21 -0
- package/{esm2020 → esm2022}/admin/config/enums/index.mjs +2 -2
- package/{esm2020 → esm2022}/admin/config/enums/policy-names.mjs +1 -1
- package/{esm2020 → esm2022}/admin/config/enums/route-names.mjs +1 -1
- package/esm2022/admin/config/payment-admin-config.module.mjs +20 -0
- package/{esm2020 → esm2022}/admin/config/providers/index.mjs +1 -1
- package/{esm2020 → esm2022}/admin/config/providers/route.provider.mjs +38 -38
- package/{esm2020 → esm2022}/admin/config/public-api.mjs +3 -3
- package/{esm2020 → esm2022}/admin/config/volo-abp.ng.payment-admin-config.mjs +4 -4
- package/{esm2020 → esm2022}/admin/defaults/gateway-plans/default-gateway-plans-entity-actions.mjs +20 -20
- package/{esm2020 → esm2022}/admin/defaults/gateway-plans/default-gateway-plans-entity-props.mjs +15 -15
- package/{esm2020 → esm2022}/admin/defaults/gateway-plans/default-gateway-plans-form-props.mjs +39 -39
- package/{esm2020 → esm2022}/admin/defaults/gateway-plans/default-gateway-plans-toolbar-actions.mjs +13 -13
- package/{esm2020 → esm2022}/admin/defaults/gateway-plans/index.mjs +2 -2
- package/{esm2020 → esm2022}/admin/defaults/index.mjs +2 -2
- package/{esm2020 → esm2022}/admin/defaults/plans/default-plans-entity-actions.mjs +28 -28
- package/{esm2020 → esm2022}/admin/defaults/plans/default-plans-entity-props.mjs +9 -9
- package/{esm2020 → esm2022}/admin/defaults/plans/default-plans-form-props.mjs +12 -12
- package/{esm2020 → esm2022}/admin/defaults/plans/default-plans-toolbar-actions.mjs +13 -13
- package/{esm2020 → esm2022}/admin/defaults/plans/index.mjs +4 -4
- package/{esm2020 → esm2022}/admin/defaults/products/default-products-entity-props.mjs +42 -42
- package/{esm2020 → esm2022}/admin/defaults/products/index.mjs +1 -1
- package/{esm2020 → esm2022}/admin/defaults/requests/default-requests-entity-actions.mjs +12 -12
- package/{esm2020 → esm2022}/admin/defaults/requests/default-requests-entity-props.mjs +43 -43
- package/{esm2020 → esm2022}/admin/enums/components.mjs +1 -1
- package/{esm2020 → esm2022}/admin/enums/index.mjs +1 -1
- package/{esm2020 → esm2022}/admin/models/config-options.mjs +1 -1
- package/{esm2020 → esm2022}/admin/models/index.mjs +1 -1
- package/{esm2020 → esm2022}/admin/models/subscription-tooltip-data.mjs +1 -1
- package/{esm2020 → esm2022}/admin/payment-admin-routing.module.mjs +81 -80
- package/esm2022/admin/payment-admin.module.mjs +69 -0
- package/esm2022/admin/payment.initializer.mjs +37 -0
- package/{esm2020 → esm2022}/admin/public-api.mjs +9 -9
- package/{esm2020 → esm2022}/admin/tokens/extensions.token.mjs +40 -40
- package/{esm2020 → esm2022}/admin/tokens/index.mjs +1 -1
- package/{esm2020 → esm2022}/admin/utils/get-subscription-status.mjs +4 -4
- package/{esm2020 → esm2022}/admin/utils/index.mjs +1 -1
- package/{esm2020 → esm2022}/admin/volo-abp.ng.payment-admin.mjs +4 -4
- package/{esm2020 → esm2022}/proxy/lib/index.mjs +5 -5
- package/{esm2020 → esm2022}/proxy/lib/proxy/admin/plans/index.mjs +2 -2
- package/{esm2020 → esm2022}/proxy/lib/proxy/admin/plans/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/admin/plans/plan-admin.service.mjs +63 -0
- package/{esm2020 → esm2022}/proxy/lib/proxy/admin/requests/index.mjs +2 -2
- package/{esm2020 → esm2022}/proxy/lib/proxy/admin/requests/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/admin/requests/payment-request-admin.service.mjs +29 -0
- package/esm2022/proxy/lib/proxy/gateways/gateway.service.mjs +28 -0
- package/{esm2020 → esm2022}/proxy/lib/proxy/gateways/index.mjs +2 -2
- package/{esm2020 → esm2022}/proxy/lib/proxy/gateways/models.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/lib/proxy/plans/index.mjs +2 -2
- package/{esm2020 → esm2022}/proxy/lib/proxy/plans/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/plans/plan.service.mjs +28 -0
- package/{esm2020 → esm2022}/proxy/lib/proxy/requests/index.mjs +3 -3
- package/{esm2020 → esm2022}/proxy/lib/proxy/requests/models.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/lib/proxy/requests/payment-request-state.enum.mjs +9 -9
- package/{esm2020 → esm2022}/proxy/lib/proxy/requests/payment-type.enum.mjs +7 -7
- package/{esm2020 → esm2022}/proxy/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/volo-abp.ng.payment-proxy.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/volo-abp.ng.payment.mjs +4 -4
- package/{fesm2020 → fesm2022}/volo-abp.ng.payment-admin-config.mjs +51 -51
- package/{fesm2020 → fesm2022}/volo-abp.ng.payment-admin-config.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/volo-abp.ng.payment-admin.mjs +811 -811
- package/fesm2022/volo-abp.ng.payment-admin.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/volo-abp.ng.payment-proxy.mjs +134 -134
- package/{fesm2015 → fesm2022}/volo-abp.ng.payment-proxy.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/volo-abp.ng.payment.mjs +2 -2
- package/index.d.ts +5 -5
- package/package.json +39 -32
- package/proxy/index.d.ts +5 -5
- package/proxy/lib/index.d.ts +5 -5
- package/proxy/lib/proxy/admin/plans/index.d.ts +2 -2
- package/proxy/lib/proxy/admin/plans/models.d.ts +20 -20
- package/proxy/lib/proxy/admin/plans/plan-admin.service.d.ts +21 -21
- package/proxy/lib/proxy/admin/requests/index.d.ts +2 -2
- package/proxy/lib/proxy/admin/requests/models.d.ts +10 -10
- package/proxy/lib/proxy/admin/requests/payment-request-admin.service.d.ts +14 -14
- package/proxy/lib/proxy/gateways/gateway.service.d.ts +12 -12
- package/proxy/lib/proxy/gateways/index.d.ts +2 -2
- package/proxy/lib/proxy/gateways/models.d.ts +5 -5
- package/proxy/lib/proxy/plans/index.d.ts +2 -2
- package/proxy/lib/proxy/plans/models.d.ts +10 -10
- package/proxy/lib/proxy/plans/plan.service.d.ts +12 -12
- package/proxy/lib/proxy/requests/index.d.ts +3 -3
- package/proxy/lib/proxy/requests/models.d.ts +25 -25
- package/proxy/lib/proxy/requests/payment-request-state.enum.d.ts +7 -7
- package/proxy/lib/proxy/requests/payment-type.enum.d.ts +5 -5
- package/proxy/public-api.d.ts +1 -1
- package/public-api.d.ts +1 -1
- package/esm2020/admin/components/gateway-plans/gateway-plans.component.mjs +0 -101
- package/esm2020/admin/components/gateway-plans/gateway-plans.module.mjs +0 -49
- package/esm2020/admin/components/plans/plans.component.mjs +0 -100
- package/esm2020/admin/components/plans/plans.module.mjs +0 -49
- package/esm2020/admin/components/products/products.component.mjs +0 -59
- package/esm2020/admin/components/products/products.module.mjs +0 -39
- package/esm2020/admin/components/requests/requests-search-form/requests-search-form.component.mjs +0 -33
- package/esm2020/admin/components/requests/requests.component.mjs +0 -46
- package/esm2020/admin/components/requests/requests.module.mjs +0 -52
- package/esm2020/admin/components/subscription-tooltip/subscription-tooltip.component.mjs +0 -23
- package/esm2020/admin/components/subscription-tooltip/subscription-tooltip.module.mjs +0 -20
- package/esm2020/admin/config/payment-admin-config.module.mjs +0 -19
- package/esm2020/admin/payment-admin.module.mjs +0 -68
- package/esm2020/admin/payment.initializer.mjs +0 -36
- package/esm2020/proxy/lib/proxy/admin/plans/plan-admin.service.mjs +0 -62
- package/esm2020/proxy/lib/proxy/admin/requests/payment-request-admin.service.mjs +0 -28
- package/esm2020/proxy/lib/proxy/gateways/gateway.service.mjs +0 -27
- package/esm2020/proxy/lib/proxy/plans/plan.service.mjs +0 -27
- package/fesm2015/volo-abp.ng.payment-admin-config.mjs +0 -63
- package/fesm2015/volo-abp.ng.payment-admin-config.mjs.map +0 -1
- package/fesm2015/volo-abp.ng.payment-admin.mjs +0 -899
- package/fesm2015/volo-abp.ng.payment-admin.mjs.map +0 -1
- package/fesm2015/volo-abp.ng.payment-proxy.mjs +0 -155
- package/fesm2020/volo-abp.ng.payment-admin.mjs.map +0 -1
- package/fesm2020/volo-abp.ng.payment-proxy.mjs.map +0 -1
- package/fesm2020/volo-abp.ng.payment.mjs +0 -4
- package/fesm2020/volo-abp.ng.payment.mjs.map +0 -1
- package/proxy/src/lib/proxy/README.md +0 -17
- /package/{fesm2015 → fesm2022}/volo-abp.ng.payment.mjs.map +0 -0
package/package.json
CHANGED
|
@@ -1,22 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.payment",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0-rc.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@abp/ng.core": ">=7.
|
|
6
|
-
"@abp/ng.theme-shared": ">=
|
|
5
|
+
"@abp/ng.core": ">=7.3.0-rc.2",
|
|
6
|
+
"@abp/ng.theme-shared": ">=7.3.0-rc.2"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@volo/abp.commercial.ng.ui": "~7.
|
|
9
|
+
"@volo/abp.commercial.ng.ui": "~7.3.0-rc.2",
|
|
10
10
|
"tslib": "^2.0.0"
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
"homepage": "https://abp.io",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/volosoft/volo.git"
|
|
19
|
+
},
|
|
20
|
+
"license": "LGPL-3.0",
|
|
21
|
+
"keywords": [
|
|
22
|
+
"aspnetcore",
|
|
23
|
+
"boilerplate",
|
|
24
|
+
"framework",
|
|
25
|
+
"web",
|
|
26
|
+
"best-practices",
|
|
27
|
+
"angular",
|
|
28
|
+
"maui",
|
|
29
|
+
"blazor",
|
|
30
|
+
"mvc",
|
|
31
|
+
"csharp",
|
|
32
|
+
"webapp"
|
|
33
|
+
],
|
|
34
|
+
"module": "fesm2022/volo-abp.ng.payment.mjs",
|
|
20
35
|
"typings": "index.d.ts",
|
|
21
36
|
"exports": {
|
|
22
37
|
"./package.json": {
|
|
@@ -24,35 +39,27 @@
|
|
|
24
39
|
},
|
|
25
40
|
".": {
|
|
26
41
|
"types": "./index.d.ts",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"node": "./fesm2015/volo-abp.ng.payment.mjs",
|
|
31
|
-
"default": "./fesm2020/volo-abp.ng.payment.mjs"
|
|
32
|
-
},
|
|
33
|
-
"./admin/config": {
|
|
34
|
-
"types": "./admin/config/index.d.ts",
|
|
35
|
-
"esm2020": "./esm2020/admin/config/volo-abp.ng.payment-admin-config.mjs",
|
|
36
|
-
"es2020": "./fesm2020/volo-abp.ng.payment-admin-config.mjs",
|
|
37
|
-
"es2015": "./fesm2015/volo-abp.ng.payment-admin-config.mjs",
|
|
38
|
-
"node": "./fesm2015/volo-abp.ng.payment-admin-config.mjs",
|
|
39
|
-
"default": "./fesm2020/volo-abp.ng.payment-admin-config.mjs"
|
|
42
|
+
"esm2022": "./esm2022/volo-abp.ng.payment.mjs",
|
|
43
|
+
"esm": "./esm2022/volo-abp.ng.payment.mjs",
|
|
44
|
+
"default": "./fesm2022/volo-abp.ng.payment.mjs"
|
|
40
45
|
},
|
|
41
46
|
"./admin": {
|
|
42
47
|
"types": "./admin/index.d.ts",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"node": "./fesm2015/volo-abp.ng.payment-admin.mjs",
|
|
47
|
-
"default": "./fesm2020/volo-abp.ng.payment-admin.mjs"
|
|
48
|
+
"esm2022": "./esm2022/admin/volo-abp.ng.payment-admin.mjs",
|
|
49
|
+
"esm": "./esm2022/admin/volo-abp.ng.payment-admin.mjs",
|
|
50
|
+
"default": "./fesm2022/volo-abp.ng.payment-admin.mjs"
|
|
48
51
|
},
|
|
49
52
|
"./proxy": {
|
|
50
53
|
"types": "./proxy/index.d.ts",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
"esm2022": "./esm2022/proxy/volo-abp.ng.payment-proxy.mjs",
|
|
55
|
+
"esm": "./esm2022/proxy/volo-abp.ng.payment-proxy.mjs",
|
|
56
|
+
"default": "./fesm2022/volo-abp.ng.payment-proxy.mjs"
|
|
57
|
+
},
|
|
58
|
+
"./admin/config": {
|
|
59
|
+
"types": "./admin/config/index.d.ts",
|
|
60
|
+
"esm2022": "./esm2022/admin/config/volo-abp.ng.payment-admin-config.mjs",
|
|
61
|
+
"esm": "./esm2022/admin/config/volo-abp.ng.payment-admin-config.mjs",
|
|
62
|
+
"default": "./fesm2022/volo-abp.ng.payment-admin-config.mjs"
|
|
56
63
|
}
|
|
57
64
|
},
|
|
58
65
|
"sideEffects": false
|
package/proxy/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@volo/abp.ng.payment/proxy" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@volo/abp.ng.payment/proxy" />
|
|
5
|
+
export * from './public-api';
|
package/proxy/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './proxy/admin/plans';
|
|
2
|
-
export * from './proxy/admin/requests';
|
|
3
|
-
export * from './proxy/gateways';
|
|
4
|
-
export * from './proxy/plans';
|
|
5
|
-
export * from './proxy/requests';
|
|
1
|
+
export * from './proxy/admin/plans';
|
|
2
|
+
export * from './proxy/admin/requests';
|
|
3
|
+
export * from './proxy/gateways';
|
|
4
|
+
export * from './proxy/plans';
|
|
5
|
+
export * from './proxy/requests';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './plan-admin.service';
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './plan-admin.service';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
-
export interface GatewayPlanCreateInput extends ExtensibleObject {
|
|
3
|
-
gateway: string;
|
|
4
|
-
externalId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface GatewayPlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
7
|
-
filter?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GatewayPlanUpdateInput extends ExtensibleObject {
|
|
10
|
-
externalId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PlanCreateInput extends ExtensibleObject {
|
|
13
|
-
name: string;
|
|
14
|
-
}
|
|
15
|
-
export interface PlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
16
|
-
filter?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface PlanUpdateInput extends PlanCreateInput {
|
|
19
|
-
concurrencyStamp?: string;
|
|
20
|
-
}
|
|
1
|
+
import type { ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
+
export interface GatewayPlanCreateInput extends ExtensibleObject {
|
|
3
|
+
gateway: string;
|
|
4
|
+
externalId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface GatewayPlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
7
|
+
filter?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GatewayPlanUpdateInput extends ExtensibleObject {
|
|
10
|
+
externalId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface PlanCreateInput extends ExtensibleObject {
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
16
|
+
filter?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface PlanUpdateInput extends PlanCreateInput {
|
|
19
|
+
concurrencyStamp?: string;
|
|
20
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type { GatewayPlanCreateInput, GatewayPlanGetListInput, GatewayPlanUpdateInput, PlanCreateInput, PlanGetListInput, PlanUpdateInput } from './models';
|
|
2
|
-
import { RestService } from '@abp/ng.core';
|
|
3
|
-
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import type { GatewayPlanDto, PlanDto } from '../../plans/models';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PlanAdminService {
|
|
7
|
-
private restService;
|
|
8
|
-
apiName: string;
|
|
9
|
-
create: (input: PlanCreateInput) => import("rxjs").Observable<PlanDto>;
|
|
10
|
-
createGatewayPlan: (planId: string, input: GatewayPlanCreateInput) => import("rxjs").Observable<void>;
|
|
11
|
-
delete: (id: string) => import("rxjs").Observable<void>;
|
|
12
|
-
deleteGatewayPlan: (planId: string, gateway: string) => import("rxjs").Observable<void>;
|
|
13
|
-
get: (id: string) => import("rxjs").Observable<PlanDto>;
|
|
14
|
-
getGatewayPlans: (planId: string, input: GatewayPlanGetListInput) => import("rxjs").Observable<PagedResultDto<GatewayPlanDto>>;
|
|
15
|
-
getList: (input: PlanGetListInput) => import("rxjs").Observable<PagedResultDto<PlanDto>>;
|
|
16
|
-
update: (id: string, input: PlanUpdateInput) => import("rxjs").Observable<PlanDto>;
|
|
17
|
-
updateGatewayPlan: (planId: string, gateway: string, input: GatewayPlanUpdateInput) => import("rxjs").Observable<void>;
|
|
18
|
-
constructor(restService: RestService);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PlanAdminService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PlanAdminService>;
|
|
21
|
-
}
|
|
1
|
+
import type { GatewayPlanCreateInput, GatewayPlanGetListInput, GatewayPlanUpdateInput, PlanCreateInput, PlanGetListInput, PlanUpdateInput } from './models';
|
|
2
|
+
import { RestService } from '@abp/ng.core';
|
|
3
|
+
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
+
import type { GatewayPlanDto, PlanDto } from '../../plans/models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PlanAdminService {
|
|
7
|
+
private restService;
|
|
8
|
+
apiName: string;
|
|
9
|
+
create: (input: PlanCreateInput) => import("rxjs").Observable<PlanDto>;
|
|
10
|
+
createGatewayPlan: (planId: string, input: GatewayPlanCreateInput) => import("rxjs").Observable<void>;
|
|
11
|
+
delete: (id: string) => import("rxjs").Observable<void>;
|
|
12
|
+
deleteGatewayPlan: (planId: string, gateway: string) => import("rxjs").Observable<void>;
|
|
13
|
+
get: (id: string) => import("rxjs").Observable<PlanDto>;
|
|
14
|
+
getGatewayPlans: (planId: string, input: GatewayPlanGetListInput) => import("rxjs").Observable<PagedResultDto<GatewayPlanDto>>;
|
|
15
|
+
getList: (input: PlanGetListInput) => import("rxjs").Observable<PagedResultDto<PlanDto>>;
|
|
16
|
+
update: (id: string, input: PlanUpdateInput) => import("rxjs").Observable<PlanDto>;
|
|
17
|
+
updateGatewayPlan: (planId: string, gateway: string, input: GatewayPlanUpdateInput) => import("rxjs").Observable<void>;
|
|
18
|
+
constructor(restService: RestService);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlanAdminService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlanAdminService>;
|
|
21
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './payment-request-admin.service';
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './payment-request-admin.service';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
-
import type { PaymentType } from '../../requests/payment-type.enum';
|
|
3
|
-
import type { PaymentRequestState } from '../../requests/payment-request-state.enum';
|
|
4
|
-
export interface PaymentRequestGetListInput extends PagedAndSortedResultRequestDto {
|
|
5
|
-
filter?: string;
|
|
6
|
-
creationDateMax?: string;
|
|
7
|
-
creationDateMin?: string;
|
|
8
|
-
paymentType?: PaymentType;
|
|
9
|
-
status?: PaymentRequestState;
|
|
10
|
-
}
|
|
1
|
+
import type { PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
+
import type { PaymentType } from '../../requests/payment-type.enum';
|
|
3
|
+
import type { PaymentRequestState } from '../../requests/payment-request-state.enum';
|
|
4
|
+
export interface PaymentRequestGetListInput extends PagedAndSortedResultRequestDto {
|
|
5
|
+
filter?: string;
|
|
6
|
+
creationDateMax?: string;
|
|
7
|
+
creationDateMin?: string;
|
|
8
|
+
paymentType?: PaymentType;
|
|
9
|
+
status?: PaymentRequestState;
|
|
10
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { PaymentRequestGetListInput } from './models';
|
|
2
|
-
import { RestService } from '@abp/ng.core';
|
|
3
|
-
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import type { PaymentRequestWithDetailsDto } from '../../requests/models';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PaymentRequestAdminService {
|
|
7
|
-
private restService;
|
|
8
|
-
apiName: string;
|
|
9
|
-
get: (id: string) => import("rxjs").Observable<PaymentRequestWithDetailsDto>;
|
|
10
|
-
getList: (input: PaymentRequestGetListInput) => import("rxjs").Observable<PagedResultDto<PaymentRequestWithDetailsDto>>;
|
|
11
|
-
constructor(restService: RestService);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentRequestAdminService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentRequestAdminService>;
|
|
14
|
-
}
|
|
1
|
+
import type { PaymentRequestGetListInput } from './models';
|
|
2
|
+
import { RestService } from '@abp/ng.core';
|
|
3
|
+
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
+
import type { PaymentRequestWithDetailsDto } from '../../requests/models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PaymentRequestAdminService {
|
|
7
|
+
private restService;
|
|
8
|
+
apiName: string;
|
|
9
|
+
get: (id: string) => import("rxjs").Observable<PaymentRequestWithDetailsDto>;
|
|
10
|
+
getList: (input: PaymentRequestGetListInput) => import("rxjs").Observable<PagedResultDto<PaymentRequestWithDetailsDto>>;
|
|
11
|
+
constructor(restService: RestService);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentRequestAdminService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentRequestAdminService>;
|
|
14
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { GatewayDto } from './models';
|
|
2
|
-
import { RestService } from '@abp/ng.core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GatewayService {
|
|
5
|
-
private restService;
|
|
6
|
-
apiName: string;
|
|
7
|
-
getGatewayConfiguration: () => import("rxjs").Observable<GatewayDto[]>;
|
|
8
|
-
getSubscriptionSupportedGateways: () => import("rxjs").Observable<GatewayDto[]>;
|
|
9
|
-
constructor(restService: RestService);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GatewayService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GatewayService>;
|
|
12
|
-
}
|
|
1
|
+
import type { GatewayDto } from './models';
|
|
2
|
+
import { RestService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GatewayService {
|
|
5
|
+
private restService;
|
|
6
|
+
apiName: string;
|
|
7
|
+
getGatewayConfiguration: () => import("rxjs").Observable<GatewayDto[]>;
|
|
8
|
+
getSubscriptionSupportedGateways: () => import("rxjs").Observable<GatewayDto[]>;
|
|
9
|
+
constructor(restService: RestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GatewayService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GatewayService>;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './gateway.service';
|
|
2
|
-
export * from './models';
|
|
1
|
+
export * from './gateway.service';
|
|
2
|
+
export * from './models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EntityDto } from '@abp/ng.core';
|
|
2
|
-
export interface GatewayDto extends EntityDto {
|
|
3
|
-
name?: string;
|
|
4
|
-
displayName?: string;
|
|
5
|
-
}
|
|
1
|
+
import type { EntityDto } from '@abp/ng.core';
|
|
2
|
+
export interface GatewayDto extends EntityDto {
|
|
3
|
+
name?: string;
|
|
4
|
+
displayName?: string;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './plan.service';
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './plan.service';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ExtensibleEntityDto } from '@abp/ng.core';
|
|
2
|
-
export interface GatewayPlanDto extends ExtensibleEntityDto {
|
|
3
|
-
planId?: string;
|
|
4
|
-
gateway?: string;
|
|
5
|
-
externalId?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface PlanDto extends ExtensibleEntityDto<string> {
|
|
8
|
-
name?: string;
|
|
9
|
-
concurrencyStamp?: string;
|
|
10
|
-
}
|
|
1
|
+
import type { ExtensibleEntityDto } from '@abp/ng.core';
|
|
2
|
+
export interface GatewayPlanDto extends ExtensibleEntityDto {
|
|
3
|
+
planId?: string;
|
|
4
|
+
gateway?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface PlanDto extends ExtensibleEntityDto<string> {
|
|
8
|
+
name?: string;
|
|
9
|
+
concurrencyStamp?: string;
|
|
10
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { GatewayPlanDto, PlanDto } from './models';
|
|
2
|
-
import { RestService } from '@abp/ng.core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PlanService {
|
|
5
|
-
private restService;
|
|
6
|
-
apiName: string;
|
|
7
|
-
getGatewayPlan: (planId: string, gateway: string) => import("rxjs").Observable<GatewayPlanDto>;
|
|
8
|
-
getPlanList: () => import("rxjs").Observable<PlanDto[]>;
|
|
9
|
-
constructor(restService: RestService);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PlanService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PlanService>;
|
|
12
|
-
}
|
|
1
|
+
import type { GatewayPlanDto, PlanDto } from './models';
|
|
2
|
+
import { RestService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PlanService {
|
|
5
|
+
private restService;
|
|
6
|
+
apiName: string;
|
|
7
|
+
getGatewayPlan: (planId: string, gateway: string) => import("rxjs").Observable<GatewayPlanDto>;
|
|
8
|
+
getPlanList: () => import("rxjs").Observable<PlanDto[]>;
|
|
9
|
+
constructor(restService: RestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlanService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlanService>;
|
|
12
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './payment-request-state.enum';
|
|
3
|
-
export * from './payment-type.enum';
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './payment-request-state.enum';
|
|
3
|
+
export * from './payment-type.enum';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import type { PaymentType } from './payment-type.enum';
|
|
2
|
-
import type { ExtensibleEntityDto } from '@abp/ng.core';
|
|
3
|
-
import type { PaymentRequestState } from './payment-request-state.enum';
|
|
4
|
-
export interface PaymentRequestProductDto {
|
|
5
|
-
paymentRequestId?: string;
|
|
6
|
-
code?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
unitPrice: number;
|
|
9
|
-
count: number;
|
|
10
|
-
totalPrice: number;
|
|
11
|
-
paymentType: PaymentType;
|
|
12
|
-
planId?: string;
|
|
13
|
-
extraProperties: Record<string, object>;
|
|
14
|
-
}
|
|
15
|
-
export interface PaymentRequestWithDetailsDto extends ExtensibleEntityDto<string> {
|
|
16
|
-
products: PaymentRequestProductDto[];
|
|
17
|
-
currency?: string;
|
|
18
|
-
state: PaymentRequestState;
|
|
19
|
-
failReason?: string;
|
|
20
|
-
emailSendDate?: string;
|
|
21
|
-
gateway?: string;
|
|
22
|
-
externalSubscriptionId?: string;
|
|
23
|
-
totalPrice: number;
|
|
24
|
-
creationTime?: string;
|
|
25
|
-
}
|
|
1
|
+
import type { PaymentType } from './payment-type.enum';
|
|
2
|
+
import type { ExtensibleEntityDto } from '@abp/ng.core';
|
|
3
|
+
import type { PaymentRequestState } from './payment-request-state.enum';
|
|
4
|
+
export interface PaymentRequestProductDto {
|
|
5
|
+
paymentRequestId?: string;
|
|
6
|
+
code?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
unitPrice: number;
|
|
9
|
+
count: number;
|
|
10
|
+
totalPrice: number;
|
|
11
|
+
paymentType: PaymentType;
|
|
12
|
+
planId?: string;
|
|
13
|
+
extraProperties: Record<string, object>;
|
|
14
|
+
}
|
|
15
|
+
export interface PaymentRequestWithDetailsDto extends ExtensibleEntityDto<string> {
|
|
16
|
+
products: PaymentRequestProductDto[];
|
|
17
|
+
currency?: string;
|
|
18
|
+
state: PaymentRequestState;
|
|
19
|
+
failReason?: string;
|
|
20
|
+
emailSendDate?: string;
|
|
21
|
+
gateway?: string;
|
|
22
|
+
externalSubscriptionId?: string;
|
|
23
|
+
totalPrice: number;
|
|
24
|
+
creationTime?: string;
|
|
25
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum PaymentRequestState {
|
|
2
|
-
Waiting = 0,
|
|
3
|
-
Completed = 1,
|
|
4
|
-
Failed = 2,
|
|
5
|
-
Refunded = 3
|
|
6
|
-
}
|
|
7
|
-
export declare const paymentRequestStateOptions: import("@abp/ng.core").ABP.Option<typeof PaymentRequestState>[];
|
|
1
|
+
export declare enum PaymentRequestState {
|
|
2
|
+
Waiting = 0,
|
|
3
|
+
Completed = 1,
|
|
4
|
+
Failed = 2,
|
|
5
|
+
Refunded = 3
|
|
6
|
+
}
|
|
7
|
+
export declare const paymentRequestStateOptions: import("@abp/ng.core").ABP.Option<typeof PaymentRequestState>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum PaymentType {
|
|
2
|
-
OneTime = 0,
|
|
3
|
-
Subscription = 1
|
|
4
|
-
}
|
|
5
|
-
export declare const paymentTypeOptions: import("@abp/ng.core").ABP.Option<typeof PaymentType>[];
|
|
1
|
+
export declare enum PaymentType {
|
|
2
|
+
OneTime = 0,
|
|
3
|
+
Subscription = 1
|
|
4
|
+
}
|
|
5
|
+
export declare const paymentTypeOptions: import("@abp/ng.core").ABP.Option<typeof PaymentType>[];
|
package/proxy/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib/index';
|
|
1
|
+
export * from './lib/index';
|
package/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ListService } from '@abp/ng.core';
|
|
2
|
-
import { Confirmation, ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
-
import { EXTENSIONS_IDENTIFIER, FormPropData, generateFormFromProps, } from '@abp/ng.theme.shared/extensions';
|
|
4
|
-
import { Component, Injector, ViewEncapsulation } from '@angular/core';
|
|
5
|
-
import { ActivatedRoute } from '@angular/router';
|
|
6
|
-
import { PlanAdminService, PlanService } from '@volo/abp.ng.payment/proxy';
|
|
7
|
-
import { finalize, take } from 'rxjs/operators';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@volo/abp.ng.payment/proxy";
|
|
10
|
-
import * as i2 from "@abp/ng.core";
|
|
11
|
-
import * as i3 from "@abp/ng.theme.shared";
|
|
12
|
-
import * as i4 from "@angular/router";
|
|
13
|
-
import * as i5 from "@angular/common";
|
|
14
|
-
import * as i6 from "@abp/ng.components/page";
|
|
15
|
-
import * as i7 from "@abp/ng.theme.shared/extensions";
|
|
16
|
-
import * as i8 from "@angular/forms";
|
|
17
|
-
import * as i9 from "@ngx-validate/core";
|
|
18
|
-
import * as i10 from "@volo/abp.commercial.ng.ui";
|
|
19
|
-
export class GatewayPlansComponent {
|
|
20
|
-
constructor(planService, list, injector, confirmationService, activatedRoute) {
|
|
21
|
-
this.planService = planService;
|
|
22
|
-
this.list = list;
|
|
23
|
-
this.injector = injector;
|
|
24
|
-
this.confirmationService = confirmationService;
|
|
25
|
-
this.activatedRoute = activatedRoute;
|
|
26
|
-
this.isModalVisible = false;
|
|
27
|
-
this.modalBusy = false;
|
|
28
|
-
this.service = injector.get(PlanAdminService);
|
|
29
|
-
this.data$ = this.list.hookToQuery(input => this.service.getGatewayPlans(this.planId, input));
|
|
30
|
-
}
|
|
31
|
-
get planId() {
|
|
32
|
-
return this.activatedRoute.snapshot.params.planId;
|
|
33
|
-
}
|
|
34
|
-
onEdit(id) {
|
|
35
|
-
this.planService
|
|
36
|
-
.getGatewayPlan(this.planId, id)
|
|
37
|
-
.pipe(take(1))
|
|
38
|
-
.subscribe(selectedGatewayPlan => {
|
|
39
|
-
this.selected = selectedGatewayPlan;
|
|
40
|
-
this.openModal();
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
onDelete(gateway) {
|
|
44
|
-
this.confirmationService
|
|
45
|
-
.warn('Payment::GatewayPlanDeletionConfirmationMessage', 'AbpUi::AreYouSure', {
|
|
46
|
-
messageLocalizationParams: [gateway],
|
|
47
|
-
})
|
|
48
|
-
.subscribe((status) => {
|
|
49
|
-
if (status === Confirmation.Status.confirm) {
|
|
50
|
-
this.service.deleteGatewayPlan(this.planId, gateway).subscribe(() => this.list.get());
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
onAdd() {
|
|
55
|
-
this.selected = {};
|
|
56
|
-
this.openModal();
|
|
57
|
-
}
|
|
58
|
-
openModal() {
|
|
59
|
-
this.createForm();
|
|
60
|
-
this.isModalVisible = true;
|
|
61
|
-
}
|
|
62
|
-
save() {
|
|
63
|
-
if (!this.form.valid)
|
|
64
|
-
return;
|
|
65
|
-
this.modalBusy = true;
|
|
66
|
-
let stream;
|
|
67
|
-
if (this.selected.gateway) {
|
|
68
|
-
stream = this.service.updateGatewayPlan(this.planId, this.selected.gateway, this.form.value);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
stream = this.service.createGatewayPlan(this.planId, this.form.value);
|
|
72
|
-
}
|
|
73
|
-
stream.pipe(finalize(() => (this.modalBusy = false))).subscribe(() => {
|
|
74
|
-
this.list.get();
|
|
75
|
-
this.isModalVisible = false;
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
createForm() {
|
|
79
|
-
const data = new FormPropData(this.injector, this.selected);
|
|
80
|
-
this.form = generateFormFromProps(data);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
GatewayPlansComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: GatewayPlansComponent, deps: [{ token: i1.PlanService }, { token: i2.ListService }, { token: i0.Injector }, { token: i3.ConfirmationService }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
-
GatewayPlansComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: GatewayPlansComponent, selector: "abp-gateway-plans", providers: [
|
|
85
|
-
ListService,
|
|
86
|
-
{
|
|
87
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
88
|
-
useValue: "Payment.GatewayPlans" /* ePaymentComponents.GatewayPlans */,
|
|
89
|
-
},
|
|
90
|
-
], ngImport: i0, template: "<ng-container *ngIf=\"data$ | async; let data\">\r\n <abp-page [title]=\"'Payment::GatewayPlans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"Payment\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n\r\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.gateway ? 'Payment::Edit' : 'Payment::NewGatewayPlan') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i7.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i7.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "directive", type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i9.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i3.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i3.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i10.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }], encapsulation: i0.ViewEncapsulation.None });
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: GatewayPlansComponent, decorators: [{
|
|
92
|
-
type: Component,
|
|
93
|
-
args: [{ selector: 'abp-gateway-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
94
|
-
ListService,
|
|
95
|
-
{
|
|
96
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
97
|
-
useValue: "Payment.GatewayPlans" /* ePaymentComponents.GatewayPlans */,
|
|
98
|
-
},
|
|
99
|
-
], template: "<ng-container *ngIf=\"data$ | async; let data\">\r\n <abp-page [title]=\"'Payment::GatewayPlans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"Payment\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n\r\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.gateway ? 'Payment::Edit' : 'Payment::NewGatewayPlan') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n</ng-container>\r\n" }]
|
|
100
|
-
}], ctorParameters: function () { return [{ type: i1.PlanService }, { type: i2.ListService }, { type: i0.Injector }, { type: i3.ConfirmationService }, { type: i4.ActivatedRoute }]; } });
|
|
101
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2F0ZXdheS1wbGFucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wYXltZW50L2FkbWluL3NyYy9jb21wb25lbnRzL2dhdGV3YXktcGxhbnMvZ2F0ZXdheS1wbGFucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wYXltZW50L2F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