@feedmepos/mf-payment 1.0.22 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/dist/{PayoutAccount-CfT28Qgv.js → PayoutAccount-BUGdrk2w.js} +3 -3
  2. package/dist/{PayoutAccount-BGw_W7Ue.js → PayoutAccount-DmZ7I_pl.js} +5 -5
  3. package/dist/{PayoutAccountSetting-B5uUHaTF.js → PayoutAccountSetting-dDfeEd-3.js} +3 -3
  4. package/dist/{Restaurant-DbAg20bj.js → Restaurant-CNEz684B.js} +4 -4
  5. package/dist/{RestaurantSetting-D5sNUOd9.js → RestaurantSetting-Dom2Xiek.js} +3 -3
  6. package/dist/{Settlement-iuYm19qa.js → Settlement-DNWbexFh.js} +3 -3
  7. package/dist/{Settlement-CzZ8Y8v5.js → Settlement-zYOcDru8.js} +3 -3
  8. package/dist/{SettlementTransactions-DtbFLz4D.js → SettlementTransactions-Bas5yiUq.js} +4 -4
  9. package/dist/{SettlementTransactions-rAR1NgKQ.js → SettlementTransactions-D_9BGeX4.js} +4 -4
  10. package/dist/{Terminal-lfz4Wq0q.js → Terminal-VcN7LXjy.js} +6 -6
  11. package/dist/{TerminalSetting-C8lw8Fgu.js → TerminalSetting-DLNkAZjB.js} +3 -3
  12. package/dist/{TerminalTransaction-DcAWemIK.js → TerminalTransaction-BEIRXDor.js} +5 -5
  13. package/dist/{TerminalTransaction-sTn_vgCM.js → TerminalTransaction-e167fF8-.js} +6 -6
  14. package/dist/{Transaction-D3XboVRi.js → Transaction-BTnJ1lcU.js} +5 -5
  15. package/dist/{Transaction-CKKeqzvR.js → Transaction-H2qlHRpa.js} +95 -103
  16. package/dist/{TransactionOld-Bp-srl5_.js → TransactionOld-CIuZAfzh.js} +4 -4
  17. package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-Bi7ZW_bx.js +159 -0
  18. package/dist/{app-0cQs9OWt.js → app-0Gz8hZiZ.js} +177 -177
  19. package/dist/app.js +1 -1
  20. package/dist/{assets-BjvJVTsz.js → assets-DRzFPsyC.js} +1 -1
  21. package/dist/{grafana-CuycLt4k.js → grafana-Ci9CfoG-.js} +2 -2
  22. package/dist/{index-DeUid_93.js → index-BQnxAbbe.js} +1 -1
  23. package/dist/{index-WnCqt6BH.js → index-BjIx-Vhv.js} +3620 -3489
  24. package/dist/{index-UV02LHu1.js → index-C4A4jnPD.js} +1 -1
  25. package/dist/{index-BXuo50Ge.js → index-C94UAyok.js} +1 -1
  26. package/dist/{index-iXA-4HBH.js → index-CSxUNXEu.js} +1 -1
  27. package/dist/{index-BsiQAXkR.js → index-CnUB7wMp.js} +1 -1
  28. package/dist/{index-Dkb0wiHu.js → index-DGI2FHMx.js} +1 -1
  29. package/dist/{index.vue_vue_type_script_setup_true_lang-DItAQGwT.js → index.vue_vue_type_script_setup_true_lang-DUdBc_f9.js} +1 -1
  30. package/dist/model/payout-account.d.ts +1 -1
  31. package/dist/model/transaction.d.ts +1 -1
  32. package/dist/package.json +2 -2
  33. package/dist/{payout-account-5iyJnfnp.js → payout-account-B_vycN2m.js} +2 -2
  34. package/dist/stores/payoutAccount.d.ts +2 -2
  35. package/dist/{transaction-DQE3s11C.js → transaction-DtnnuWV6.js} +2 -2
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +2 -2
  38. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +2 -2
  39. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +2 -2
  40. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
  41. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +2 -2
  42. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +2 -2
  43. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
  44. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +2 -2
  45. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +4 -4
  46. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +28 -28
  47. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +14 -14
  48. package/package.json +2 -2
  49. package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-dHvp3T2E.js +0 -167
@@ -1,167 +0,0 @@
1
- import { defineComponent as i, resolveComponent as _, openBlock as l, createBlock as g, normalizeClass as T, withCtx as h, createElementVNode as y, toDisplayString as N, createElementBlock as A, unref as f, ref as w, h as m } from "vue";
2
- import "@feedmepos/ui-library";
3
- import { e as p } from "./index-WnCqt6BH.js";
4
- import "./dinero-CIVmXLL-.js";
5
- import "./moment-h96o7c8I.js";
6
- import { g as E, a as x } from "./assets-BjvJVTsz.js";
7
- const F = /* @__PURE__ */ i({
8
- __name: "Status",
9
- props: {
10
- row: {},
11
- data: {}
12
- },
13
- setup(n) {
14
- const a = n;
15
- function r() {
16
- return a.data === p.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === p.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : a.data === p.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
17
- }
18
- return (o, c) => {
19
- const d = _("FmBadge");
20
- return l(), g(d, {
21
- inline: "",
22
- class: T(r())
23
- }, {
24
- default: h(() => [
25
- y("div", null, N(o.data), 1)
26
- ]),
27
- _: 1
28
- }, 8, ["class"]);
29
- };
30
- }
31
- }), I = ["src"], S = /* @__PURE__ */ i({
32
- __name: "Gateway",
33
- props: {
34
- row: {},
35
- data: {}
36
- },
37
- setup(n) {
38
- return (a, r) => (l(), A("img", {
39
- class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
40
- src: f(E)(a.row.original.gateway)
41
- }, null, 8, I));
42
- }
43
- }), b = ["src"], K = /* @__PURE__ */ i({
44
- __name: "Method",
45
- props: {
46
- row: {},
47
- data: {}
48
- },
49
- setup(n) {
50
- return (a, r) => {
51
- const o = _("FmTooltip");
52
- return l(), g(o, {
53
- variant: "plain",
54
- placement: "top",
55
- content: a.row.original.method.issuer,
56
- "hide-arrow": !0
57
- }, {
58
- default: h(() => [
59
- y("img", {
60
- class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
61
- src: f(x)(a.row.original.method.issuer, a.row.original.method.variant)
62
- }, null, 8, b)
63
- ]),
64
- _: 1
65
- }, 8, ["content"]);
66
- };
67
- }
68
- }), V = /* @__PURE__ */ i({
69
- __name: "TransactionTable",
70
- props: {
71
- data: {
72
- type: Array,
73
- required: !0
74
- },
75
- loading: {
76
- type: Boolean,
77
- required: !0
78
- }
79
- },
80
- emits: ["row-click"],
81
- setup(n, { emit: a }) {
82
- const r = n, o = a, c = w(""), d = [
83
- {
84
- header: () => "Transaction ID",
85
- accessorKey: "id"
86
- },
87
- {
88
- header: () => "Pay ID",
89
- accessorKey: "payId"
90
- },
91
- {
92
- header: () => "Bill Seq No",
93
- accessorKey: "seqNumber"
94
- },
95
- {
96
- header: () => "Gateway",
97
- accessorKey: "gateway",
98
- meta: {
99
- textAlign: "center"
100
- },
101
- cell: ({ cell: t, row: e }) => e.original.method ? m(S, { row: e, data: t.getValue() }) : ""
102
- },
103
- {
104
- header: () => "Method",
105
- accessorKey: "method",
106
- meta: {
107
- textAlign: "center"
108
- },
109
- cell: ({ cell: t, row: e }) => e.original.method ? m(K, { row: e, data: t.getValue() }) : ""
110
- },
111
- {
112
- header: () => "Type",
113
- accessorKey: "type",
114
- meta: {
115
- textAlign: "center"
116
- },
117
- cell: ({ row: t }) => {
118
- let e = "ONLINE";
119
- if (t.original.method != null) {
120
- const s = t.original.method.variant;
121
- s.includes("_ONLINE") && (e = "ONLINE"), s.includes("_OFFLINE") && (e = "OFFLINE");
122
- }
123
- return t.original.payType && (e = t.original.payType), e;
124
- }
125
- },
126
- {
127
- header: () => "Status",
128
- accessorKey: "status",
129
- cell: ({ cell: t, row: e }) => m(F, { row: e, data: t.getValue() })
130
- },
131
- {
132
- header: () => "Transaction At",
133
- accessorKey: "transactionAt",
134
- meta: {
135
- width: "180px"
136
- },
137
- cell: ({ cell: t, row: e }) => e.original.status === "REFUNDED" ? e.original.refundedAt : e.original.transactionAt
138
- },
139
- {
140
- header: () => "Sales Amount",
141
- accessorKey: "amount"
142
- },
143
- {
144
- header: () => "Fee",
145
- accessorKey: "fee"
146
- },
147
- {
148
- header: () => "Settlement Amount",
149
- accessorKey: "payout"
150
- }
151
- ];
152
- return (t, e) => {
153
- const s = _("FmTable");
154
- return l(), g(s, {
155
- modelValue: c.value,
156
- "onUpdate:modelValue": e[0] || (e[0] = (u) => c.value = u),
157
- "column-defs": d,
158
- "row-data": r.data,
159
- loading: r.loading,
160
- onRowClick: e[1] || (e[1] = (u) => o("row-click", r.data.at(u.index)))
161
- }, null, 8, ["modelValue", "row-data", "loading"]);
162
- };
163
- }
164
- });
165
- export {
166
- V as _
167
- };