xyvcard-settle 0.0.22 → 0.0.24

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.
Files changed (30) hide show
  1. package/dist/{history-B8rLL6cg.mjs → history-C3l8NaI6.mjs} +1 -1
  2. package/dist/{history-DOq3Euuf.mjs → history-DQ0J8NCy.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs → history.vue_vue_type_script_setup_true_lang-B8FBizdu.mjs} +17 -18
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BcoBU5uq.mjs → history.vue_vue_type_script_setup_true_lang-DB8PERVD.mjs} +64 -63
  5. package/dist/index--l5ns2E2.mjs +690 -0
  6. package/dist/{index-BgQiV0cV.mjs → index-B1h4IWy4.mjs} +2 -2
  7. package/dist/{index-CEE_6GTV.mjs → index-BwZZ71lS.mjs} +118 -104
  8. package/dist/{index-0UYX9qoK.mjs → index-C9xiSbGi.mjs} +118 -101
  9. package/dist/{index-C3Kdmtt0.mjs → index-D0mKdcOp.mjs} +2 -2
  10. package/dist/index-DXSCg5PP.mjs +102 -0
  11. package/dist/{index-DEjceLAF.mjs → index-DsYV-De4.mjs} +166 -141
  12. package/dist/{index-Cd659aKC.mjs → index-Gj815brY.mjs} +145 -144
  13. package/dist/index.mjs +73 -66
  14. package/dist/style.css +1 -0
  15. package/dist/{today-CGeC5FRK.mjs → today-DK4xzzKV.mjs} +1 -1
  16. package/dist/{today-CjR56HHC.mjs → today-DX1djaLC.mjs} +1 -1
  17. package/dist/{today.vue_vue_type_script_setup_true_lang-Cv8Zmnrj.mjs → today.vue_vue_type_script_setup_true_lang-BBSo18Bt.mjs} +90 -99
  18. package/dist/{today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs → today.vue_vue_type_script_setup_true_lang-C7uvcmd6.mjs} +10 -10
  19. package/dts/src/api/settle/index.d.ts +1 -0
  20. package/dts/src/api/settle/pay-trade/types.d.ts +1 -0
  21. package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -0
  22. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -0
  23. package/dts/src/api/settle/settle-trade-merchant/types.d.ts +3 -0
  24. package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +2 -0
  25. package/dts/src/constant.d.ts +1 -0
  26. package/dts/src/lang/settle/en.d.ts +0 -89
  27. package/dts/src/lang/settle/zh-cn.d.ts +9 -0
  28. package/package.json +61 -61
  29. package/dist/index-NM7NGo1Y.mjs +0 -534
  30. package/dist/index-q_VWJKNr.mjs +0 -99
@@ -1,99 +0,0 @@
1
- var p = Object.defineProperty;
2
- var y = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
- var a = (e, t, s) => y(e, typeof t != "symbol" ? t + "" : t, s);
4
- import { BizLayDict as d, BizDict as l, EnumDict as h } from "jmash-core";
5
- import { infoApi as A } from "xyvcard-agent";
6
- import { institutionApi as E } from "xyvcard-insts";
7
- import { merchantsApi as T } from "xyvcard-merchant";
8
- class i {
9
- }
10
- //模块
11
- a(i, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
12
- a(i, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 支付方式
13
- a(i, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
14
- a(i, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType"), // 支付状态
15
- a(i, "ORDER_STATUS", "xyvcard.payment.protobuf.OrderStatus"), // 支付状态
16
- a(i, "AGENT_AGREE", "AGENT_AGREE");
17
- function o(e, t, s) {
18
- return !Array.isArray(e) || e.length === 0 ? [] : e.map((r) => {
19
- let c = [];
20
- return Array.isArray(r.children) && r.children.length > 0 && (c = o(r.children, t, s)), {
21
- value: r[s],
22
- label: r[t],
23
- parentId: r.parentId,
24
- children: c
25
- };
26
- });
27
- }
28
- class m extends d {
29
- // 实现 useValues 方法
30
- useValues() {
31
- return new Promise((t, s) => {
32
- this.query.approved = i.AGENT_AGREE, this.query.hasApproved = !0, A.findList(this.query).then(({ data: n }) => {
33
- this.values.length = 0, this.values.push(
34
- ...o(n.results, "agentAlias", "agentCode")
35
- ), t(this.values);
36
- }).catch(s);
37
- });
38
- }
39
- }
40
- class D extends l {
41
- // 实现 useValues 方法
42
- useValues() {
43
- return new Promise((t, s) => {
44
- E.findList(this.query).then(({ data: n }) => {
45
- console.log(n, "=> data2");
46
- const r = n.results;
47
- this.values.length = 0, this.values.push(
48
- ...r.map(
49
- (c) => ({
50
- key: c.instsId,
51
- value: c.instsName
52
- })
53
- )
54
- ), t(this.values);
55
- }).catch(s);
56
- });
57
- }
58
- }
59
- class v extends l {
60
- // 实现 useValues 方法
61
- useValues() {
62
- return new Promise((t, s) => {
63
- T.findList(this.query).then(({ data: n }) => {
64
- console.log(n, "=> data2");
65
- const r = n.results;
66
- this.values.length = 0, this.values.push(
67
- ...r.map(
68
- (c) => ({
69
- key: c.merchantId,
70
- value: c.merchantName
71
- })
72
- )
73
- ), t(this.values);
74
- }).catch(s);
75
- });
76
- }
77
- }
78
- class u {
79
- }
80
- // 代理商
81
- a(u, "agentBizDict", new m({})), // 落地机构
82
- a(u, "instsBizDict", new D({})), // 商户名称
83
- a(u, "merchantBizDict", new v({})), // 支付方式
84
- a(u, "payModeBizDict", new h(
85
- i.PAYMENT_DICT,
86
- i.PAY_MODE
87
- )), // 交易类型
88
- a(u, "tradeTypeBizDict", new h(
89
- i.PAYMENT_DICT,
90
- i.TRADE_TYPE
91
- )), // 支付状态
92
- a(u, "orderStatusBizDict", new h(
93
- i.PAYMENT_DICT,
94
- i.ORDER_STATUS
95
- ));
96
- export {
97
- i as C,
98
- u as D
99
- };