@feedmepos/mf-payment 0.0.0-beta.9 → 1.0.0-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/README.md +11 -1
  2. package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js +39 -0
  3. package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
  4. package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
  5. package/dist/Modal-DB8M9o1T.js +13 -0
  6. package/dist/PayoutAccount-Ce_7sGf-.js +613 -0
  7. package/dist/{PayoutAccount-DLhMMlw_.js → PayoutAccount-ip4hKBE0.js} +96 -83
  8. package/dist/PayoutAccountSetting-kUQLeAcb.js +780 -0
  9. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
  10. package/dist/SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js +42 -0
  11. package/dist/Settlement-Crdfq22j.js +149 -0
  12. package/dist/Settlement-JHOJNkhd.js +194 -0
  13. package/dist/{SettlementTransactions-CoEzdtYT.js → SettlementTransactions-BxuLXUR-.js} +99 -105
  14. package/dist/{SettlementTransactions-Dl1H4jvh.js → SettlementTransactions-daWMAmtz.js} +117 -130
  15. package/dist/Terminal-gxGnjFGc.js +372 -0
  16. package/dist/TerminalSetting--ZAJJ_Hf.js +379 -0
  17. package/dist/TerminalTransaction-B2RjE2Y0.js +435 -0
  18. package/dist/TerminalTransaction-CCfrLWpi.js +259 -0
  19. package/dist/Transaction-8LlOLPeZ.js +404 -0
  20. package/dist/Transaction-DRQ_uZ30.js +241 -0
  21. package/dist/api/index.d.ts +14 -0
  22. package/dist/api/pagination.d.ts +20 -0
  23. package/dist/api/payment-gateway/index.d.ts +9 -0
  24. package/dist/api/settlement/index.d.ts +12 -13
  25. package/dist/api/terminal/index.d.ts +13 -1
  26. package/dist/api/terminal-transaction/index.d.ts +12 -1
  27. package/dist/api/transaction/index.d.ts +7 -2
  28. package/dist/app-DQNKrzQz.js +6356 -0
  29. package/dist/app.js +3 -198
  30. package/dist/assets-NrCec-W0.js +45 -0
  31. package/dist/clipboard-4jh1WteU.js +10 -0
  32. package/dist/components/AsyncButton.vue.d.ts +21 -0
  33. package/dist/components/AutoCopyCell.vue.d.ts +6 -0
  34. package/dist/components/CursorTable/index.vue.d.ts +24 -5
  35. package/dist/components/RestaurantSelector.vue.d.ts +2 -0
  36. package/dist/components/RouteCell.vue.d.ts +8 -0
  37. package/dist/components/SelectAll.vue.d.ts +57 -0
  38. package/dist/helpers/assets.d.ts +2 -0
  39. package/dist/{index-Bmka-1lQ.js → index-7KNaibcq.js} +1 -1
  40. package/dist/index-BWUtjGg7.js +47 -0
  41. package/dist/{index-CF56zGyu.js → index-BwcJZFsi.js} +1 -1
  42. package/dist/index-CWaKb7bG.js +56107 -0
  43. package/dist/index-CojhNtuG.js +127 -0
  44. package/dist/index-DbJpbpSs.js +52 -0
  45. package/dist/index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js +167 -0
  46. package/dist/model/transaction.d.ts +2 -1
  47. package/dist/package.json +5 -5
  48. package/dist/payout-account-DVoSXsW7.js +1805 -0
  49. package/dist/router/index.d.ts +1 -0
  50. package/dist/stores/payoutAccount.d.ts +4 -4
  51. package/dist/transaction-CQiT7Y_s.js +87 -0
  52. package/dist/tsconfig.app.tsbuildinfo +1 -1
  53. package/dist/validator-D5jtpt9A.js +2877 -0
  54. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  55. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
  56. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  57. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  58. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
  59. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
  60. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
  61. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  62. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
  63. package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
  64. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
  65. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
  66. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
  67. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
  68. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
  69. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
  70. package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
  71. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -0
  72. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  73. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  74. package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
  75. package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
  76. package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
  77. package/package.json +5 -5
  78. package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
  79. package/dist/PayoutAccount-xxSxqBTL.js +0 -3485
  80. package/dist/PayoutAccountSetting-CIeos0md.js +0 -425
  81. package/dist/Settlement-BVGACeme.js +0 -136
  82. package/dist/Settlement-Ce48KHrc.js +0 -132
  83. package/dist/Terminal-ByKV2Rof.js +0 -204
  84. package/dist/TerminalTransaction-RuSxBAxf.js +0 -240
  85. package/dist/Transaction-CYo-uLQi.js +0 -241
  86. package/dist/Transaction-Cjw9WwX8.js +0 -242
  87. package/dist/api/auth/index.d.ts +0 -7
  88. package/dist/assets-BuLGUMIx.js +0 -472
  89. package/dist/index-Coz5aeIO.js +0 -61
  90. package/dist/index-DCPNrUDq.js +0 -40075
  91. package/dist/index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js +0 -150
  92. package/dist/mascot-side-3VXskf9y.js +0 -4
  93. package/dist/payout-account-iAM7HPtG.js +0 -3317
  94. package/dist/transaction-vRrBf3FN.js +0 -64
@@ -1,94 +1,81 @@
1
- import { defineComponent as w, resolveComponent as d, openBlock as A, createBlock as S, normalizeClass as G, withCtx as s, createElementVNode as t, toDisplayString as m, unref as g, ref as F, onMounted as j, watch as Y, createVNode as o, createTextVNode as c, h as I } from "vue";
2
- import { e as B, u as H } from "./index-DCPNrUDq.js";
3
- import { useDialog as q, useSnackbar as J } from "@feedmepos/ui-library";
4
- import { d as k } from "./dinero-CIVmXLL-.js";
5
- import { g as Q, a as W } from "./assets-BuLGUMIx.js";
6
- import { t as $, a as X } from "./transaction-vRrBf3FN.js";
7
- import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
- import { useRouter as ee } from "vue-router";
9
- import { s as te } from "./index-Coz5aeIO.js";
10
- import { u as ae } from "./error-K1CakhA9.js";
11
- const ne = /* @__PURE__ */ w({
1
+ import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as k, normalizeClass as j, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as p, ref as T, onMounted as Y, watch as H, createVNode as n, createTextVNode as i, h as N } from "vue";
2
+ import { e as E, u as q } from "./index-CWaKb7bG.js";
3
+ import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
4
+ import { d as B } from "./dinero-CIVmXLL-.js";
5
+ import { g as W, a as X } from "./assets-NrCec-W0.js";
6
+ import { t as P, a as Z } from "./transaction-CQiT7Y_s.js";
7
+ import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
+ import { useRouter as te } from "vue-router";
9
+ import { s as ae } from "./index-CojhNtuG.js";
10
+ import { u as ne } from "./error-K1CakhA9.js";
11
+ import { w as oe } from "./Modal-DB8M9o1T.js";
12
+ const re = /* @__PURE__ */ w({
12
13
  __name: "Status",
13
14
  props: {
14
15
  row: {},
15
16
  data: {}
16
17
  },
17
- setup(p) {
18
- const n = p;
19
- function u() {
20
- return n.data === B.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : n.data === B.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : n.data === B.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
18
+ setup(y) {
19
+ const o = y;
20
+ function m() {
21
+ return o.data === E.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : o.data === E.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : o.data === E.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
21
22
  }
22
- return (l, b) => {
23
- const v = d("FmBadge");
24
- return A(), S(v, {
23
+ return (A, _) => {
24
+ const b = g("FmBadge");
25
+ return F(), k(b, {
25
26
  inline: "",
26
- class: G(u())
27
+ class: j(m())
27
28
  }, {
28
- default: s(() => [
29
- t("div", null, m(l.data), 1)
29
+ default: l(() => [
30
+ t("div", null, u(A.data), 1)
30
31
  ]),
31
32
  _: 1
32
33
  }, 8, ["class"]);
33
34
  };
34
35
  }
35
- }), oe = /* @__PURE__ */ w({
36
+ }), le = ["src"], se = /* @__PURE__ */ w({
36
37
  __name: "Gateway",
37
38
  props: {
38
39
  row: {},
39
40
  data: {}
40
41
  },
41
- setup(p) {
42
- return (n, u) => {
43
- const l = d("FmThumbnail");
44
- return A(), S(l, {
45
- src: g(Q)(n.row.original.gateway),
46
- class: "mr-2 border-transparent w-[32px] h-[32px]"
47
- }, null, 8, ["src"]);
48
- };
42
+ setup(y) {
43
+ return (o, m) => (F(), L("img", {
44
+ class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
45
+ src: p(W)(o.row.original.gateway)
46
+ }, null, 8, le));
49
47
  }
50
- }), re = /* @__PURE__ */ w({
48
+ }), ue = ["src"], ie = /* @__PURE__ */ w({
51
49
  __name: "Method",
52
50
  props: {
53
51
  row: {},
54
52
  data: {}
55
53
  },
56
- setup(p) {
57
- return (n, u) => {
58
- const l = d("FmThumbnail");
59
- return A(), S(l, {
60
- src: g(W)(n.row.original.method.issuer),
61
- class: "mr-2 border-transparent w-[32px] h-[32px]"
62
- }, null, 8, ["src"]);
63
- };
54
+ setup(y) {
55
+ return (o, m) => (F(), L("img", {
56
+ class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
57
+ src: p(X)(o.row.original.method.issuer)
58
+ }, null, 8, ue));
64
59
  }
65
- }), le = /* @__PURE__ */ w({
60
+ }), me = /* @__PURE__ */ w({
66
61
  __name: "Actions",
67
62
  props: {
68
63
  row: {},
69
64
  data: {}
70
65
  },
71
66
  emits: ["delete"],
72
- setup(p, { emit: n }) {
73
- const u = n;
74
- return (l, b) => {
75
- const v = d("FmButton");
76
- return A(), S(v, {
67
+ setup(y, { emit: o }) {
68
+ const m = o;
69
+ return (A, _) => {
70
+ const b = g("FmButton");
71
+ return F(), k(b, {
77
72
  variant: "plain",
78
73
  "prepend-icon": "delete",
79
- onClick: b[0] || (b[0] = () => u("delete"))
74
+ onClick: _[0] || (_[0] = () => m("delete"))
80
75
  });
81
76
  };
82
77
  }
83
- }), se = (p, n, u, l, b) => {
84
- const v = p.open({
85
- title: n,
86
- message: u,
87
- primaryActions: { text: "Confirm", close: !0 },
88
- secondaryActions: { text: "Cancel", close: !0 }
89
- });
90
- l && v.onPrimary(l);
91
- }, ue = { class: "flex mb-6" }, ie = { class: "my-6 w-[240px]" }, Te = /* @__PURE__ */ w({
78
+ }), de = { class: "flex mb-6" }, ce = { class: "my-6 w-[240px]" }, Ae = /* @__PURE__ */ w({
92
79
  __name: "SettlementTransactions",
93
80
  props: {
94
81
  settlementId: {
@@ -96,20 +83,20 @@ const ne = /* @__PURE__ */ w({
96
83
  required: !0
97
84
  }
98
85
  },
99
- setup(p) {
100
- const n = p, { isLoading: u, startAsyncCall: l, startAsyncCallFn: b } = H(!0), v = q(), L = J(), M = ee(), i = F(), N = F([]), h = F([]);
86
+ setup(y) {
87
+ const o = y, { isLoading: m, startAsyncCall: A, startAsyncCallFn: _ } = q(!0), b = J(), M = Q(), O = te(), s = T(), S = T([]), I = T([]);
101
88
  async function V(a = !1) {
102
- l(async () => {
103
- a || (i.value = await te.readById(n.settlementId));
104
- const e = await $.readBySettlementId(n.settlementId);
105
- N.value = X(e), h.value = N.value;
89
+ A(async () => {
90
+ a || (s.value = await ae.readById(o.settlementId));
91
+ const e = await P.readBySettlementId(o.settlementId);
92
+ S.value = Z(e), I.value = S.value;
106
93
  });
107
94
  }
108
- function O() {
95
+ function R() {
109
96
  V();
110
97
  }
111
- j(O);
112
- const K = F(""), R = [
98
+ Y(R);
99
+ const K = T(""), U = [
113
100
  {
114
101
  header: () => "Transaction ID",
115
102
  accessorKey: "id"
@@ -124,7 +111,7 @@ const ne = /* @__PURE__ */ w({
124
111
  meta: {
125
112
  textAlign: "center"
126
113
  },
127
- cell: ({ cell: a, row: e }) => e.original.method ? I(oe, { row: e, data: a.getValue() }) : ""
114
+ cell: ({ cell: a, row: e }) => e.original.method ? N(se, { row: e, data: a.getValue() }) : ""
128
115
  },
129
116
  {
130
117
  header: () => "Method",
@@ -132,7 +119,7 @@ const ne = /* @__PURE__ */ w({
132
119
  meta: {
133
120
  textAlign: "center"
134
121
  },
135
- cell: ({ cell: a, row: e }) => e.original.method ? I(re, { row: e, data: a.getValue() }) : ""
122
+ cell: ({ cell: a, row: e }) => e.original.method ? N(ie, { row: e, data: a.getValue() }) : ""
136
123
  },
137
124
  {
138
125
  header: () => "Type",
@@ -150,7 +137,7 @@ const ne = /* @__PURE__ */ w({
150
137
  {
151
138
  header: () => "Status",
152
139
  accessorKey: "status",
153
- cell: ({ cell: a, row: e }) => I(ne, { row: e, data: a.getValue() })
140
+ cell: ({ cell: a, row: e }) => N(re, { row: e, data: a.getValue() })
154
141
  },
155
142
  {
156
143
  header: () => "Transaction At",
@@ -174,72 +161,72 @@ const ne = /* @__PURE__ */ w({
174
161
  {
175
162
  header: () => "Actions",
176
163
  accessorKey: "action",
177
- cell: ({ cell: a, row: e }) => I(le, {
164
+ cell: ({ cell: a, row: e }) => N(me, {
178
165
  row: e,
179
166
  data: a.getValue(),
180
- onDelete: () => se(
181
- v,
167
+ onDelete: () => oe(
168
+ b,
182
169
  "Remove transaction",
183
170
  "Are you sure to remove transaction from settlement? This action cannot be revert !",
184
- b(async () => {
171
+ _(async () => {
185
172
  try {
186
- await $.removeTransactionFromSettlement(e.original.id), await V();
187
- } catch (_) {
188
- L.open({
173
+ await P.removeTransactionFromSettlement(e.original.id), await V();
174
+ } catch (f) {
175
+ M.open({
189
176
  type: "error",
190
177
  title: "Error occurs when removing transaction",
191
- message: ae(_)
178
+ message: ne(f)
192
179
  });
193
180
  }
194
181
  })
195
182
  )
196
183
  })
197
184
  }
198
- ], x = F("");
199
- let C;
200
- return Y(x, async () => {
201
- C && clearTimeout(C), C = setTimeout(() => {
185
+ ], x = T("");
186
+ let h;
187
+ return H(x, async () => {
188
+ h && clearTimeout(h), h = setTimeout(() => {
202
189
  var a = new RegExp(x.value, "i");
203
- h.value = N.value.filter((e) => {
204
- const _ = JSON.stringify(e);
205
- return a.test(_);
190
+ I.value = S.value.filter((e) => {
191
+ const f = JSON.stringify(e);
192
+ return a.test(f);
206
193
  });
207
194
  }, 700);
208
195
  }), (a, e) => {
209
- var P;
210
- const _ = d("FmCardHeader"), T = d("FmCardSection"), E = d("FmCard"), U = d("FmSearch"), z = d("FmTable");
211
- return A(), S(Z, {
212
- title: `Settlement Transactions (${(P = i.value) == null ? void 0 : P._id})`,
213
- loading: g(u),
214
- onBack: g(M).back
196
+ var $;
197
+ const f = g("FmCardHeader"), v = g("FmCardSection"), C = g("FmCard"), z = g("FmSearch"), G = g("FmTable");
198
+ return F(), k(ee, {
199
+ title: `Settlement Transactions (${($ = s.value) == null ? void 0 : $._id})`,
200
+ loading: p(m),
201
+ onBack: p(O).back
215
202
  }, {
216
- default: s(() => [
217
- t("div", ue, [
218
- o(E, {
203
+ default: l(() => [
204
+ t("div", de, [
205
+ n(C, {
219
206
  horizontal: "",
220
207
  class: "flex-1 p-6",
221
208
  variant: "elevated"
222
209
  }, {
223
- default: s(() => [
224
- o(T, { class: "flex flex-col gap-16 justify-between" }, {
225
- default: s(() => [
226
- o(_, {
210
+ default: l(() => [
211
+ n(v, { class: "flex flex-col gap-16 justify-between" }, {
212
+ default: l(() => [
213
+ n(f, {
227
214
  class: "p-0",
228
215
  title: "Transaction Info",
229
216
  subtitle: ""
230
217
  }),
231
- o(T, { class: "p-0" }, {
232
- default: s(() => {
233
- var r, f, y, D;
218
+ n(v, { class: "p-0" }, {
219
+ default: l(() => {
220
+ var r, d, c, D;
234
221
  return [
235
222
  e[2] || (e[2] = t("b", null, "For", -1)),
236
- c(": " + m((f = (r = i.value) == null ? void 0 : r.store) == null ? void 0 : f.event) + " ", 1),
223
+ i(": " + u((d = (r = s.value) == null ? void 0 : r.store) == null ? void 0 : d.event) + " ", 1),
237
224
  e[3] || (e[3] = t("br", null, null, -1)),
238
225
  e[4] || (e[4] = t("b", null, "Reference", -1)),
239
- c(": " + m((D = (y = i.value) == null ? void 0 : y.store) == null ? void 0 : D.id), 1),
226
+ i(": " + u((D = (c = s.value) == null ? void 0 : c.store) == null ? void 0 : D.id), 1),
240
227
  e[5] || (e[5] = t("br", null, null, -1)),
241
228
  e[6] || (e[6] = t("b", null, "Transaction", -1)),
242
- c(": " + m(N.value.length), 1)
229
+ i(": " + u(S.value.length), 1)
243
230
  ];
244
231
  }),
245
232
  _: 1
@@ -250,31 +237,31 @@ const ne = /* @__PURE__ */ w({
250
237
  ]),
251
238
  _: 1
252
239
  }),
253
- o(E, {
240
+ n(C, {
254
241
  horizontal: "",
255
242
  class: "flex-1 p-6 mx-6",
256
243
  variant: "elevated"
257
244
  }, {
258
- default: s(() => [
259
- o(T, { class: "flex flex-col gap-16 justify-between" }, {
260
- default: s(() => [
261
- o(_, {
245
+ default: l(() => [
246
+ n(v, { class: "flex flex-col gap-16 justify-between" }, {
247
+ default: l(() => [
248
+ n(f, {
262
249
  class: "p-0",
263
250
  title: "Bank Info",
264
251
  subtitle: ""
265
252
  }),
266
- o(T, { class: "p-0" }, {
267
- default: s(() => {
268
- var r, f, y;
253
+ n(v, { class: "p-0" }, {
254
+ default: l(() => {
255
+ var r, d, c;
269
256
  return [
270
257
  e[7] || (e[7] = t("b", null, "Bank", -1)),
271
- c(": " + m((r = i.value) == null ? void 0 : r.beneficiaryBank.name), 1),
258
+ i(": " + u((r = s.value) == null ? void 0 : r.beneficiaryBank.name), 1),
272
259
  e[8] || (e[8] = t("br", null, null, -1)),
273
260
  e[9] || (e[9] = t("b", null, "Name", -1)),
274
- c(": " + m((f = i.value) == null ? void 0 : f.beneficiaryBank.holderName), 1),
261
+ i(": " + u((d = s.value) == null ? void 0 : d.beneficiaryBank.holderName), 1),
275
262
  e[10] || (e[10] = t("br", null, null, -1)),
276
263
  e[11] || (e[11] = t("b", null, "Number", -1)),
277
- c(": " + m((y = i.value) == null ? void 0 : y.beneficiaryBank.accountNumber), 1)
264
+ i(": " + u((c = s.value) == null ? void 0 : c.beneficiaryBank.accountNumber), 1)
278
265
  ];
279
266
  }),
280
267
  _: 1
@@ -285,31 +272,31 @@ const ne = /* @__PURE__ */ w({
285
272
  ]),
286
273
  _: 1
287
274
  }),
288
- o(E, {
275
+ n(C, {
289
276
  horizontal: "",
290
277
  class: "flex-1 p-6",
291
278
  variant: "elevated"
292
279
  }, {
293
- default: s(() => [
294
- o(T, { class: "flex flex-col gap-16 justify-between" }, {
295
- default: s(() => [
296
- o(_, {
280
+ default: l(() => [
281
+ n(v, { class: "flex flex-col gap-16 justify-between" }, {
282
+ default: l(() => [
283
+ n(f, {
297
284
  class: "p-0",
298
285
  title: "Payout Info",
299
286
  subtitle: ""
300
287
  }),
301
- o(T, { class: "p-0" }, {
302
- default: s(() => {
303
- var r, f, y;
288
+ n(v, { class: "p-0" }, {
289
+ default: l(() => {
290
+ var r, d, c;
304
291
  return [
305
292
  e[12] || (e[12] = t("b", null, "Amount", -1)),
306
- c(": " + m(g(k)((r = i.value) == null ? void 0 : r.totalAmount).toFormat("$0.00")), 1),
293
+ i(": " + u(p(B)((r = s.value) == null ? void 0 : r.totalAmount).toFormat("$0.00")), 1),
307
294
  e[13] || (e[13] = t("br", null, null, -1)),
308
295
  e[14] || (e[14] = t("b", null, "Fee", -1)),
309
- c(": " + m(g(k)((f = i.value) == null ? void 0 : f.totalFee).toFormat("$0.00")), 1),
296
+ i(": " + u(p(B)((d = s.value) == null ? void 0 : d.totalFee).toFormat("$0.00")), 1),
310
297
  e[15] || (e[15] = t("br", null, null, -1)),
311
298
  e[16] || (e[16] = t("b", null, "Payout", -1)),
312
- c(": " + m(g(k)((y = i.value) == null ? void 0 : y.totalPayout).toFormat("$0.00")), 1)
299
+ i(": " + u(p(B)((c = s.value) == null ? void 0 : c.totalPayout).toFormat("$0.00")), 1)
313
300
  ];
314
301
  }),
315
302
  _: 1
@@ -321,20 +308,20 @@ const ne = /* @__PURE__ */ w({
321
308
  _: 1
322
309
  })
323
310
  ]),
324
- t("div", ie, [
325
- o(U, {
311
+ t("div", ce, [
312
+ n(z, {
326
313
  modelValue: x.value,
327
314
  "onUpdate:modelValue": e[0] || (e[0] = (r) => x.value = r),
328
315
  placeholder: "Search Transactions ..."
329
316
  }, null, 8, ["modelValue"])
330
317
  ]),
331
- o(z, {
318
+ n(G, {
332
319
  modelValue: K.value,
333
320
  "onUpdate:modelValue": e[1] || (e[1] = (r) => K.value = r),
334
321
  "search-value": x.value,
335
- "row-data": h.value,
336
- "column-defs": R,
337
- loading: g(u)
322
+ "row-data": I.value,
323
+ "column-defs": U,
324
+ loading: p(m)
338
325
  }, null, 8, ["modelValue", "search-value", "row-data", "loading"])
339
326
  ]),
340
327
  _: 1
@@ -343,5 +330,5 @@ const ne = /* @__PURE__ */ w({
343
330
  }
344
331
  });
345
332
  export {
346
- Te as default
333
+ Ae as default
347
334
  };