@feedmepos/mf-payment 1.5.53-dev → 1.5.55-dev

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 (58) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-CkvJljZO.js → Actions.vue_vue_type_script_setup_true_lang-D_PoXVbz.js} +1 -1
  2. package/dist/{Chargeback-6iuWBeI2.js → Chargeback-C19-PvY0.js} +5 -5
  3. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-OmBpXKer.js → DocumentViewer.vue_vue_type_script_setup_true_lang-KebV8Zws.js} +1 -1
  4. package/dist/{OnboardForm-BtriYUid.js → OnboardForm-6AxZrEAf.js} +5 -5
  5. package/dist/{OnboardForm--kRbMFOt.js → OnboardForm-CziPCl4D.js} +5 -5
  6. package/dist/{OnboardSubmission-gps62Ktl.js → OnboardSubmission-C2BYK2p1.js} +5 -5
  7. package/dist/{OnboardSubmission-D8aJPkMw.js → OnboardSubmission-DvWwQFy6.js} +2 -2
  8. package/dist/{PayoutAccount-CKungfsn.js → PayoutAccount-BKxMz4dT.js} +321 -305
  9. package/dist/{PayoutAccount-DBnxkII_.js → PayoutAccount-BT_92dvG.js} +63 -54
  10. package/dist/{PayoutAccountSetting-It0MmOKV.js → PayoutAccountSetting-CUK1KEM0.js} +436 -386
  11. package/dist/{Restaurant-BuxwLnR4.js → Restaurant-4cO60aVP.js} +4 -4
  12. package/dist/{RestaurantSetting-Dmhzr9be.js → RestaurantSetting-BhsE03YE.js} +3 -3
  13. package/dist/{Settlement-C89j3OZr.js → Settlement-0ajzgU77.js} +3 -3
  14. package/dist/{Settlement-CxsJJQp5.js → Settlement-8pr4NMy2.js} +4 -4
  15. package/dist/{SettlementTransactions-u27r0h8a.js → SettlementTransactions-3F4EOoyz.js} +4 -4
  16. package/dist/{SettlementTransactions-oc-sT18u.js → SettlementTransactions-DD285bSJ.js} +4 -4
  17. package/dist/{Status.vue_vue_type_script_setup_true_lang-BESgeD2u.js → Status.vue_vue_type_script_setup_true_lang-CUnCf_fx.js} +1 -1
  18. package/dist/{Terminal-DKMNAvjq.js → Terminal-Sfe6Nf9j.js} +5 -5
  19. package/dist/{TerminalSetting-CjbtdTlL.js → TerminalSetting-KjacSx_V.js} +3 -3
  20. package/dist/{Transaction-BtbTjwIH.js → Transaction-44TKMEDC.js} +5 -5
  21. package/dist/{Transaction-CC0DaPbH.js → Transaction-hVVgSn4x.js} +9 -9
  22. package/dist/{TransactionOld-jcOxo0TN.js → TransactionOld-CxPbWyfm.js} +6 -6
  23. package/dist/api/payout/index.d.ts +1 -1
  24. package/dist/{app-DtWLhdzZ.js → app-CxJUOgZy.js} +23 -23
  25. package/dist/app.js +1 -1
  26. package/dist/{assets-z1SFV5YX.js → assets-DIbq1BVX.js} +1 -1
  27. package/dist/{grafana-DqZQILnD.js → grafana-B0iQmK6j.js} +1 -1
  28. package/dist/{index-BdoKrYCJ.js → index-B0L21J1j.js} +1 -1
  29. package/dist/{index-BpNXNi7o.js → index-BHCs_NnD.js} +1 -1
  30. package/dist/{index-Kpua9F5o.js → index-BkQ7t3F6.js} +1 -1
  31. package/dist/{index-BKbdCXBS.js → index-C80a7-Ks.js} +7 -3
  32. package/dist/{index-BtpGftcM.js → index-C_Y5Sfc9.js} +1 -1
  33. package/dist/{index-DMhjy8uJ.js → index-CnN_MV2-.js} +2 -2
  34. package/dist/{index-B8KU4_R2.js → index-CxnWUe_K.js} +1 -1
  35. package/dist/{index-BeeoiRHZ.js → index-D0j1LZAB.js} +5259 -5239
  36. package/dist/{index-D2bYJt3H.js → index-XTdSN6CV.js} +1 -1
  37. package/dist/{index.vue_vue_type_script_setup_true_lang-CL_J8vkd.js → index.vue_vue_type_script_setup_true_lang-BksGFeSf.js} +1 -1
  38. package/dist/model/payout-account.d.ts +2 -2
  39. package/dist/package.json +3 -3
  40. package/dist/{payout-account-DJj5A6jR.js → payout-account-CP6qQFlB.js} +3 -3
  41. package/dist/stores/payoutAccount.d.ts +23 -17
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +16 -16
  44. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +16 -16
  45. package/dist/views/admin/payout-account/cell/Status.vue.d.ts +1 -1
  46. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +22 -16
  47. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +42 -36
  48. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +42 -36
  49. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +22 -16
  50. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +22 -16
  51. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +42 -36
  52. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +24 -24
  53. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +44 -32
  54. package/dist/views/payout-account/cell/Status.vue.d.ts +1 -1
  55. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +84 -84
  56. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +42 -42
  57. package/dist/views/settlement/SettlementTable.vue.d.ts +24 -24
  58. package/package.json +2 -2
@@ -1,13 +1,14 @@
1
- import { defineComponent as _, resolveComponent as p, openBlock as y, createBlock as N, normalizeClass as v, withCtx as f, createElementVNode as R, toDisplayString as x, createVNode as u, createElementBlock as S, computed as F, ref as O, watch as V, isRef as g, unref as o, h as k } from "vue";
2
- import { u as K } from "./index-Kpua9F5o.js";
3
- import { p as D } from "./index-BeeoiRHZ.js";
1
+ import { defineComponent as _, resolveComponent as p, openBlock as y, createBlock as k, normalizeClass as v, withCtx as b, createElementVNode as E, toDisplayString as N, createVNode as u, createElementBlock as S, computed as F, ref as I, watch as V, isRef as g, unref as l, h as x } from "vue";
2
+ import { h as O } from "./moment-h96o7c8I.js";
3
+ import { u as K } from "./index-BkQ7t3F6.js";
4
+ import { p as T } from "./index-D0j1LZAB.js";
4
5
  import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
5
- import { P } from "./payout-account-DJj5A6jR.js";
6
- import { p as A } from "./index-BKbdCXBS.js";
6
+ import { P } from "./payout-account-CP6qQFlB.js";
7
+ import { p as A } from "./index-C80a7-Ks.js";
7
8
  import "@feedmepos/ui-library";
8
- import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-CL_J8vkd.js";
9
- import { useRouter as U } from "vue-router";
10
- import { _ as G } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
9
+ import { _ as U } from "./index.vue_vue_type_script_setup_true_lang-BksGFeSf.js";
10
+ import { useRouter as G } from "vue-router";
11
+ import { _ as Y } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
11
12
  const L = /* @__PURE__ */ _({
12
13
  __name: "Status",
13
14
  props: {
@@ -17,16 +18,16 @@ const L = /* @__PURE__ */ _({
17
18
  setup(t) {
18
19
  const s = t;
19
20
  function r() {
20
- return s.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : s.data === "PENDING" ? "!w-[16px] !h-[16px] bg-red-400" : "!w-[16px] !h-[16px] bg-green-400";
21
+ return s.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : s.data === "PENDING" ? "!w-[16px] !h-[16px] bg-red-400" : s.data === "REJECTED" ? "!w-[16px] !h-[16px] bg-orange-500" : "!w-[16px] !h-[16px] bg-green-400";
21
22
  }
22
23
  return (c, d) => {
23
- const l = p("FmBadge");
24
- return y(), N(l, {
24
+ const o = p("FmBadge");
25
+ return y(), k(o, {
25
26
  inline: "",
26
27
  class: v(r())
27
28
  }, {
28
- default: f(() => [
29
- R("div", null, x(t.data), 1)
29
+ default: b(() => [
30
+ E("div", null, N(t.data), 1)
30
31
  ]),
31
32
  _: 1
32
33
  }, 8, ["class"]);
@@ -43,14 +44,14 @@ const L = /* @__PURE__ */ _({
43
44
  return r ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
44
45
  }
45
46
  return (r, c) => {
46
- const d = p("FmBadge"), l = p("FmListItem");
47
- return y(), N(l, {
47
+ const d = p("FmBadge"), o = p("FmListItem");
48
+ return y(), k(o, {
48
49
  label: t.row.original.holderName,
49
50
  sublabel: t.row.original.bankName + " - " + t.row.original.bankNumber,
50
51
  clickable: !1,
51
52
  tag: "label"
52
53
  }, {
53
- append: f(() => [
54
+ append: b(() => [
54
55
  u(d, {
55
56
  inline: "",
56
57
  class: v(s(t.row.original.bankReady))
@@ -71,14 +72,14 @@ const L = /* @__PURE__ */ _({
71
72
  return r ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
72
73
  }
73
74
  return (r, c) => {
74
- const d = p("FmBadge"), l = p("FmListItem");
75
- return y(), N(l, {
75
+ const d = p("FmBadge"), o = p("FmListItem");
76
+ return y(), k(o, {
76
77
  label: t.row.original.picName,
77
78
  sublabel: t.row.original.picEmail + " - " + t.row.original.picPhone,
78
79
  clickable: !1,
79
80
  tag: "label"
80
81
  }, {
81
- append: f(() => [
82
+ append: b(() => [
82
83
  u(d, {
83
84
  inline: "",
84
85
  class: v(s(t.row.original.picReady))
@@ -94,17 +95,17 @@ const L = /* @__PURE__ */ _({
94
95
  row: {}
95
96
  },
96
97
  setup(t) {
97
- return (s, r) => (y(), S("p", null, x(t.row.original.name) + " (" + x(t.row.original.regNo ?? "-") + ")", 1));
98
+ return (s, r) => (y(), S("p", null, N(t.row.original.name) + " (" + N(t.row.original.regNo ?? "-") + ")", 1));
98
99
  }
99
- }), z = { class: "flex items-start mb-6" }, ne = /* @__PURE__ */ _({
100
+ }), H = { class: "flex items-start mb-6" }, oe = /* @__PURE__ */ _({
100
101
  __name: "PayoutAccount",
101
102
  setup(t) {
102
- const s = F(() => P.storeEventOptions()), r = F(() => P.statusOptions()), c = O(), d = U(), { event: l, status: m, searchKey: i } = K({
103
+ const s = F(() => P.storeEventOptions()), r = F(() => P.statusOptions()), c = I(), d = G(), { event: o, status: m, searchKey: i } = K({
103
104
  searchKey: "",
104
- event: D.F_PAYOUT_FOR.Enum.ORDERING,
105
+ event: T.F_PAYOUT_FOR.Enum.ORDERING,
105
106
  status: r.value.map((e) => e.value)
106
107
  });
107
- V([l, m], () => {
108
+ V([o, m], () => {
108
109
  var e;
109
110
  return (e = c.value) == null ? void 0 : e.reset();
110
111
  });
@@ -115,7 +116,7 @@ const L = /* @__PURE__ */ _({
115
116
  return (e = c.value) == null ? void 0 : e.reset();
116
117
  }, 700);
117
118
  });
118
- const E = function(e) {
119
+ const D = function(e) {
119
120
  const a = {
120
121
  bankReady: !1,
121
122
  bankNumber: "",
@@ -128,13 +129,13 @@ const L = /* @__PURE__ */ _({
128
129
  bankName: e.store.bank.name,
129
130
  holderName: e.store.bank.holderName
130
131
  });
131
- const b = {
132
+ const f = {
132
133
  picReady: !1,
133
134
  picName: "",
134
135
  picPhone: "",
135
136
  picEmail: ""
136
137
  };
137
- e.store.keyPerson && Object.assign(b, {
138
+ e.store.keyPerson && Object.assign(f, {
138
139
  picReady: !0,
139
140
  picName: e.store.keyPerson.name,
140
141
  picPhone: e.store.keyPerson.phone,
@@ -146,12 +147,13 @@ const L = /* @__PURE__ */ _({
146
147
  event: e.store.event,
147
148
  name: h,
148
149
  status: e.status,
150
+ submissionDate: e.submissionDate ? O(e.submissionDate).format("YYYY-MM-DD HH:mm:ss") : "—",
149
151
  regNo: e.store.regNo,
150
152
  companyName: e.store.companyName,
151
153
  ...a,
152
- ...b
154
+ ...f
153
155
  };
154
- }, B = [
156
+ }, R = [
155
157
  {
156
158
  header: () => "Type",
157
159
  accessorKey: "event",
@@ -162,46 +164,53 @@ const L = /* @__PURE__ */ _({
162
164
  {
163
165
  header: () => "Name",
164
166
  accessorKey: "name",
165
- cell: ({ cell: e, row: a }) => k(q, { row: a })
167
+ cell: ({ cell: e, row: a }) => x(q, { row: a })
166
168
  },
167
169
  {
168
170
  header: () => "Status",
169
171
  accessorKey: "status",
170
- cell: ({ cell: e, row: a }) => k(L, { row: a, data: e.getValue() }),
172
+ cell: ({ cell: e, row: a }) => x(L, { row: a, data: e.getValue() }),
171
173
  meta: {
172
174
  maxWidth: "108px",
173
175
  textAlign: "right"
174
176
  }
175
177
  },
178
+ {
179
+ header: () => "Submission Date",
180
+ accessorKey: "submissionDate",
181
+ meta: {
182
+ maxWidth: "160px"
183
+ }
184
+ },
176
185
  {
177
186
  header: () => "Bank Details",
178
187
  accessorKey: "bank",
179
- cell: ({ cell: e, row: a }) => k(W, { row: a, data: e.getValue() })
188
+ cell: ({ cell: e, row: a }) => x(W, { row: a, data: e.getValue() })
180
189
  },
181
190
  {
182
191
  header: () => "Person In-Charge (PIC)",
183
192
  accessorKey: "pic",
184
- cell: ({ cell: e, row: a }) => k(j, { row: a, data: e.getValue() })
193
+ cell: ({ cell: e, row: a }) => x(j, { row: a, data: e.getValue() })
185
194
  }
186
195
  ];
187
196
  return (e, a) => {
188
- const b = p("FmSelect"), h = p("FmSearch"), C = p("FmFormGroup");
189
- return y(), N($, {
197
+ const f = p("FmSelect"), h = p("FmSearch"), C = p("FmFormGroup");
198
+ return y(), k($, {
190
199
  title: "Payout Accounts",
191
200
  loading: !1
192
201
  }, {
193
- default: f(() => [
194
- R("div", z, [
195
- u(b, {
196
- modelValue: o(l),
197
- "onUpdate:modelValue": a[0] || (a[0] = (n) => g(l) ? l.value = n : null),
202
+ default: b(() => [
203
+ E("div", H, [
204
+ u(f, {
205
+ modelValue: l(o),
206
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => g(o) ? o.value = n : null),
198
207
  class: "mr-6 w-[128px]",
199
208
  label: "Type",
200
209
  "label-mark": "required",
201
210
  items: s.value
202
211
  }, null, 8, ["modelValue", "items"]),
203
- u(b, {
204
- modelValue: o(m),
212
+ u(f, {
213
+ modelValue: l(m),
205
214
  "onUpdate:modelValue": a[2] || (a[2] = (n) => g(m) ? m.value = n : null),
206
215
  class: "mr-6 w-[300px]",
207
216
  label: "Status",
@@ -209,9 +218,9 @@ const L = /* @__PURE__ */ _({
209
218
  multiselect: "",
210
219
  items: r.value
211
220
  }, {
212
- "prepend-menu": f(() => [
213
- u(G, {
214
- modelValue: o(m),
221
+ "prepend-menu": b(() => [
222
+ u(Y, {
223
+ modelValue: l(m),
215
224
  "onUpdate:modelValue": a[1] || (a[1] = (n) => g(m) ? m.value = n : null),
216
225
  items: r.value
217
226
  }, null, 8, ["modelValue", "items"])
@@ -220,13 +229,13 @@ const L = /* @__PURE__ */ _({
220
229
  }, 8, ["modelValue", "items"]),
221
230
  u(C, {
222
231
  class: "w-[300px]",
223
- modelValue: o(i),
232
+ modelValue: l(i),
224
233
  "onUpdate:modelValue": a[4] || (a[4] = (n) => g(i) ? i.value = n : null),
225
234
  label: "Search"
226
235
  }, {
227
- default: f(() => [
236
+ default: b(() => [
228
237
  u(h, {
229
- modelValue: o(i),
238
+ modelValue: l(i),
230
239
  "onUpdate:modelValue": a[3] || (a[3] = (n) => g(i) ? i.value = n : null),
231
240
  placeholder: "Search accounts ..."
232
241
  }, null, 8, ["modelValue"])
@@ -234,13 +243,13 @@ const L = /* @__PURE__ */ _({
234
243
  _: 1
235
244
  }, 8, ["modelValue"])
236
245
  ]),
237
- u(T, {
246
+ u(U, {
238
247
  ref_key: "controller",
239
248
  ref: c,
240
- "column-defs": B,
241
- "rows-defs": E,
242
- paginate: (n, I) => o(A).read({ event: o(l), status: o(m), searchKey: o(i), limit: n, cursor: I }),
243
- onRowClick: a[5] || (a[5] = (n) => o(d).push({
249
+ "column-defs": R,
250
+ "rows-defs": D,
251
+ paginate: (n, B) => l(A).read({ event: l(o), status: l(m), searchKey: l(i), limit: n, cursor: B }),
252
+ onRowClick: a[5] || (a[5] = (n) => l(d).push({
244
253
  name: "mf-payment-admin.payout-account-settings",
245
254
  params: {
246
255
  accountId: n._id
@@ -254,5 +263,5 @@ const L = /* @__PURE__ */ _({
254
263
  }
255
264
  });
256
265
  export {
257
- ne as default
266
+ oe as default
258
267
  };