@feedmepos/mf-payment 1.4.3 → 1.4.4

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.
@@ -2,12 +2,12 @@ import { defineComponent as U, ref as D, computed as vf, resolveComponent as w,
2
2
  import { z as d, a as s } from "./validator-D5jtpt9A.js";
3
3
  import { P as jf, _ as bf } from "./PDFViewer-DlSCBBxr.js";
4
4
  import { useCoreStore as xf } from "@feedmepos/mf-common";
5
- import { o as F } from "./index-CdaFWQOR.js";
5
+ import { o as F } from "./index-BKu9F-6S.js";
6
6
  import { p as af } from "./index-BWjmOoX3.js";
7
7
  import { useSnackbar as df } from "@feedmepos/ui-library";
8
8
  import { u as Af } from "./index-C4FfKmPS.js";
9
9
  import { s as sf } from "./vue-signature-pad.esm-IXPjf4fL.js";
10
- import { P as Lf } from "./payout-account-CmNi6Qvr.js";
10
+ import { P as Lf } from "./payout-account-DxMIfrtL.js";
11
11
  import { useRouter as yf } from "vue-router";
12
12
  const uf = { class: "flex" }, pf = { class: "justify-self-center" }, Df = ["src"], o = /* @__PURE__ */ U({
13
13
  __name: "UploadButton",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as q, createElementVNode as s, toDisplayString as I, Fragment as z, createBlock as j, withCtx as c, createVNode as o, createCommentVNode as B, unref as e, createTextVNode as D, onMounted as X, resolveDynamicComponent as Z } from "vue";
2
- import { o as T } from "./index-CdaFWQOR.js";
2
+ import { o as T } from "./index-BKu9F-6S.js";
3
3
  import { u as M } from "./index-C4FfKmPS.js";
4
4
  import { useRouter as h } from "vue-router";
5
5
  import { z as u, a as d } from "./validator-D5jtpt9A.js";
6
- import { P as ee } from "./payout-account-CmNi6Qvr.js";
6
+ import { P as ee } from "./payout-account-DxMIfrtL.js";
7
7
  import { P as le } from "./PDFViewer-DlSCBBxr.js";
8
8
  import { s as te } from "./vue-signature-pad.esm-IXPjf4fL.js";
9
9
  import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-B7a304Y6.js";
@@ -3,7 +3,7 @@ import { _ as q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js
3
3
  import { u as G, p as J, e as L } from "./index-C4FfKmPS.js";
4
4
  import { useI18n as K, useCoreStore as Q } from "@feedmepos/mf-common";
5
5
  import { _ as X } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
6
- import { o as Z } from "./index-CdaFWQOR.js";
6
+ import { o as Z } from "./index-BKu9F-6S.js";
7
7
  import { useRouter as w } from "vue-router";
8
8
  import { i as ss } from "./softspace-25X2bjBx.js";
9
9
  const es = { class: "flex justify-left items-center mb-6" }, ts = { class: "grid grid-cols-3 gap-6" }, os = { class: "flex items-center" }, ns = ["src"], is = { class: "px-16 text-sm flex-grow" }, rs = { class: "list-disc pl-6" }, ms = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as A, ref as V, watch as v, computed as p, resolveComponent as x, openBlock as h, createBlock as w, withCtx as f, createElementVNode as S, createVNode as r, unref as l, isRef as n, h as k } from "vue";
2
- import { o as K } from "./index-CdaFWQOR.js";
2
+ import { o as K } from "./index-BKu9F-6S.js";
3
3
  import { p as m } from "./index-C4FfKmPS.js";
4
4
  import { _ as O } from "./index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js";
5
5
  import { useRouter as F } from "vue-router";
@@ -3,12 +3,12 @@ import { p as K } from "./index-BWjmOoX3.js";
3
3
  import { p as U, u as gA, e as lA } from "./index-C4FfKmPS.js";
4
4
  import { defineStore as rA } from "pinia";
5
5
  import { useI18n as R, useCoreStore as eA } from "@feedmepos/mf-common";
6
- import { c as cA, a as _, P as J } from "./payout-account-CmNi6Qvr.js";
6
+ import { c as cA, a as _, P as J } from "./payout-account-DxMIfrtL.js";
7
7
  import { useDialogChild as nA, useDialog as BA } from "@feedmepos/ui-library";
8
8
  import { z as F, a as H } from "./validator-D5jtpt9A.js";
9
9
  import { P as $ } from "./PDFViewer-DlSCBBxr.js";
10
- import "./app-Cq3HmDvi.js";
11
- import "./plugins-DVyJ9EqX.js";
10
+ import "./app-D7e4SEMx.js";
11
+ import "./plugins-BNCULwjc.js";
12
12
  import { _ as uA } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
13
13
  function wA() {
14
14
  return {
@@ -2,7 +2,7 @@ import { defineComponent as y, resolveComponent as u, openBlock as h, createBloc
2
2
  import { u as O } from "./index-ILoz50zh.js";
3
3
  import { p as K } from "./index-C4FfKmPS.js";
4
4
  import { _ as A } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
5
- import { P as V } from "./payout-account-CmNi6Qvr.js";
5
+ import { P as V } from "./payout-account-DxMIfrtL.js";
6
6
  import { p as D } from "./index-BWjmOoX3.js";
7
7
  import "@feedmepos/ui-library";
8
8
  import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js";
@@ -0,0 +1,427 @@
1
+ import { defineComponent as G, ref as E, watch as R, onMounted as Q, resolveComponent as h, openBlock as A, createElementBlock as q, Fragment as O, unref as n, createBlock as D, createCommentVNode as w, withCtx as K, createVNode as _, renderList as H, createElementVNode as V, isRef as N, h as k } from "vue";
2
+ import { t as C, c as P } from "./assets-B67WKlO6.js";
3
+ import { h as L } from "./moment-h96o7c8I.js";
4
+ import { useI18n as j, useCoreStore as z } from "@feedmepos/mf-common";
5
+ import { _ as W } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
+ import { u as X } from "./index-ILoz50zh.js";
7
+ import { _ as Z } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
8
+ import { _ as ee } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
9
+ import { _ as ae } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
10
+ import { p as te } from "./index-BWjmOoX3.js";
11
+ import { t as ne } from "./index-C8G7ruiF.js";
12
+ import { u as re, p as x } from "./index-C4FfKmPS.js";
13
+ import { useSnackbar as se, useDialog as oe } from "@feedmepos/ui-library";
14
+ import { _ as le, a as ie, b as ce, c as ue } from "./Actions.vue_vue_type_script_setup_true_lang-CqIt6ELp.js";
15
+ import { g as me } from "./grafana-BrdrOUM4.js";
16
+ import { w as B } from "./Modal-DB8M9o1T.js";
17
+ import { u as $ } from "./error-K1CakhA9.js";
18
+ import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js";
19
+ const pe = /* @__PURE__ */ G({
20
+ __name: "SourceSelector",
21
+ props: {
22
+ id: {},
23
+ by: {}
24
+ },
25
+ emits: ["update:id", "update:by"],
26
+ setup(J, { emit: f }) {
27
+ const F = f, { t: c } = j(), { currentBusiness: s, readRestaurants: v } = z(), { isLoading: u, startAsyncCall: g } = re(!0), m = E([]), i = E(), y = E(""), b = E([]);
28
+ let S;
29
+ R(y, async () => {
30
+ S && clearTimeout(S), S = setTimeout(() => {
31
+ var d = new RegExp(y.value, "i");
32
+ b.value = m.value.filter((p) => {
33
+ const T = JSON.stringify(p);
34
+ return d.test(T);
35
+ });
36
+ }, 700);
37
+ }), R(i, () => {
38
+ i.value && (F("update:id", i.value.value), F("update:by", i.value.by));
39
+ });
40
+ async function M() {
41
+ return g(async () => {
42
+ let d = await te.readBusinessPayoutAccounts();
43
+ if (d.length !== 0)
44
+ return d;
45
+ });
46
+ }
47
+ async function Y() {
48
+ return g(async () => {
49
+ let d = await ne.getBusinessTerminals();
50
+ if (d.length !== 0)
51
+ return d;
52
+ });
53
+ }
54
+ async function U() {
55
+ u.value = !0;
56
+ const d = await M(), p = await v(), T = await Y();
57
+ m.value = [
58
+ ...(p || []).map((o) => ({
59
+ by: "RESTAURANT",
60
+ prefix: c("payment.components.restaurant"),
61
+ label: "(RESTAURANT) " + o.profile.name,
62
+ value: o._id
63
+ })),
64
+ ...(T || []).map((o) => ({
65
+ by: "DEVICE",
66
+ prefix: c("payment.components.device"),
67
+ label: "(" + o.deviceType + ") " + (o.deviceType === "TERMINAL" ? o.name : o.restaurant.profile.name),
68
+ value: o._id
69
+ })),
70
+ ...(d || []).map((o) => {
71
+ var a, e;
72
+ return {
73
+ by: "PAYOUT_ACCOUNT",
74
+ prefix: c("payment.components.payout_account"),
75
+ label: "(" + o.store.event + ") " + (((e = (a = o.ref) == null ? void 0 : a.profile) == null ? void 0 : e.name) ?? o.ref.name),
76
+ value: o._id
77
+ };
78
+ })
79
+ ], b.value = m.value, u.value = !1;
80
+ }
81
+ return Q(U), R(s, U), (d, p) => {
82
+ const T = h("FmCircularProgress"), o = h("FmChip"), a = h("FmSearch"), e = h("FmMenuItem"), r = h("FmMenu");
83
+ return A(), q(O, null, [
84
+ n(u) ? (A(), D(T, {
85
+ key: 0,
86
+ size: "md"
87
+ })) : w("", !0),
88
+ n(u) ? w("", !0) : (A(), D(r, { key: 1 }, {
89
+ "menu-button": K(() => {
90
+ var t;
91
+ return [
92
+ _(o, {
93
+ icon: "account_box",
94
+ label: i.value ? i.value.prefix + " > " + ((t = i.value) == null ? void 0 : t.label) : n(c)("payment.components.select"),
95
+ removable: !!i.value,
96
+ onChipClosed: p[0] || (p[0] = (l) => i.value = void 0)
97
+ }, null, 8, ["label", "removable"])
98
+ ];
99
+ }),
100
+ default: K(() => [
101
+ _(a, {
102
+ "model-value": y.value,
103
+ "onUpdate:modelValue": p[1] || (p[1] = (t) => y.value = t),
104
+ placeholder: "Search Restaurants/Devices/Payout Accounts"
105
+ }, null, 8, ["model-value"]),
106
+ b.value.length === 0 ? (A(), D(e, {
107
+ key: 0,
108
+ disabled: !0,
109
+ label: "No result"
110
+ })) : w("", !0),
111
+ (A(!0), q(O, null, H(b.value, (t) => (A(), D(e, {
112
+ onClick: (l) => i.value = t,
113
+ key: t.value,
114
+ label: t.label,
115
+ selectable: ""
116
+ }, null, 8, ["onClick", "label"]))), 128))
117
+ ]),
118
+ _: 1
119
+ }))
120
+ ], 64);
121
+ };
122
+ }
123
+ }), ye = { class: "flex justify-between mb-6 items-center" }, fe = { class: "flex space-x-8 items-start" }, _e = { class: "flex space-x-4 self-center" }, ve = { class: "flex space-x-12 mb-6" }, Me = /* @__PURE__ */ G({
124
+ __name: "Transaction",
125
+ setup(J) {
126
+ var T, o;
127
+ const f = se(), F = oe(), { sessionUser: c } = z(), { t: s } = j(), v = E(), { dateRange: u, searchKey: g, status: m, id: i, by: y } = X({
128
+ by: "",
129
+ id: "",
130
+ searchKey: "",
131
+ status: [x.F_PAYMENT_TRANSACTION_STATUS.Enum.SUCCESS],
132
+ dateRange: {
133
+ startDate: L().startOf("day").format("YYYY-MM-DD"),
134
+ endDate: L().endOf("day").format("YYYY-MM-DD")
135
+ }
136
+ });
137
+ let b;
138
+ R(g, async () => {
139
+ b && clearTimeout(b), b = setTimeout(
140
+ () => {
141
+ var a;
142
+ return (a = v.value) == null ? void 0 : a.reset();
143
+ },
144
+ 700
145
+ );
146
+ }), R([u, m, i, y], () => {
147
+ var a;
148
+ (a = v.value) == null || a.reset();
149
+ });
150
+ const S = [
151
+ {
152
+ label: "Success",
153
+ value: x.F_PAYMENT_TRANSACTION_STATUS.Enum.SUCCESS
154
+ },
155
+ {
156
+ label: "Refunded",
157
+ value: x.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED
158
+ },
159
+ {
160
+ label: "Process",
161
+ value: x.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING
162
+ },
163
+ {
164
+ label: "Failed",
165
+ value: x.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED
166
+ }
167
+ ];
168
+ async function M(a, e) {
169
+ var r;
170
+ try {
171
+ const t = await C.refetchTransaction({ transactionId: a.id });
172
+ (r = v.value) == null || r.replaceData(e, P(t)), f.open({
173
+ type: "success",
174
+ title: "Transaction queried and updated successfully."
175
+ });
176
+ } catch (t) {
177
+ f.open({
178
+ type: "error",
179
+ title: "Fail to query transaction.",
180
+ message: $(t)
181
+ });
182
+ }
183
+ }
184
+ async function Y(a, e) {
185
+ B(
186
+ F,
187
+ "Refund Transaction",
188
+ "Are you sure to refund transaction? This action cannot be revert!",
189
+ async () => {
190
+ var r;
191
+ try {
192
+ const t = await C.refundTransaction({
193
+ transactionId: a.id,
194
+ reason: "portal transaction refund",
195
+ amount: a.fdoAmount
196
+ });
197
+ (r = v.value) == null || r.replaceData(e, P(t)), f.open({
198
+ type: "success",
199
+ title: "Transaction refund request initiated."
200
+ });
201
+ } catch (t) {
202
+ f.open({
203
+ type: "error",
204
+ title: "Fail to request refund transaction.",
205
+ message: $(t)
206
+ });
207
+ }
208
+ }
209
+ );
210
+ }
211
+ async function U(a, e) {
212
+ B(
213
+ F,
214
+ "Notify Transaction",
215
+ "Are you sure to perform notify transaction?",
216
+ async () => {
217
+ try {
218
+ await C.renotifyTransaction(a.id), f.open({
219
+ type: "success",
220
+ title: "Transaction notify successfully."
221
+ });
222
+ } catch (r) {
223
+ f.open({
224
+ type: "error",
225
+ title: "Fail to notify transaction.",
226
+ message: $(r)
227
+ });
228
+ }
229
+ }
230
+ );
231
+ }
232
+ async function d(a, e) {
233
+ const r = me([
234
+ {
235
+ type: "span",
236
+ queryKey: "transaction.id",
237
+ queryValue: a.id
238
+ }
239
+ ], a.transactionAt);
240
+ window.open(r, "_blank");
241
+ }
242
+ E("");
243
+ const p = [
244
+ {
245
+ header: () => s("payment.transactions.table.id"),
246
+ accessorKey: "id",
247
+ cell: ({ cell: a, row: e }) => {
248
+ var r, t;
249
+ return ((r = c.value) != null && r.role.isStaff || (t = c.value) != null && t.role.isAdmin) && e.original.transactionId ? e.original.id + `
250
+ ID: ` + e.original.transactionId : e.original.id;
251
+ }
252
+ },
253
+ {
254
+ header: () => s("payment.transactions.table.pay_id"),
255
+ accessorKey: "payId"
256
+ },
257
+ {
258
+ header: () => s("payment.transactions.table.gateway_id"),
259
+ accessorKey: "gatewayTransactionId"
260
+ },
261
+ {
262
+ header: () => s("payment.transactions.table.bill_seq"),
263
+ accessorKey: "seqNumber"
264
+ },
265
+ {
266
+ header: () => s("payment.transactions.table.gateway"),
267
+ accessorKey: "gateway",
268
+ meta: {
269
+ textAlign: "center"
270
+ },
271
+ cell: ({ cell: a, row: e }) => e.original.gateway ? k(le, { row: e, data: a.getValue() }) : ""
272
+ },
273
+ {
274
+ header: () => s("payment.transactions.table.method"),
275
+ accessorKey: "method",
276
+ meta: {
277
+ textAlign: "center"
278
+ },
279
+ cell: ({ cell: a, row: e }) => e.original.method ? k(ie, { row: e, data: a.getValue() }) : ""
280
+ },
281
+ {
282
+ header: () => s("payment.transactions.table.type"),
283
+ accessorKey: "payFor",
284
+ meta: {
285
+ textAlign: "center"
286
+ }
287
+ },
288
+ {
289
+ header: () => s("payment.transactions.table.status"),
290
+ accessorKey: "status",
291
+ cell: ({ cell: a, row: e }) => k(ce, { row: e, data: a.getValue() })
292
+ },
293
+ {
294
+ header: () => s("payment.transactions.table.restaurant"),
295
+ accessorKey: "restaurantId"
296
+ },
297
+ {
298
+ header: () => s("payment.transactions.table.source"),
299
+ accessorKey: "source",
300
+ cell: ({ cell: a, row: e }) => `(${e.original.sourceType}) ${e.original.source}`
301
+ },
302
+ {
303
+ header: () => s("payment.transactions.table.transaction_at"),
304
+ accessorKey: "transactionAt",
305
+ meta: {
306
+ width: "180px"
307
+ },
308
+ cell: ({ cell: a, row: e }) => e.original.status === "REFUNDED" ? e.original.refundedAt : e.original.transactionAt
309
+ },
310
+ {
311
+ header: () => s("payment.transactions.table.sales_amount"),
312
+ accessorKey: "amount",
313
+ cell: ({ cell: a, row: e }) => {
314
+ var r, t;
315
+ return ((r = c.value) != null && r.role.isStaff || (t = c.value) != null && t.role.isAdmin) && e.original.flags.isDelivery ? e.original.amount + "( " + e.original.gatewayAmount + ")" : e.original.amount;
316
+ }
317
+ }
318
+ ];
319
+ return ((T = c.value) != null && T.role.isStaff || (o = c.value) != null && o.role.isAdmin) && p.push({
320
+ header: () => s("payment.transactions.table.actions"),
321
+ accessorKey: "actions",
322
+ cell: ({ row: a }) => k(ue, {
323
+ transaction: a.original,
324
+ onAction: (e) => {
325
+ var r;
326
+ switch (e) {
327
+ case "notify":
328
+ return U(a.original, a.index);
329
+ case "query":
330
+ return M(a.original, a.index);
331
+ case "refund":
332
+ return (r = c.value) != null && r.role.isStaff ? f.open({
333
+ type: "error",
334
+ title: "You are not allowed to refund transaction."
335
+ }) : Y(a.original, a.index);
336
+ case "history":
337
+ return d(a.original, a.index);
338
+ }
339
+ }
340
+ })
341
+ }), (a, e) => {
342
+ const r = h("FmSearch"), t = h("FmSelect");
343
+ return A(), D(W, {
344
+ title: n(s)("payment.transactions.title"),
345
+ description: n(s)("payment.transactions.description"),
346
+ loading: !1
347
+ }, {
348
+ default: K(() => [
349
+ V("div", ye, [
350
+ V("div", fe, [
351
+ _(r, {
352
+ "model-value": n(g),
353
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => N(g) ? g.value = l : null),
354
+ class: "mr-8",
355
+ label: n(s)("payment.transactions.search.title"),
356
+ placeholder: n(s)("payment.transactions.search.placeholder")
357
+ }, null, 8, ["model-value", "label", "placeholder"]),
358
+ _(t, {
359
+ modelValue: n(m),
360
+ "onUpdate:modelValue": e[2] || (e[2] = (l) => N(m) ? m.value = l : null),
361
+ class: "mr-6 w-[300px]",
362
+ label: n(s)("payment.transactions.status"),
363
+ "label-mark": "required",
364
+ multiselect: "",
365
+ items: S
366
+ }, {
367
+ "prepend-menu": K(() => [
368
+ _(ee, {
369
+ modelValue: n(m),
370
+ "onUpdate:modelValue": e[1] || (e[1] = (l) => N(m) ? m.value = l : null),
371
+ items: S
372
+ }, null, 8, ["modelValue"])
373
+ ]),
374
+ _: 1
375
+ }, 8, ["modelValue", "label"])
376
+ ]),
377
+ V("div", _e, [
378
+ _(Z, {
379
+ button: {
380
+ appendIcon: "file_download",
381
+ variant: "primary",
382
+ label: n(s)("payment.transactions.button.export")
383
+ },
384
+ handler: async () => {
385
+ var I;
386
+ const l = await ((I = v.value) == null ? void 0 : I.allData());
387
+ l != null && await n(C).downloadPortalTransactionReport(n(u), l);
388
+ }
389
+ }, null, 8, ["button", "handler"])
390
+ ])
391
+ ]),
392
+ V("div", ve, [
393
+ _(pe, {
394
+ id: n(i),
395
+ "onUpdate:id": e[3] || (e[3] = (l) => N(i) ? i.value = l : null),
396
+ by: n(y),
397
+ "onUpdate:by": e[4] || (e[4] = (l) => N(y) ? y.value = l : null)
398
+ }, null, 8, ["id", "by"]),
399
+ _(ae, {
400
+ modelValue: n(u),
401
+ "onUpdate:modelValue": e[5] || (e[5] = (l) => N(u) ? u.value = l : null)
402
+ }, null, 8, ["modelValue"])
403
+ ]),
404
+ _(de, {
405
+ ref_key: "controller",
406
+ ref: v,
407
+ "column-defs": p,
408
+ "rows-defs": n(P),
409
+ paginate: (l, I) => n(C).readTransactionsV2({
410
+ limit: l,
411
+ cursor: I,
412
+ status: n(m),
413
+ by: n(y),
414
+ id: n(i),
415
+ start: n(u).startDate,
416
+ end: n(u).endDate
417
+ })
418
+ }, null, 8, ["rows-defs", "paginate"])
419
+ ]),
420
+ _: 1
421
+ }, 8, ["title", "description"]);
422
+ };
423
+ }
424
+ });
425
+ export {
426
+ Me as default
427
+ };
@@ -383,7 +383,7 @@ const Gn = {
383
383
  sidebarDisplay: "Payout Accounts",
384
384
  section: "payment-gateway"
385
385
  },
386
- component: () => import("./PayoutAccount-tbdimCvt.js")
386
+ component: () => import("./PayoutAccount-Dr6DPRAv.js")
387
387
  },
388
388
  {
389
389
  path: "/admin/payout-accounts/:accountId",
@@ -401,7 +401,7 @@ const Gn = {
401
401
  sidebarDisplay: "Payment Onboarding",
402
402
  section: "payment-gateway"
403
403
  },
404
- component: () => import("./OnboardSubmission-BeHhrUGT.js")
404
+ component: () => import("./OnboardSubmission-DLKWGAJG.js")
405
405
  },
406
406
  {
407
407
  path: "/admin/onboarding/:submissionId",
@@ -410,7 +410,7 @@ const Gn = {
410
410
  meta: {
411
411
  parent: "mf-payment-admin.onboard-submission"
412
412
  },
413
- component: () => import("./OnboardForm-NPOVuMgL.js")
413
+ component: () => import("./OnboardForm-CLqBGQ_p.js")
414
414
  },
415
415
  {
416
416
  path: "/admin/terminal/pos",
@@ -508,7 +508,7 @@ const Gn = {
508
508
  {
509
509
  path: "/payout-account",
510
510
  name: "mf-payment-payout-account",
511
- component: () => import("./PayoutAccount-CzG2xIQr.js"),
511
+ component: () => import("./PayoutAccount-D00VaBV8.js"),
512
512
  meta: {
513
513
  sidebarDisplay: "i18n:payment.routes.payout_account"
514
514
  }
@@ -516,7 +516,7 @@ const Gn = {
516
516
  {
517
517
  path: "/onboard-submission",
518
518
  name: "mf-payment-onboard-submission",
519
- component: () => import("./OnboardSubmission-x3cVRyPn.js"),
519
+ component: () => import("./OnboardSubmission-DHyeu7LN.js"),
520
520
  meta: {
521
521
  sidebarDisplay: "i18n:payment.routes.onboard_submission",
522
522
  region: { MY: !0 }
@@ -526,7 +526,7 @@ const Gn = {
526
526
  path: "/onboard-submission/:type/:submission?",
527
527
  name: "mf-payment-onboard-submission-form",
528
528
  props: !0,
529
- component: () => import("./OnboardForm-BaVW1l3e.js"),
529
+ component: () => import("./OnboardForm-B_Ze9U5W.js"),
530
530
  meta: {
531
531
  parent: "mf-payment-onboard-submission"
532
532
  }
@@ -542,7 +542,7 @@ const Gn = {
542
542
  {
543
543
  path: "/transaction",
544
544
  name: "mf-payment-transaction",
545
- component: () => import("./Transaction-LDOp9d9W.js"),
545
+ component: () => import("./Transaction-BSsgVGax.js"),
546
546
  meta: {
547
547
  sidebarDisplay: "i18n:payment.routes.transaction-new",
548
548
  sidebarNew: !0
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, f as o } from "./app-Cq3HmDvi.js";
1
+ import { h as e, i as r, f as o } from "./app-D7e4SEMx.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,5 +1,5 @@
1
1
  import { d as r, b as a, g as n, o as i } from "./index-C4FfKmPS.js";
2
- import { f as u } from "./plugins-DVyJ9EqX.js";
2
+ import { f as u } from "./plugins-BNCULwjc.js";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const y = {
5
5
  async read(s) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,7 +1,7 @@
1
- import { f as j } from "./plugins-DVyJ9EqX.js";
1
+ import { f as j } from "./plugins-BNCULwjc.js";
2
2
  import { c as st, a as it, B as at, p as E } from "./index-C4FfKmPS.js";
3
3
  import { useCoreStore as ut } from "@feedmepos/mf-common";
4
- import { _ as ot } from "./app-Cq3HmDvi.js";
4
+ import { _ as ot } from "./app-D7e4SEMx.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {
@@ -1,4 +1,4 @@
1
- import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-Cq3HmDvi.js";
1
+ import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-D7e4SEMx.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC