@feedmepos/mf-payment 0.0.0-beta.31 → 0.0.0-beta.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
  2. package/dist/{PayoutAccount-SIy-StvQ.js → PayoutAccount-CRf5uapK.js} +3 -3
  3. package/dist/{PayoutAccount-CiTsWONr.js → PayoutAccount-DSXNLvNP.js} +5 -5
  4. package/dist/{PayoutAccountSetting-quTrnrC3.js → PayoutAccountSetting-Dc-ccYWa.js} +3 -3
  5. package/dist/{Settlement-DOgQp010.js → Settlement-B28WumZX.js} +4 -4
  6. package/dist/{Settlement-PVDes6sk.js → Settlement-C1H4r_ni.js} +4 -4
  7. package/dist/{SettlementTransactions-yQYGTzAC.js → SettlementTransactions-CdZswF1S.js} +4 -4
  8. package/dist/{SettlementTransactions-gvYCXBgb.js → SettlementTransactions-w0jXLftr.js} +4 -4
  9. package/dist/{Terminal-DcwgOlid.js → Terminal-BbIs7aYi.js} +4 -4
  10. package/dist/{TerminalSetting-BLp4Y6V9.js → TerminalSetting-3CRuMj8l.js} +3 -3
  11. package/dist/TerminalTransaction-CoPJlBCt.js +245 -0
  12. package/dist/TerminalTransaction-CwEwNN25.js +274 -0
  13. package/dist/{Transaction-Dwijtg8b.js → Transaction-Atm-A5eN.js} +10 -10
  14. package/dist/{Transaction-t6PdA3hg.js → Transaction-DpmCjczz.js} +6 -6
  15. package/dist/app.js +48 -48
  16. package/dist/assets-sX1_K-nt.js +44 -0
  17. package/dist/components/RouteCell.vue.d.ts +8 -0
  18. package/dist/helpers/assets.d.ts +2 -0
  19. package/dist/{index-F_l7bLXb.js → index-ApzEWD1P.js} +1 -1
  20. package/dist/{index-TbfhqZiB.js → index-BSpzaL20.js} +1 -1
  21. package/dist/{index-DrH47k0r.js → index-BgnU5ezY.js} +1 -1
  22. package/dist/{index-CAsbGPp2.js → index-CBFVJirn.js} +1 -1
  23. package/dist/{index-DTz8Nmfb.js → index-Cnxt2xmc.js} +2 -2
  24. package/dist/index-RhSxYSBk.js +35 -0
  25. package/dist/{index.vue_vue_type_script_setup_true_lang-clLSlUNS.js → index.vue_vue_type_script_setup_true_lang-B7ePQpGr.js} +1 -1
  26. package/dist/package.json +1 -1
  27. package/dist/{payout-account-Cm4iYhNm.js → payout-account-BKVSgJb4.js} +534 -516
  28. package/dist/{transaction-CNNzvDLH.js → transaction-BH1Pm92q.js} +1 -1
  29. package/dist/tsconfig.app.tsbuildinfo +1 -1
  30. package/package.json +1 -1
  31. package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js +0 -28
  32. package/dist/TerminalTransaction-Cb9V1igD.js +0 -237
  33. package/dist/TerminalTransaction-DHmQYA02.js +0 -243
  34. package/dist/api/auth/index.d.ts +0 -7
  35. package/dist/assets-UG99C8i-.js +0 -42
  36. package/dist/index-aI8zWz4m.js +0 -34
@@ -0,0 +1,274 @@
1
+ import { defineComponent as g, openBlock as p, createElementBlock as w, unref as n, createCommentVNode as F, createElementVNode as u, resolveComponent as A, createBlock as R, normalizeClass as k, withCtx as C, toDisplayString as S, ref as V, watch as N, createVNode as d, isRef as h, h as f } from "vue";
2
+ import { e as c } from "./index-Cnxt2xmc.js";
3
+ import { h as I } from "./moment-h96o7c8I.js";
4
+ import { u as D } from "./index-BgnU5ezY.js";
5
+ import { _ as K } from "./index.vue_vue_type_script_setup_true_lang-B7ePQpGr.js";
6
+ import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
7
+ import "@feedmepos/ui-library";
8
+ import { g as M } from "./assets-sX1_K-nt.js";
9
+ import { E as L, t as x } from "./index-RhSxYSBk.js";
10
+ import { d as B } from "./dinero-CIVmXLL-.js";
11
+ import { _ as G } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
12
+ import { _ as P } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
13
+ import { useRouter as U } from "vue-router";
14
+ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
15
+ __name: "Gateway",
16
+ props: {
17
+ row: {},
18
+ data: {}
19
+ },
20
+ setup(i) {
21
+ return (a, r) => (p(), w("div", Y, [
22
+ a.row.original.ecrGateway ? (p(), w("img", {
23
+ key: 0,
24
+ class: "bg-fm-color-overlay-background rounded-md m-auto border-transparent w-[32px] h-[32px]",
25
+ src: n(L)
26
+ }, null, 8, W)) : F("", !0),
27
+ u("img", {
28
+ class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
29
+ src: n(M)(a.row.original.gateway)
30
+ }, null, 8, j)
31
+ ]));
32
+ }
33
+ }), z = /* @__PURE__ */ g({
34
+ __name: "Status",
35
+ props: {
36
+ row: {},
37
+ data: {}
38
+ },
39
+ setup(i) {
40
+ const a = i;
41
+ function r() {
42
+ return a.data === c.F_TERMINAL_TRANSACTION_ACTION.Enum.process ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === c.F_TERMINAL_TRANSACTION_ACTION.Enum.failed ? "!w-[16px] !h-[16px] bg-red-400" : a.data === c.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
43
+ }
44
+ return (s, l) => {
45
+ const m = A("FmBadge");
46
+ return p(), R(m, {
47
+ inline: "",
48
+ class: k(r())
49
+ }, {
50
+ default: C(() => [
51
+ u("div", null, S(s.data.toUpperCase()), 1)
52
+ ]),
53
+ _: 1
54
+ }, 8, ["class"]);
55
+ };
56
+ }
57
+ }), Q = /* @__PURE__ */ g({
58
+ __name: "RouteCell",
59
+ props: {
60
+ data: {},
61
+ route: {}
62
+ },
63
+ setup(i) {
64
+ const a = i, r = U();
65
+ function s() {
66
+ r.push(a.route);
67
+ }
68
+ return (l, m) => (p(), w("div", {
69
+ class: "fm-typo-en-link-md-600",
70
+ onClick: m[0] || (m[0] = (T) => {
71
+ T.stopPropagation(), s();
72
+ })
73
+ }, S(l.data), 1));
74
+ }
75
+ }), H = { class: "flex justify-between mb-6 items-start" }, J = { class: "flex space-x-4 items-start" }, X = { class: "flex space-x-4" }, ue = /* @__PURE__ */ g({
76
+ __name: "TerminalTransaction",
77
+ setup(i) {
78
+ const a = V(), { dateRange: r, status: s, searchKey: l } = D({
79
+ searchKey: "",
80
+ status: [c.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
81
+ dateRange: {
82
+ startDate: I().startOf("day").toISOString(),
83
+ endDate: I().endOf("day").toISOString()
84
+ }
85
+ });
86
+ N([r, s], () => {
87
+ var e;
88
+ return (e = a.value) == null ? void 0 : e.reset();
89
+ });
90
+ let m;
91
+ N(l, async () => {
92
+ m && clearTimeout(m), m = setTimeout(
93
+ () => {
94
+ var e;
95
+ return (e = a.value) == null ? void 0 : e.reset();
96
+ },
97
+ 700
98
+ );
99
+ });
100
+ const T = [
101
+ {
102
+ label: "Success",
103
+ value: c.F_TERMINAL_TRANSACTION_ACTION.Enum.success
104
+ },
105
+ {
106
+ label: "Refunded",
107
+ value: c.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
108
+ },
109
+ {
110
+ label: "Process",
111
+ value: c.F_TERMINAL_TRANSACTION_ACTION.Enum.process
112
+ },
113
+ {
114
+ label: "Failed",
115
+ value: c.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
116
+ }
117
+ ], v = function(e) {
118
+ const t = e;
119
+ let _ = "-";
120
+ return t.details.amount && (_ = B(t.details.amount).toFormat("$0.00")), {
121
+ id: e._id,
122
+ refId: e.refId,
123
+ owner: e.owner,
124
+ terminalId: e.terminalId,
125
+ transactionAt: I(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
126
+ action: e.action,
127
+ gateway: e.gateway,
128
+ ecrGateway: e.ecrGateway,
129
+ amount: _
130
+ };
131
+ }, E = [
132
+ {
133
+ accessorKey: "id",
134
+ header: () => "Transaction ID",
135
+ meta: {
136
+ textAlign: "left"
137
+ },
138
+ cell: ({ cell: e }) => f(P, { data: e.getValue() })
139
+ },
140
+ {
141
+ accessorKey: "terminalId",
142
+ header: () => "Terminal ID",
143
+ meta: {
144
+ textAlign: "left"
145
+ },
146
+ cell: ({ cell: e }) => {
147
+ const t = e.getValue();
148
+ return f(Q, {
149
+ data: t,
150
+ route: {
151
+ name: "mf-payment-admin.terminal-setting",
152
+ params: { terminalId: t }
153
+ }
154
+ });
155
+ }
156
+ },
157
+ {
158
+ accessorKey: "refId",
159
+ header: () => "Reference ID",
160
+ meta: {
161
+ textAlign: "left"
162
+ }
163
+ },
164
+ {
165
+ accessorKey: "gateway",
166
+ header: () => "Gateway",
167
+ meta: {
168
+ textAlign: "center",
169
+ maxWidth: "128px"
170
+ },
171
+ cell: ({ cell: e, row: t }) => f(q, { row: t, data: e.getValue() })
172
+ },
173
+ {
174
+ accessorKey: "action",
175
+ header: () => "Status",
176
+ meta: {
177
+ textAlign: "left",
178
+ maxWidth: "128px"
179
+ },
180
+ cell: ({ cell: e, row: t }) => f(z, { row: t, data: e.getValue() })
181
+ },
182
+ {
183
+ accessorKey: "amount",
184
+ header: () => "Sales Amount",
185
+ meta: {
186
+ textAlign: "center"
187
+ }
188
+ },
189
+ {
190
+ accessorKey: "owner",
191
+ header: () => "Reference",
192
+ meta: {
193
+ textAlign: "left"
194
+ }
195
+ },
196
+ {
197
+ accessorKey: "transactionAt",
198
+ header: () => "Transaction At",
199
+ meta: {
200
+ textAlign: "left"
201
+ }
202
+ }
203
+ ];
204
+ return (e, t) => {
205
+ const _ = A("FmSearch"), y = A("FmSelect"), O = A("FmDateRangePicker");
206
+ return p(), R($, {
207
+ title: "Offline Transactions",
208
+ loading: !1
209
+ }, {
210
+ default: C(() => [
211
+ u("div", H, [
212
+ u("div", J, [
213
+ d(_, {
214
+ "model-value": n(l),
215
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => h(l) ? l.value = o : null),
216
+ class: "mr-8",
217
+ label: "Search",
218
+ placeholder: "Search Transactions ..."
219
+ }, null, 8, ["model-value"]),
220
+ d(y, {
221
+ modelValue: n(s),
222
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => h(s) ? s.value = o : null),
223
+ class: "mr-6 w-[300px]",
224
+ label: "Status",
225
+ "label-mark": "required",
226
+ multiselect: "",
227
+ items: T
228
+ }, null, 8, ["modelValue"]),
229
+ d(O, {
230
+ modelValue: n(r),
231
+ "onUpdate:modelValue": t[2] || (t[2] = (o) => h(r) ? r.value = o : null),
232
+ compare: "",
233
+ "show-predefined-range": ""
234
+ }, null, 8, ["modelValue"])
235
+ ]),
236
+ u("div", X, [
237
+ d(G, {
238
+ button: {
239
+ appendIcon: "file_download",
240
+ variant: "primary",
241
+ label: "Export"
242
+ },
243
+ handler: () => {
244
+ var o;
245
+ return n(x).downloadTransactions(((o = a.value) == null ? void 0 : o.data()) ?? []);
246
+ }
247
+ }, null, 8, ["handler"])
248
+ ])
249
+ ]),
250
+ d(K, {
251
+ ref_key: "controller",
252
+ ref: a,
253
+ "column-defs": E,
254
+ "rows-defs": v,
255
+ paginate: (o, b) => n(x).readTransactions({
256
+ status: n(s),
257
+ searchKey: n(l),
258
+ limit: o,
259
+ cursor: b,
260
+ start: n(r).startDate,
261
+ end: n(r).endDate
262
+ }),
263
+ onRowClick: () => {
264
+ }
265
+ }, null, 8, ["paginate"])
266
+ ]),
267
+ _: 1
268
+ });
269
+ };
270
+ }
271
+ });
272
+ export {
273
+ ue as default
274
+ };
@@ -1,13 +1,13 @@
1
- import { defineComponent as _, resolveComponent as T, openBlock as f, createBlock as N, normalizeClass as k, withCtx as R, createElementVNode as y, toDisplayString as K, createElementBlock as D, unref as o, ref as A, h as x, onMounted as V, watch as E, createVNode as p, isRef as F } from "vue";
2
- import { t as I, a as C } from "./transaction-CNNzvDLH.js";
3
- import { e as S, u as P } from "./index-DTz8Nmfb.js";
1
+ import { defineComponent as _, resolveComponent as T, openBlock as f, createBlock as N, normalizeClass as k, withCtx as R, createElementVNode as y, toDisplayString as K, createElementBlock as O, unref as o, ref as A, h as x, onMounted as V, watch as E, createVNode as p, isRef as F } from "vue";
2
+ import { t as I, a as C } from "./transaction-BH1Pm92q.js";
3
+ import { c as S, u as P } from "./index-Cnxt2xmc.js";
4
4
  import { useSnackbar as $ } from "@feedmepos/ui-library";
5
5
  import "./dinero-CIVmXLL-.js";
6
6
  import { h as b } from "./moment-h96o7c8I.js";
7
- import { g as L, a as B } from "./assets-UG99C8i-.js";
7
+ import { g as L, a as B } from "./assets-sX1_K-nt.js";
8
8
  import { useCoreStore as M } from "@feedmepos/mf-common";
9
9
  import { _ as U } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
10
- import { u as G } from "./index-DrH47k0r.js";
10
+ import { u as G } from "./index-BgnU5ezY.js";
11
11
  import { _ as Y } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
12
12
  import { _ as q } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
13
13
  const J = /* @__PURE__ */ _({
@@ -41,7 +41,7 @@ const J = /* @__PURE__ */ _({
41
41
  data: {}
42
42
  },
43
43
  setup(s) {
44
- return (n, a) => (f(), D("img", {
44
+ return (n, a) => (f(), O("img", {
45
45
  class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
46
46
  src: o(L)(n.row.original.gateway)
47
47
  }, null, 8, j));
@@ -53,7 +53,7 @@ const J = /* @__PURE__ */ _({
53
53
  data: {}
54
54
  },
55
55
  setup(s) {
56
- return (n, a) => (f(), D("img", {
56
+ return (n, a) => (f(), O("img", {
57
57
  class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
58
58
  src: o(B)(n.row.original.method.issuer)
59
59
  }, null, 8, Q));
@@ -168,8 +168,8 @@ const J = /* @__PURE__ */ _({
168
168
  if (t.value = C(u), e.value = t.value, a.value > "") {
169
169
  var v = new RegExp(a.value, "i");
170
170
  e.value = t.value.filter((m) => {
171
- const O = JSON.stringify(m);
172
- return v.test(O);
171
+ const D = JSON.stringify(m);
172
+ return v.test(D);
173
173
  });
174
174
  }
175
175
  });
@@ -190,7 +190,7 @@ const J = /* @__PURE__ */ _({
190
190
  }), (h, r) => {
191
191
  const u = T("FmSearch"), v = T("FmDateRangePicker");
192
192
  return f(), N(U, {
193
- title: "Transactions",
193
+ title: "Online Transactions",
194
194
  description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
195
195
  loading: o(l)
196
196
  }, {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as p, resolveComponent as T, openBlock as _, createBlock as A, normalizeClass as O, withCtx as I, createElementVNode as y, toDisplayString as R, createElementBlock as b, unref as r, ref as S, h as g, onMounted as V, watch as K, createVNode as h, isRef as N } from "vue";
2
- import { t as E, a as k } from "./transaction-CNNzvDLH.js";
3
- import { e as v, u as C } from "./index-DTz8Nmfb.js";
2
+ import { t as E, a as k } from "./transaction-BH1Pm92q.js";
3
+ import { c as v, u as C } from "./index-Cnxt2xmc.js";
4
4
  import "@feedmepos/ui-library";
5
5
  import "./dinero-CIVmXLL-.js";
6
6
  import { h as F } from "./moment-h96o7c8I.js";
7
- import { g as P, a as $ } from "./assets-UG99C8i-.js";
8
- import { _ as L } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js";
7
+ import { g as P, a as $ } from "./assets-sX1_K-nt.js";
8
+ import { _ as L } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
9
9
  import "@feedmepos/mf-common";
10
- import { u as B } from "./index-DrH47k0r.js";
10
+ import { u as B } from "./index-BgnU5ezY.js";
11
11
  import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
12
12
  import { _ as U } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
13
13
  const G = /* @__PURE__ */ p({
@@ -189,7 +189,7 @@ const G = /* @__PURE__ */ p({
189
189
  }), (f, s) => {
190
190
  const u = T("FmSearch"), x = T("FmDateRangePicker");
191
191
  return _(), A(M, {
192
- title: "Transactions",
192
+ title: "Online Transactions",
193
193
  loading: r(c)
194
194
  }, {
195
195
  default: I(() => [
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createRouter as D, createWebHistory as I, useRouter as T } from "vue-router";
2
- import { computed as b, watch as l, defineComponent as h, ref as S, resolveComponent as v, openBlock as _, createBlock as R, onMounted as g, onBeforeMount as w } from "vue";
1
+ import { createRouter as D, createWebHistory as I, useRouter as S } from "vue-router";
2
+ import { computed as b, watch as l, defineComponent as h, ref as T, resolveComponent as v, openBlock as _, createBlock as R, onMounted as g, onBeforeMount as w } from "vue";
3
3
  import { useCoreStore as d } from "@feedmepos/mf-common";
4
4
  import { defineStore as P } from "pinia";
5
5
  const f = [
@@ -9,35 +9,13 @@ const f = [
9
9
  meta: {
10
10
  sidebarDisplay: "Payout Accounts"
11
11
  },
12
- component: () => import("./PayoutAccount-CiTsWONr.js")
12
+ component: () => import("./PayoutAccount-DSXNLvNP.js")
13
13
  },
14
14
  {
15
15
  path: "/admin/payout-accounts/:accountId",
16
16
  name: "mf-payment-admin.payout-account-settings",
17
17
  props: !0,
18
- component: () => import("./PayoutAccountSetting-quTrnrC3.js")
19
- },
20
- {
21
- path: "/admin/transaction",
22
- name: "mf-payment-admin.transaction",
23
- meta: {
24
- sidebarDisplay: "Transactions"
25
- },
26
- component: () => import("./Transaction-t6PdA3hg.js")
27
- },
28
- {
29
- path: "/admin/settlement",
30
- name: "mf-payment-admin.settlement",
31
- meta: {
32
- sidebarDisplay: "Settlements"
33
- },
34
- component: () => import("./Settlement-PVDes6sk.js")
35
- },
36
- {
37
- path: "/admin/settlement/:settlementId",
38
- name: "mf-payment-admin.settlement-transaction",
39
- props: !0,
40
- component: () => import("./SettlementTransactions-yQYGTzAC.js")
18
+ component: () => import("./PayoutAccountSetting-Dc-ccYWa.js")
41
19
  },
42
20
  {
43
21
  path: "/admin/terminal",
@@ -45,21 +23,43 @@ const f = [
45
23
  meta: {
46
24
  sidebarDisplay: "Terminals"
47
25
  },
48
- component: () => import("./Terminal-DcwgOlid.js")
26
+ component: () => import("./Terminal-BbIs7aYi.js")
49
27
  },
50
28
  {
51
29
  path: "/admin/terminal/:terminalId",
52
30
  name: "mf-payment-admin.terminal-setting",
53
31
  props: !0,
54
- component: () => import("./TerminalSetting-BLp4Y6V9.js")
32
+ component: () => import("./TerminalSetting-3CRuMj8l.js")
55
33
  },
56
34
  {
57
35
  path: "/admin/terminal-transaction",
58
36
  name: "mf-payment-admin.terminal-transaction",
59
37
  meta: {
60
- sidebarDisplay: "Terminal Transactions"
38
+ sidebarDisplay: "Offline Transactions"
39
+ },
40
+ component: () => import("./TerminalTransaction-CwEwNN25.js")
41
+ },
42
+ {
43
+ path: "/admin/transaction",
44
+ name: "mf-payment-admin.transaction",
45
+ meta: {
46
+ sidebarDisplay: "Online Transactions"
61
47
  },
62
- component: () => import("./TerminalTransaction-Cb9V1igD.js")
48
+ component: () => import("./Transaction-DpmCjczz.js")
49
+ },
50
+ {
51
+ path: "/admin/settlement",
52
+ name: "mf-payment-admin.settlement",
53
+ meta: {
54
+ sidebarDisplay: "Settlements"
55
+ },
56
+ component: () => import("./Settlement-C1H4r_ni.js")
57
+ },
58
+ {
59
+ path: "/admin/settlement/:settlementId",
60
+ name: "mf-payment-admin.settlement-transaction",
61
+ props: !0,
62
+ component: () => import("./SettlementTransactions-CdZswF1S.js")
63
63
  }
64
64
  ], y = [
65
65
  {
@@ -69,23 +69,31 @@ const f = [
69
69
  {
70
70
  path: "/payout-account",
71
71
  name: "mf-payment-payout-account",
72
- component: () => import("./PayoutAccount-SIy-StvQ.js"),
72
+ component: () => import("./PayoutAccount-CRf5uapK.js"),
73
73
  meta: {
74
74
  sidebarDisplay: "Payout Accounts"
75
75
  }
76
76
  },
77
+ {
78
+ path: "/terminal-tranasction",
79
+ name: "mf-payment-terminal-transaction",
80
+ meta: {
81
+ sidebarDisplay: "Offline Transactions"
82
+ },
83
+ component: () => import("./TerminalTransaction-CoPJlBCt.js")
84
+ },
77
85
  {
78
86
  path: "/transaction",
79
87
  name: "mf-payment-transaction",
80
- component: () => import("./Transaction-Dwijtg8b.js"),
88
+ component: () => import("./Transaction-Atm-A5eN.js"),
81
89
  meta: {
82
- sidebarDisplay: "Transactions"
90
+ sidebarDisplay: "Online Transactions"
83
91
  }
84
92
  },
85
93
  {
86
94
  path: "/settlement",
87
95
  name: "mf-payment-settlement",
88
- component: () => import("./Settlement-DOgQp010.js"),
96
+ component: () => import("./Settlement-B28WumZX.js"),
89
97
  meta: {
90
98
  sidebarDisplay: "Settlements"
91
99
  }
@@ -94,15 +102,7 @@ const f = [
94
102
  path: "/settlement/:settlementId",
95
103
  name: "mf-payment-settlement-transaction",
96
104
  props: !0,
97
- component: () => import("./SettlementTransactions-gvYCXBgb.js")
98
- },
99
- {
100
- path: "/terminal-tranasction",
101
- name: "mf-payment-terminal-transaction",
102
- meta: {
103
- sidebarDisplay: "Terminal Transactions"
104
- },
105
- component: () => import("./TerminalTransaction-DHmQYA02.js")
105
+ component: () => import("./SettlementTransactions-w0jXLftr.js")
106
106
  }
107
107
  ], A = P("iframe", () => {
108
108
  const o = {
@@ -144,7 +144,7 @@ C.beforeEach(async (o) => {
144
144
  const B = /* @__PURE__ */ h({
145
145
  __name: "AppSidebar",
146
146
  setup(o) {
147
- const a = d(), n = T(), r = S(n.currentRoute.value.name);
147
+ const a = d(), n = S(), r = T(n.currentRoute.value.name);
148
148
  l(n.currentRoute, () => {
149
149
  r.value = n.currentRoute.value.name;
150
150
  });
@@ -194,7 +194,7 @@ const B = /* @__PURE__ */ h({
194
194
  }, null, 8, ["modelValue", "items"]);
195
195
  };
196
196
  }
197
- }), M = /* @__PURE__ */ h({
197
+ }), F = /* @__PURE__ */ h({
198
198
  __name: "App",
199
199
  setup(o) {
200
200
  const { state: a } = A(), n = d();
@@ -207,11 +207,11 @@ const B = /* @__PURE__ */ h({
207
207
  return _(), R(s);
208
208
  };
209
209
  }
210
- }), U = [
210
+ }), M = [
211
211
  ...f,
212
212
  ...y
213
213
  ];
214
214
  export {
215
- M as FmApp,
216
- U as routers
215
+ F as FmApp,
216
+ M as routers
217
217
  };