zova-module-a-pay 5.0.0
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/cli/openapi.config.ts +9 -0
- package/dist/.metadata/component/paymentNextAction.d.ts +26 -0
- package/dist/.metadata/component/paymentNextAction.d.ts.map +1 -0
- package/dist/.metadata/index.d.ts +171 -0
- package/dist/.metadata/index.d.ts.map +1 -0
- package/dist/.metadata/this.d.ts +3 -0
- package/dist/.metadata/this.d.ts.map +1 -0
- package/dist/api/openapi/baseURL.d.ts +3 -0
- package/dist/api/openapi/baseURL.d.ts.map +1 -0
- package/dist/api/openapi/index.d.ts +4 -0
- package/dist/api/openapi/index.d.ts.map +1 -0
- package/dist/api/openapi/schemas.d.ts +328 -0
- package/dist/api/openapi/schemas.d.ts.map +1 -0
- package/dist/api/openapi/types.d.ts +9129 -0
- package/dist/api/openapi/types.d.ts.map +1 -0
- package/dist/api/paymentSession.d.ts +66 -0
- package/dist/api/paymentSession.d.ts.map +1 -0
- package/dist/apiSchema/paymentSession.d.ts +7 -0
- package/dist/apiSchema/paymentSession.d.ts.map +1 -0
- package/dist/component/paymentNextAction/controller.d.ts +15 -0
- package/dist/component/paymentNextAction/controller.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +153 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/model/paymentSession.d.ts +549 -0
- package/dist/model/paymentSession.d.ts.map +1 -0
- package/dist/service/paymentCoordinator.d.ts +6 -0
- package/dist/service/paymentCoordinator.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/payment.d.ts +24 -0
- package/dist/types/payment.d.ts.map +1 -0
- package/package.json +34 -0
- package/src/.metadata/component/paymentNextAction.ts +31 -0
- package/src/.metadata/index.ts +217 -0
- package/src/.metadata/this.ts +2 -0
- package/src/api/openapi/baseURL.ts +5 -0
- package/src/api/openapi/index.ts +3 -0
- package/src/api/openapi/schemas.ts +584 -0
- package/src/api/openapi/types.ts +9324 -0
- package/src/api/paymentSession.ts +52 -0
- package/src/apiSchema/paymentSession.ts +20 -0
- package/src/component/paymentNextAction/controller.tsx +76 -0
- package/src/index.ts +3 -0
- package/src/lib/index.ts +1 -0
- package/src/model/paymentSession.ts +32 -0
- package/src/service/paymentCoordinator.ts +13 -0
- package/src/types/index.ts +1 -0
- package/src/types/payment.ts +25 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { BeanBase, BeanControllerBase, BeanInfo, BeanScopeBase, Use, prepareComponentOptions, useController } from "zova";
|
|
2
|
+
import { BeanModelBase, Model } from "zova-module-a-model";
|
|
3
|
+
import { Api, ApiSchema, BeanApiBase } from "zova-module-a-api";
|
|
4
|
+
import { Controller, Scope, Service } from "zova-module-a-bean";
|
|
5
|
+
import { createTextVNode, createVNode, defineComponent } from "vue";
|
|
6
|
+
//#region src/model/paymentSession.ts
|
|
7
|
+
var _dec$5, _dec2$5, _class$5;
|
|
8
|
+
var ModelPaymentSession = (_dec$5 = Model(), _dec2$5 = BeanInfo({ module: "a-pay" }), _dec$5(_class$5 = _dec2$5(_class$5 = class ModelPaymentSession extends BeanModelBase {
|
|
9
|
+
view(id) {
|
|
10
|
+
if (!process.env.CLIENT || !this.$passport.isAuthenticated) return;
|
|
11
|
+
return this.$useStateData({
|
|
12
|
+
queryKey: ["view", id],
|
|
13
|
+
queryFn: async () => {
|
|
14
|
+
return await this.scope.api.paymentSession.view({ params: { id } });
|
|
15
|
+
},
|
|
16
|
+
meta: { disableSuspenseOnInit: true }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
start(id) {
|
|
20
|
+
return this.$useMutationData({
|
|
21
|
+
mutationKey: ["start", id],
|
|
22
|
+
mutationFn: async () => {
|
|
23
|
+
return await this.scope.api.paymentSession.start(void 0, { params: { id } });
|
|
24
|
+
},
|
|
25
|
+
onSuccess: async () => {
|
|
26
|
+
await this.$invalidateQueries({ queryKey: ["view", id] });
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}) || _class$5) || _class$5);
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/api/openapi/baseURL.ts
|
|
33
|
+
var OpenApiBaseURL = (sys) => {
|
|
34
|
+
return sys.util.getOpenApiBaseURL("OPENAPI_BASE_URL_A_PAY");
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/api/paymentSession.ts
|
|
38
|
+
var _dec$4, _dec2$4, _class$4;
|
|
39
|
+
/** PaymentSession_start */
|
|
40
|
+
var ApiApiPaymentSessionstartPath = "/api/payment-session/{id}/start";
|
|
41
|
+
/** PaymentSession_view */
|
|
42
|
+
var ApiApiPaymentSessionviewPath = "/api/payment-session/{id}";
|
|
43
|
+
var ApiPaymentSession = (_dec$4 = Api(), _dec2$4 = BeanInfo({ module: "a-pay" }), _dec$4(_class$4 = _dec2$4(_class$4 = class ApiPaymentSession extends BeanApiBase {
|
|
44
|
+
start(body, options) {
|
|
45
|
+
return this.$fetch.post(this.$pathTranslate("/api/payment-session/{id}/start", options.params), body, this.$configPrepare(OpenApiBaseURL(this.sys), options, true));
|
|
46
|
+
}
|
|
47
|
+
view(options) {
|
|
48
|
+
return this.$fetch.get(this.$pathTranslate("/api/payment-session/{id}", options.params), this.$configPrepare(OpenApiBaseURL(this.sys), options, true));
|
|
49
|
+
}
|
|
50
|
+
}) || _class$4) || _class$4);
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/apiSchema/paymentSession.ts
|
|
53
|
+
var _dec$3, _dec2$3, _class$3;
|
|
54
|
+
var ApiSchemaPaymentSession = (_dec$3 = ApiSchema(), _dec2$3 = BeanInfo({ module: "a-pay" }), _dec$3(_class$3 = _dec2$3(_class$3 = class ApiSchemaPaymentSession extends BeanBase {
|
|
55
|
+
start(options) {
|
|
56
|
+
return this.$sdk.createApiSchemas("/api/payment-session/{id}/start", "post", options);
|
|
57
|
+
}
|
|
58
|
+
view(options) {
|
|
59
|
+
return this.$sdk.createApiSchemas("/api/payment-session/{id}", "get", options);
|
|
60
|
+
}
|
|
61
|
+
}) || _class$3) || _class$3);
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/service/paymentCoordinator.ts
|
|
64
|
+
var _dec$2, _dec2$2, _class$2;
|
|
65
|
+
var ServicePaymentCoordinator$1 = (_dec$2 = Service(), _dec2$2 = BeanInfo({ module: "a-pay" }), _dec$2(_class$2 = _dec2$2(_class$2 = class ServicePaymentCoordinator extends BeanBase {
|
|
66
|
+
async execute(action) {
|
|
67
|
+
if (action.kind !== "redirect") return;
|
|
68
|
+
if (!process.env.CLIENT) return;
|
|
69
|
+
window.location.assign(action.url);
|
|
70
|
+
}
|
|
71
|
+
}) || _class$2) || _class$2);
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/component/paymentNextAction/controller.tsx
|
|
74
|
+
var _dec$1, _dec2$1, _dec3, _dec4, _class$1, _class2, _descriptor, _ControllerPaymentNextAction;
|
|
75
|
+
function _initializerDefineProperty(e, i, r, l) {
|
|
76
|
+
r && Object.defineProperty(e, i, {
|
|
77
|
+
enumerable: r.enumerable,
|
|
78
|
+
configurable: r.configurable,
|
|
79
|
+
writable: r.writable,
|
|
80
|
+
value: r.initializer ? r.initializer.call(l) : void 0
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
function _applyDecoratedDescriptor(i, e, r, n, l) {
|
|
84
|
+
var a = {};
|
|
85
|
+
return Object.keys(n).forEach(function(i) {
|
|
86
|
+
a[i] = n[i];
|
|
87
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function(r, n) {
|
|
88
|
+
return n(i, e, r) || r;
|
|
89
|
+
}, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a;
|
|
90
|
+
}
|
|
91
|
+
var ControllerPaymentNextAction = (_dec$1 = Controller(), _dec2$1 = BeanInfo({ module: "a-pay" }), _dec3 = Use(), _dec4 = Reflect.metadata("design:type", typeof ServicePaymentCoordinator === "undefined" ? Object : ServicePaymentCoordinator), _dec$1(_class$1 = _dec2$1(_class$1 = (_class2 = (_ControllerPaymentNextAction = class ControllerPaymentNextAction extends BeanControllerBase {
|
|
92
|
+
constructor(...args) {
|
|
93
|
+
super(...args);
|
|
94
|
+
_initializerDefineProperty(this, "$$paymentCoordinator", _descriptor, this);
|
|
95
|
+
}
|
|
96
|
+
async continueRedirect() {
|
|
97
|
+
const action = this.$props.action;
|
|
98
|
+
if (action?.kind !== "redirect" || this.$props.disabled) return;
|
|
99
|
+
await this.$$paymentCoordinator.execute(action);
|
|
100
|
+
}
|
|
101
|
+
render() {
|
|
102
|
+
const { action, disabled, onRefresh } = this.$props;
|
|
103
|
+
if (!action) return null;
|
|
104
|
+
if (action.kind === "redirect") return createVNode("div", { "class": "mt-6 space-y-3" }, [createVNode("p", { "class": "text-base-content/70" }, [createTextVNode("Continue to the payment provider to complete payment.")]), createVNode("button", {
|
|
105
|
+
"class": "btn btn-primary",
|
|
106
|
+
"disabled": disabled,
|
|
107
|
+
"onClick": () => this.continueRedirect()
|
|
108
|
+
}, [createTextVNode("Continue to payment")])]);
|
|
109
|
+
if (action.kind === "pending") return createVNode("div", {
|
|
110
|
+
"class": "mt-6 space-y-3",
|
|
111
|
+
"aria-live": "polite"
|
|
112
|
+
}, [createVNode("p", { "class": "text-base-content/70" }, [
|
|
113
|
+
createTextVNode("Payment is being prepared"),
|
|
114
|
+
action.retryAfterSeconds ? `; retrying in about ${action.retryAfterSeconds} seconds` : "",
|
|
115
|
+
createTextVNode(".")
|
|
116
|
+
]), onRefresh && createVNode("button", {
|
|
117
|
+
"class": "btn btn-outline",
|
|
118
|
+
"disabled": disabled,
|
|
119
|
+
"onClick": () => onRefresh()
|
|
120
|
+
}, [createTextVNode("Refresh payment status")])]);
|
|
121
|
+
if (action.kind === "completed") return createVNode("p", {
|
|
122
|
+
"class": "mt-6 text-base-content/70",
|
|
123
|
+
"aria-live": "polite"
|
|
124
|
+
}, [createTextVNode("Payment is complete. Confirming the order…")]);
|
|
125
|
+
return createVNode("div", {
|
|
126
|
+
"class": "mt-6",
|
|
127
|
+
"aria-live": "polite"
|
|
128
|
+
}, [createVNode("p", { "class": "text-base-content/70" }, [createTextVNode("Embedded checkout will be available when this payment provider is configured.")])]);
|
|
129
|
+
}
|
|
130
|
+
}, _ControllerPaymentNextAction.$propsDefault = {}, _ControllerPaymentNextAction), _descriptor = _applyDecoratedDescriptor(_class2.prototype, "$$paymentCoordinator", [_dec3, _dec4], {
|
|
131
|
+
configurable: true,
|
|
132
|
+
enumerable: true,
|
|
133
|
+
writable: true,
|
|
134
|
+
initializer: null
|
|
135
|
+
}), _class2)) || _class$1) || _class$1);
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/.metadata/component/paymentNextAction.ts
|
|
138
|
+
var ZPaymentNextAction = defineComponent((_props) => {
|
|
139
|
+
useController(ControllerPaymentNextAction, void 0, void 0);
|
|
140
|
+
return () => {};
|
|
141
|
+
}, prepareComponentOptions());
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/.metadata/index.ts
|
|
144
|
+
/** components: end */
|
|
145
|
+
/** scope: begin */
|
|
146
|
+
var _dec, _dec2, _class;
|
|
147
|
+
var components = { "paymentNextAction": ZPaymentNextAction };
|
|
148
|
+
var ScopeModuleAPay = (_dec = Scope(), _dec2 = BeanInfo({ module: "a-pay" }), _dec(_class = _dec2(_class = class ScopeModuleAPay extends BeanScopeBase {}) || _class) || _class);
|
|
149
|
+
/** scope: end */
|
|
150
|
+
//#endregion
|
|
151
|
+
export { ApiApiPaymentSessionstartPath, ApiApiPaymentSessionviewPath, ApiPaymentSession, ApiSchemaPaymentSession, ControllerPaymentNextAction, ModelPaymentSession, OpenApiBaseURL, ScopeModuleAPay, ServicePaymentCoordinator$1 as ServicePaymentCoordinator, ZPaymentNextAction, components };
|
|
152
|
+
|
|
153
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["BeanControllerBase","Use","Controller","ControllerPaymentNextAction","_dec","_dec2","__z_BeanInfo","module","_dec3","_dec4","Reflect","metadata","ServicePaymentCoordinator","Object","_class","_class2","_ControllerPaymentNextAction","constructor","args","_initializerDefineProperty","_descriptor","continueRedirect","action","$props","kind","disabled","$$paymentCoordinator","execute","render","onRefresh","_createVNode","_createTextVNode","onClick","retryAfterSeconds","$propsDefault","_applyDecoratedDescriptor","prototype","configurable","enumerable","writable","initializer"],"sources":["../src/model/paymentSession.ts","../src/api/openapi/baseURL.ts","../src/api/paymentSession.ts","../src/apiSchema/paymentSession.ts","../src/service/paymentCoordinator.ts","../src/component/paymentNextAction/controller.tsx","../src/.metadata/component/paymentNextAction.ts","../src/.metadata/index.ts"],"sourcesContent":["var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanModelBase, Model } from 'zova-module-a-model';\nexport let ModelPaymentSession = (_dec = Model(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ModelPaymentSession extends BeanModelBase {\n view(id) {\n if (!process.env.CLIENT || !this.$passport.isAuthenticated) return;\n return this.$useStateData({\n queryKey: ['view', id],\n queryFn: async () => {\n return await this.scope.api.paymentSession.view({\n params: {\n id\n }\n });\n },\n meta: {\n disableSuspenseOnInit: true\n }\n });\n }\n start(id) {\n return this.$useMutationData({\n mutationKey: ['start', id],\n mutationFn: async () => {\n return await this.scope.api.paymentSession.start(undefined, {\n params: {\n id\n }\n });\n },\n onSuccess: async () => {\n await this.$invalidateQueries({\n queryKey: ['view', id]\n });\n }\n });\n }\n}) || _class) || _class);","export const OpenApiBaseURL = sys => {\n return sys.util.getOpenApiBaseURL('OPENAPI_BASE_URL_A_PAY');\n};","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { Api, BeanApiBase } from 'zova-module-a-api';\nimport { OpenApiBaseURL } from './openapi/index.js';\n\n/** PaymentSession_start */\nexport const ApiApiPaymentSessionstartPath = '/api/payment-session/{id}/start';\n/** PaymentSession_view */\nexport const ApiApiPaymentSessionviewPath = '/api/payment-session/{id}';\nexport let ApiPaymentSession = (_dec = Api(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ApiPaymentSession extends BeanApiBase {\n start(body, options) {\n return this.$fetch.post(this.$pathTranslate(ApiApiPaymentSessionstartPath, options.params), body, this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n view(options) {\n return this.$fetch.get(this.$pathTranslate(ApiApiPaymentSessionviewPath, options.params), this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBase } from 'zova';\nimport { ApiSchema } from 'zova-module-a-api';\nimport { ApiApiPaymentSessionstartPath, ApiApiPaymentSessionviewPath } from '../api/paymentSession.js';\nexport let ApiSchemaPaymentSession = (_dec = ApiSchema(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ApiSchemaPaymentSession extends BeanBase {\n start(options) {\n return this.$sdk.createApiSchemas(ApiApiPaymentSessionstartPath, 'post', options);\n }\n view(options) {\n return this.$sdk.createApiSchemas(ApiApiPaymentSessionviewPath, 'get', options);\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBase } from 'zova';\nimport { Service } from 'zova-module-a-bean';\nexport let ServicePaymentCoordinator = (_dec = Service(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ServicePaymentCoordinator extends BeanBase {\n async execute(action) {\n if (action.kind !== 'redirect') return;\n if (!process.env.CLIENT) return;\n window.location.assign(action.url);\n }\n}) || _class) || _class);","import { BeanControllerBase, Use } from 'zova';\nimport { Controller } from 'zova-module-a-bean';\n\nimport type { ServicePaymentCoordinator } from '../../service/paymentCoordinator.js';\nimport type { TypePaymentNextAction } from '../../types/payment.js';\n\nexport interface ControllerPaymentNextActionProps {\n action?: TypePaymentNextAction;\n disabled?: boolean;\n onRefresh?: () => void | Promise<void>;\n}\n\n@Controller()\nexport class ControllerPaymentNextAction extends BeanControllerBase {\n static $propsDefault = {};\n\n @Use()\n $$paymentCoordinator: ServicePaymentCoordinator;\n\n async continueRedirect() {\n const action = this.$props.action;\n if (action?.kind !== 'redirect' || this.$props.disabled) return;\n await this.$$paymentCoordinator.execute(action);\n }\n\n protected render() {\n const { action, disabled, onRefresh } = this.$props as ControllerPaymentNextActionProps;\n if (!action) return null;\n if (action.kind === 'redirect') {\n return (\n <div class=\"mt-6 space-y-3\">\n <p class=\"text-base-content/70\">Continue to the payment provider to complete payment.</p>\n <button\n class=\"btn btn-primary\"\n disabled={disabled}\n onClick={() => this.continueRedirect()}\n >\n Continue to payment\n </button>\n </div>\n );\n }\n if (action.kind === 'pending') {\n return (\n <div class=\"mt-6 space-y-3\" aria-live=\"polite\">\n <p class=\"text-base-content/70\">\n Payment is being prepared\n {action.retryAfterSeconds\n ? `; retrying in about ${action.retryAfterSeconds} seconds`\n : ''}\n .\n </p>\n {onRefresh && (\n <button class=\"btn btn-outline\" disabled={disabled} onClick={() => onRefresh()}>\n Refresh payment status\n </button>\n )}\n </div>\n );\n }\n if (action.kind === 'completed') {\n return (\n <p class=\"mt-6 text-base-content/70\" aria-live=\"polite\">\n Payment is complete. Confirming the order…\n </p>\n );\n }\n return (\n <div class=\"mt-6\" aria-live=\"polite\">\n <p class=\"text-base-content/70\">\n Embedded checkout will be available when this payment provider is configured.\n </p>\n </div>\n );\n }\n}\n","import { defineComponent } from 'vue';\nimport { prepareComponentOptions, useController } from 'zova';\nimport { ControllerPaymentNextAction } from '../../component/paymentNextAction/controller.jsx';\nexport const ZPaymentNextAction = defineComponent(_props => {\n useController(ControllerPaymentNextAction, undefined, undefined);\n return () => {};\n}, prepareComponentOptions());","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\n// eslint-disable\n/** model: begin */\nexport * from '../model/paymentSession.js';\nimport 'zova-module-a-model';\n/** model: end */\n/** model: begin */\nimport { ModelPaymentSession } from '../model/paymentSession.js';\nimport 'zova';\n/** model: end */\n/** api: begin */\nexport * from '../api/paymentSession.js';\nimport 'zova';\n/** api: end */\n/** api: begin */\nimport { ApiPaymentSession } from '../api/paymentSession.js';\n/** api: end */\n/** api: begin */\n\nimport 'zova';\n/** api: end */\n/** openapi: begin */\nexport * from '../api/openapi/index.js';\n/** openapi: end */\n/** apiSchema: begin */\nexport * from '../apiSchema/paymentSession.js';\nimport 'zova';\n/** apiSchema: end */\n/** apiSchema: begin */\nimport { ApiSchemaPaymentSession } from '../apiSchema/paymentSession.js';\n/** apiSchema: end */\n/** apiSchema: begin */\n\nimport 'zova';\n/** apiSchema: end */\n/** service: begin */\nexport * from '../service/paymentCoordinator.js';\nimport 'zova-module-a-bean';\n/** service: end */\n/** service: begin */\nimport { ServicePaymentCoordinator } from '../service/paymentCoordinator.js';\nimport 'zova';\n/** service: end */\n/** controller: begin */\nexport * from '../component/paymentNextAction/controller.jsx';\nimport 'zova';\n/** controller: end */\n/** controller: begin */\nimport { ControllerPaymentNextAction } from '../component/paymentNextAction/controller.jsx';\nimport 'zova';\n/** controller: end */\n\n/** components: begin */\nexport * from './component/paymentNextAction.js';\nimport { ZPaymentNextAction } from './component/paymentNextAction.js';\nexport const components = {\n 'paymentNextAction': ZPaymentNextAction\n};\nimport 'zova';\n/** components: end */\n/** scope: begin */\nimport { BeanScopeBase } from 'zova';\nimport { Scope } from 'zova-module-a-bean';\nexport let ScopeModuleAPay = (_dec = Scope(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ScopeModuleAPay extends BeanScopeBase {}) || _class) || _class);\nimport 'zova';\n\n/** scope: end */"],"mappings":";;;;;;AAAA,IAAI,QAAM,SAAO;AAGjB,IAAW,uBAAuB,SAAO,MAAM,GAAG,UAAQ,SAAa,EACrE,QAAQ,QACV,CAAC,GAAG,OAAK,WAAS,QAAM,WAAS,MAAM,4BAA4B,cAAc;CAC/E,KAAK,IAAI;EACP,IAAI,CAAC,QAAQ,IAAI,UAAU,CAAC,KAAK,UAAU,iBAAiB;EAC5D,OAAO,KAAK,cAAc;GACxB,UAAU,CAAC,QAAQ,EAAE;GACrB,SAAS,YAAY;IACnB,OAAO,MAAM,KAAK,MAAM,IAAI,eAAe,KAAK,EAC9C,QAAQ,EACN,GACF,EACF,CAAC;GACH;GACA,MAAM,EACJ,uBAAuB,KACzB;EACF,CAAC;CACH;CACA,MAAM,IAAI;EACR,OAAO,KAAK,iBAAiB;GAC3B,aAAa,CAAC,SAAS,EAAE;GACzB,YAAY,YAAY;IACtB,OAAO,MAAM,KAAK,MAAM,IAAI,eAAe,MAAM,KAAA,GAAW,EAC1D,QAAQ,EACN,GACF,EACF,CAAC;GACH;GACA,WAAW,YAAY;IACrB,MAAM,KAAK,mBAAmB,EAC5B,UAAU,CAAC,QAAQ,EAAE,EACvB,CAAC;GACH;EACF,CAAC;CACH;AACF,CAAC,KAAK,QAAM,KAAK;;;ACvCjB,IAAa,kBAAiB,QAAO;CACnC,OAAO,IAAI,KAAK,kBAAkB,wBAAwB;AAC5D;;;ACFA,IAAI,QAAM,SAAO;;AAMjB,IAAa,gCAAgC;;AAE7C,IAAa,+BAA+B;AAC5C,IAAW,qBAAqB,SAAO,IAAI,GAAG,UAAQ,SAAa,EACjE,QAAQ,QACV,CAAC,GAAG,OAAK,WAAS,QAAM,WAAS,MAAM,0BAA0B,YAAY;CAC3E,MAAM,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