@feedmepos/mf-payment 1.5.17-dev → 1.5.20-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 (79) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-BVJmo7yZ.js → Actions.vue_vue_type_script_setup_true_lang-DbsSsOek.js} +2 -2
  2. package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js +52 -0
  3. package/dist/{Chargeback-CN_5ffe0.js → Chargeback-Bds2iEV5.js} +6 -6
  4. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DVeP7_1A.js → DocumentViewer.vue_vue_type_script_setup_true_lang-BgL6Nuvr.js} +1 -1
  5. package/dist/{OnboardForm-5Ebr2vf9.js → OnboardForm-BbRipw6v.js} +5 -5
  6. package/dist/{OnboardForm-Ch_Ykfw_.js → OnboardForm-Bjdtix8t.js} +5 -5
  7. package/dist/{OnboardSubmission-BF3Wq8xe.js → OnboardSubmission-CBXLX9vB.js} +5 -5
  8. package/dist/{OnboardSubmission-JGk9_ODn.js → OnboardSubmission-CNjQNirx.js} +2 -2
  9. package/dist/{PayoutAccount-PPkKjWQM.js → PayoutAccount-CnHSjAFn.js} +181 -155
  10. package/dist/{PayoutAccount-D238lqNT.js → PayoutAccount-DtUTEyVW.js} +87 -79
  11. package/dist/{PayoutAccountSetting-BGqJyEP-.js → PayoutAccountSetting-CUJtxE8n.js} +502 -467
  12. package/dist/{Restaurant-BjF1a029.js → Restaurant-DVSk4KFB.js} +5 -5
  13. package/dist/{RestaurantSetting-DC0f4Ucf.js → RestaurantSetting-CPa7CFaW.js} +3 -3
  14. package/dist/{Settlement-BC3V4klw.js → Settlement-BOS0NVhn.js} +4 -4
  15. package/dist/{Settlement-ZBIhVddV.js → Settlement-CMEBmvhn.js} +4 -4
  16. package/dist/{SettlementTransactions-NtqKVZ4y.js → SettlementTransactions-BKCPfMDs.js} +4 -4
  17. package/dist/{SettlementTransactions---x0z4Fg.js → SettlementTransactions-BwVjsFCT.js} +4 -4
  18. package/dist/{Status.vue_vue_type_script_setup_true_lang-DiLHaz81.js → Status.vue_vue_type_script_setup_true_lang-BiTeDpBk.js} +1 -1
  19. package/dist/{Terminal-Dp4YfQLn.js → Terminal-DJSDtUUp.js} +5 -5
  20. package/dist/{TerminalSetting-22VMhd8q.js → TerminalSetting-CGGpemW8.js} +3 -3
  21. package/dist/Transaction-BASuO5u4.js +619 -0
  22. package/dist/{Transaction-JFDOKyml.js → Transaction-DA3HSvt8.js} +9 -9
  23. package/dist/{TransactionOld-CmRVIeU2.js → TransactionOld-CmjVUkD9.js} +6 -6
  24. package/dist/api/transaction/index.d.ts +8 -0
  25. package/dist/{app-DKtypFfA.js → app-Csm7YQgx.js} +32 -26
  26. package/dist/app.js +1 -1
  27. package/dist/{assets-lFgK3KQx.js → assets-BqyjGcBE.js} +1 -1
  28. package/dist/{grafana-BRpcfaCo.js → grafana-DecAHDp-.js} +1 -1
  29. package/dist/{index-CHX0p0Dm.js → index-B5j5U-Da.js} +1 -1
  30. package/dist/{index-s7pe9sTx.js → index-BKXccERQ.js} +41 -31
  31. package/dist/{index-DTD9SWXp.js → index-CylkiU8i.js} +1 -1
  32. package/dist/{index-QTsd1BO1.js → index-DQany4ND.js} +1413 -1447
  33. package/dist/{index-9ABD__aA.js → index-DklLFCf5.js} +1 -1
  34. package/dist/{index-hKHpA30o.js → index-DtIipWj2.js} +1 -1
  35. package/dist/{index-CFxxPCNY.js → index-HvRabCwb.js} +1 -1
  36. package/dist/{index-VWqgxrIV.js → index-lkMlxXDI.js} +1 -1
  37. package/dist/{index-Ur-VjIjX.js → index-pBoJWBgh.js} +2 -2
  38. package/dist/{index.vue_vue_type_script_setup_true_lang-QCvHWbIq.js → index.vue_vue_type_script_setup_true_lang-0YY23afw.js} +1 -1
  39. package/dist/package.json +2 -2
  40. package/dist/{payout-account-CGaqvbMg.js → payout-account-CrbSns2O.js} +3 -3
  41. package/dist/stores/payoutAccount.d.ts +20 -16
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +20 -20
  44. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +20 -20
  45. package/dist/views/admin/payout-account/cell/DisplayName.vue.d.ts +6 -0
  46. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +20 -16
  47. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +40 -36
  48. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +40 -36
  49. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +20 -16
  50. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +20 -16
  51. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +40 -36
  52. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +12 -136
  53. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +12 -136
  54. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +12 -136
  55. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +12 -136
  56. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +12 -136
  57. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +12 -136
  58. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +12 -136
  59. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +12 -136
  60. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +12 -136
  61. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +12 -136
  62. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +12 -136
  63. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +12 -136
  64. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +12 -136
  65. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +12 -136
  66. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +12 -136
  67. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +12 -136
  68. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +12 -136
  69. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +12 -136
  70. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +12 -136
  71. package/dist/views/admin/transaction/TextInputDialog.vue.d.ts +34 -0
  72. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
  73. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +41 -33
  74. package/dist/views/payout-account/cell/DisplayName.vue.d.ts +6 -0
  75. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +64 -64
  76. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +32 -32
  77. package/package.json +2 -2
  78. package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-I9eO197f.js +0 -47
  79. package/dist/Transaction-BiT6BRmx.js +0 -478
@@ -1,14 +1,14 @@
1
- import { defineComponent as y, resolveComponent as p, openBlock as h, createBlock as k, normalizeClass as v, withCtx as b, createElementVNode as P, toDisplayString as I, createVNode as u, computed as N, ref as S, watch as F, isRef as g, unref as r, h as w } from "vue";
2
- import { u as O } from "./index-CHX0p0Dm.js";
3
- import { p as K } from "./index-QTsd1BO1.js";
4
- import { _ as A } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
5
- import { P as V } from "./payout-account-CGaqvbMg.js";
6
- import { p as D } from "./index-hKHpA30o.js";
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-B5j5U-Da.js";
3
+ import { p as D } from "./index-DQany4ND.js";
4
+ import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
5
+ import { P } from "./payout-account-CrbSns2O.js";
6
+ import { p as A } from "./index-DtIipWj2.js";
7
7
  import "@feedmepos/ui-library";
8
- import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-QCvHWbIq.js";
8
+ import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-0YY23afw.js";
9
9
  import { useRouter as U } from "vue-router";
10
- import { _ as $ } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
11
- const G = /* @__PURE__ */ y({
10
+ import { _ as G } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
11
+ const L = /* @__PURE__ */ _({
12
12
  __name: "Status",
13
13
  props: {
14
14
  row: {},
@@ -16,41 +16,41 @@ const G = /* @__PURE__ */ y({
16
16
  },
17
17
  setup(t) {
18
18
  const s = t;
19
- function l() {
19
+ function r() {
20
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
21
  }
22
22
  return (c, d) => {
23
- const o = p("FmBadge");
24
- return h(), k(o, {
23
+ const l = p("FmBadge");
24
+ return y(), N(l, {
25
25
  inline: "",
26
- class: v(l())
26
+ class: v(r())
27
27
  }, {
28
- default: b(() => [
29
- P("div", null, I(t.data), 1)
28
+ default: f(() => [
29
+ R("div", null, x(t.data), 1)
30
30
  ]),
31
31
  _: 1
32
32
  }, 8, ["class"]);
33
33
  };
34
34
  }
35
- }), L = /* @__PURE__ */ y({
35
+ }), W = /* @__PURE__ */ _({
36
36
  __name: "Bank",
37
37
  props: {
38
38
  row: {},
39
39
  data: {}
40
40
  },
41
41
  setup(t) {
42
- function s(l) {
43
- return l ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
42
+ function s(r) {
43
+ return r ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
44
44
  }
45
- return (l, c) => {
46
- const d = p("FmBadge"), o = p("FmListItem");
47
- return h(), k(o, {
45
+ return (r, c) => {
46
+ const d = p("FmBadge"), l = p("FmListItem");
47
+ return y(), N(l, {
48
48
  label: t.row.original.holderName,
49
49
  sublabel: t.row.original.bankName + " - " + t.row.original.bankNumber,
50
50
  clickable: !1,
51
51
  tag: "label"
52
52
  }, {
53
- append: b(() => [
53
+ append: f(() => [
54
54
  u(d, {
55
55
  inline: "",
56
56
  class: v(s(t.row.original.bankReady))
@@ -60,25 +60,25 @@ const G = /* @__PURE__ */ y({
60
60
  }, 8, ["label", "sublabel"]);
61
61
  };
62
62
  }
63
- }), W = /* @__PURE__ */ y({
63
+ }), j = /* @__PURE__ */ _({
64
64
  __name: "PersonInCharge",
65
65
  props: {
66
66
  row: {},
67
67
  data: {}
68
68
  },
69
69
  setup(t) {
70
- function s(l) {
71
- return l ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
70
+ function s(r) {
71
+ return r ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
72
72
  }
73
- return (l, c) => {
74
- const d = p("FmBadge"), o = p("FmListItem");
75
- return h(), k(o, {
73
+ return (r, c) => {
74
+ const d = p("FmBadge"), l = p("FmListItem");
75
+ return y(), N(l, {
76
76
  label: t.row.original.picName,
77
77
  sublabel: t.row.original.picEmail + " - " + t.row.original.picPhone,
78
78
  clickable: !1,
79
79
  tag: "label"
80
80
  }, {
81
- append: b(() => [
81
+ append: f(() => [
82
82
  u(d, {
83
83
  inline: "",
84
84
  class: v(s(t.row.original.picReady))
@@ -88,29 +88,34 @@ const G = /* @__PURE__ */ y({
88
88
  }, 8, ["label", "sublabel"]);
89
89
  };
90
90
  }
91
- }), j = { class: "flex items-start mb-6" }, ae = /* @__PURE__ */ y({
91
+ }), q = /* @__PURE__ */ _({
92
+ __name: "DisplayName",
93
+ props: {
94
+ row: {}
95
+ },
96
+ setup(t) {
97
+ return (s, r) => (y(), S("p", null, x(t.row.original.name) + " (" + x(t.row.original.regNo ?? "-") + ")", 1));
98
+ }
99
+ }), z = { class: "flex items-start mb-6" }, ne = /* @__PURE__ */ _({
92
100
  __name: "PayoutAccount",
93
101
  setup(t) {
94
- const s = N(() => V.storeEventOptions()), l = N(() => V.statusOptions()), c = S(), d = U(), { event: o, status: m, searchKey: i } = O({
102
+ const s = F(() => P.storeEventOptions()), r = F(() => P.statusOptions()), c = O(), d = U(), { event: l, status: m, searchKey: i } = K({
95
103
  searchKey: "",
96
- event: K.F_PAYOUT_FOR.Enum.ORDERING,
97
- status: l.value.map((e) => e.value)
104
+ event: D.F_PAYOUT_FOR.Enum.ORDERING,
105
+ status: r.value.map((e) => e.value)
98
106
  });
99
- F([o, m], () => {
107
+ V([l, m], () => {
100
108
  var e;
101
109
  return (e = c.value) == null ? void 0 : e.reset();
102
110
  });
103
- let x;
104
- F(i, async () => {
105
- x && clearTimeout(x), x = setTimeout(
106
- () => {
107
- var e;
108
- return (e = c.value) == null ? void 0 : e.reset();
109
- },
110
- 700
111
- );
111
+ let w;
112
+ V(i, async () => {
113
+ w && clearTimeout(w), w = setTimeout(() => {
114
+ var e;
115
+ return (e = c.value) == null ? void 0 : e.reset();
116
+ }, 700);
112
117
  });
113
- const R = function(e) {
118
+ const E = function(e) {
114
119
  const a = {
115
120
  bankReady: !1,
116
121
  bankNumber: "",
@@ -123,28 +128,30 @@ const G = /* @__PURE__ */ y({
123
128
  bankName: e.store.bank.name,
124
129
  holderName: e.store.bank.holderName
125
130
  });
126
- const f = {
131
+ const b = {
127
132
  picReady: !1,
128
133
  picName: "",
129
134
  picPhone: "",
130
135
  picEmail: ""
131
136
  };
132
- e.store.keyPerson && Object.assign(f, {
137
+ e.store.keyPerson && Object.assign(b, {
133
138
  picReady: !0,
134
139
  picName: e.store.keyPerson.name,
135
140
  picPhone: e.store.keyPerson.phone,
136
141
  picEmail: e.store.keyPerson.email
137
142
  });
138
- let _ = e.ref.name;
139
- return e.store.event === "ORDERING" && (_ = e.ref.profile.name), {
143
+ let h = e.store.companyName ?? e.ref.name;
144
+ return e.store.event === "ORDERING" && (h = e.ref.profile.name), {
140
145
  _id: e._id,
141
146
  event: e.store.event,
142
- name: _,
147
+ name: h,
143
148
  status: e.status,
149
+ regNo: e.store.regNo,
150
+ companyName: e.store.companyName,
144
151
  ...a,
145
- ...f
152
+ ...b
146
153
  };
147
- }, C = [
154
+ }, B = [
148
155
  {
149
156
  header: () => "Type",
150
157
  accessorKey: "event",
@@ -154,12 +161,13 @@ const G = /* @__PURE__ */ y({
154
161
  },
155
162
  {
156
163
  header: () => "Name",
157
- accessorKey: "name"
164
+ accessorKey: "name",
165
+ cell: ({ cell: e, row: a }) => k(q, { row: a })
158
166
  },
159
167
  {
160
168
  header: () => "Status",
161
169
  accessorKey: "status",
162
- cell: ({ cell: e, row: a }) => w(G, { row: a, data: e.getValue() }),
170
+ cell: ({ cell: e, row: a }) => k(L, { row: a, data: e.getValue() }),
163
171
  meta: {
164
172
  maxWidth: "108px",
165
173
  textAlign: "right"
@@ -168,57 +176,57 @@ const G = /* @__PURE__ */ y({
168
176
  {
169
177
  header: () => "Bank Details",
170
178
  accessorKey: "bank",
171
- cell: ({ cell: e, row: a }) => w(L, { row: a, data: e.getValue() })
179
+ cell: ({ cell: e, row: a }) => k(W, { row: a, data: e.getValue() })
172
180
  },
173
181
  {
174
182
  header: () => "Person In-Charge (PIC)",
175
183
  accessorKey: "pic",
176
- cell: ({ cell: e, row: a }) => w(W, { row: a, data: e.getValue() })
184
+ cell: ({ cell: e, row: a }) => k(j, { row: a, data: e.getValue() })
177
185
  }
178
186
  ];
179
187
  return (e, a) => {
180
- const f = p("FmSelect"), _ = p("FmSearch"), E = p("FmFormGroup");
181
- return h(), k(A, {
188
+ const b = p("FmSelect"), h = p("FmSearch"), C = p("FmFormGroup");
189
+ return y(), N($, {
182
190
  title: "Payout Accounts",
183
191
  loading: !1
184
192
  }, {
185
- default: b(() => [
186
- P("div", j, [
187
- u(f, {
188
- modelValue: r(o),
189
- "onUpdate:modelValue": a[0] || (a[0] = (n) => g(o) ? o.value = n : null),
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),
190
198
  class: "mr-6 w-[128px]",
191
199
  label: "Type",
192
200
  "label-mark": "required",
193
201
  items: s.value
194
202
  }, null, 8, ["modelValue", "items"]),
195
- u(f, {
196
- modelValue: r(m),
203
+ u(b, {
204
+ modelValue: o(m),
197
205
  "onUpdate:modelValue": a[2] || (a[2] = (n) => g(m) ? m.value = n : null),
198
206
  class: "mr-6 w-[300px]",
199
207
  label: "Status",
200
208
  "label-mark": "required",
201
209
  multiselect: "",
202
- items: l.value
210
+ items: r.value
203
211
  }, {
204
- "prepend-menu": b(() => [
205
- u($, {
206
- modelValue: r(m),
212
+ "prepend-menu": f(() => [
213
+ u(G, {
214
+ modelValue: o(m),
207
215
  "onUpdate:modelValue": a[1] || (a[1] = (n) => g(m) ? m.value = n : null),
208
- items: l.value
216
+ items: r.value
209
217
  }, null, 8, ["modelValue", "items"])
210
218
  ]),
211
219
  _: 1
212
220
  }, 8, ["modelValue", "items"]),
213
- u(E, {
221
+ u(C, {
214
222
  class: "w-[300px]",
215
- modelValue: r(i),
223
+ modelValue: o(i),
216
224
  "onUpdate:modelValue": a[4] || (a[4] = (n) => g(i) ? i.value = n : null),
217
225
  label: "Search"
218
226
  }, {
219
- default: b(() => [
220
- u(_, {
221
- modelValue: r(i),
227
+ default: f(() => [
228
+ u(h, {
229
+ modelValue: o(i),
222
230
  "onUpdate:modelValue": a[3] || (a[3] = (n) => g(i) ? i.value = n : null),
223
231
  placeholder: "Search accounts ..."
224
232
  }, null, 8, ["modelValue"])
@@ -229,10 +237,10 @@ const G = /* @__PURE__ */ y({
229
237
  u(T, {
230
238
  ref_key: "controller",
231
239
  ref: c,
232
- "column-defs": C,
233
- "rows-defs": R,
234
- paginate: (n, B) => r(D).read({ event: r(o), status: r(m), searchKey: r(i), limit: n, cursor: B }),
235
- onRowClick: a[5] || (a[5] = (n) => r(d).push({
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({
236
244
  name: "mf-payment-admin.payout-account-settings",
237
245
  params: {
238
246
  accountId: n._id
@@ -246,5 +254,5 @@ const G = /* @__PURE__ */ y({
246
254
  }
247
255
  });
248
256
  export {
249
- ae as default
257
+ ne as default
250
258
  };