@feedmepos/mf-payment 1.5.18-dev → 1.5.21-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 (73) 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/{Chargeback-tB9aRc32.js → Chargeback-Bds2iEV5.js} +5 -5
  3. 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
  4. package/dist/{OnboardForm-lzWPdRnK.js → OnboardForm-BD9XawdM.js} +5 -5
  5. package/dist/{OnboardForm-CFjqDHUQ.js → OnboardForm-mQf8JjIF.js} +5 -5
  6. package/dist/{OnboardSubmission-BF3Wq8xe.js → OnboardSubmission-CBXLX9vB.js} +5 -5
  7. package/dist/{OnboardSubmission-JGk9_ODn.js → OnboardSubmission-CNjQNirx.js} +2 -2
  8. package/dist/{PayoutAccount-C3dLv3vp.js → PayoutAccount-B9KX0Gla.js} +87 -79
  9. package/dist/{PayoutAccount-kUXbY4SV.js → PayoutAccount-xMg-BquD.js} +270 -230
  10. package/dist/{PayoutAccountSetting-BGqJyEP-.js → PayoutAccountSetting-CUJtxE8n.js} +502 -467
  11. package/dist/{Restaurant-BQUb95tS.js → Restaurant-DVSk4KFB.js} +4 -4
  12. package/dist/{RestaurantSetting-DC0f4Ucf.js → RestaurantSetting-CPa7CFaW.js} +3 -3
  13. package/dist/{Settlement-DnPXVtTO.js → Settlement-BOS0NVhn.js} +3 -3
  14. package/dist/{Settlement-zgU3INW2.js → Settlement-CMEBmvhn.js} +3 -3
  15. package/dist/{SettlementTransactions-BeeHTBBa.js → SettlementTransactions-BKCPfMDs.js} +4 -4
  16. package/dist/{SettlementTransactions-CgDzvPcF.js → SettlementTransactions-BwVjsFCT.js} +4 -4
  17. package/dist/{Status.vue_vue_type_script_setup_true_lang-DiLHaz81.js → Status.vue_vue_type_script_setup_true_lang-BiTeDpBk.js} +1 -1
  18. package/dist/{Terminal-Dp4YfQLn.js → Terminal-DJSDtUUp.js} +5 -5
  19. package/dist/{TerminalSetting-22VMhd8q.js → TerminalSetting-CGGpemW8.js} +3 -3
  20. package/dist/{Transaction-DgrEw-tG.js → Transaction-BASuO5u4.js} +6 -6
  21. package/dist/{Transaction-CwxShg0E.js → Transaction-DA3HSvt8.js} +9 -9
  22. package/dist/{TransactionOld-DPF3VYZ7.js → TransactionOld-CmjVUkD9.js} +6 -6
  23. package/dist/{app-Fj7JOZst.js → app-CaU6ppED.js} +32 -26
  24. package/dist/app.js +1 -1
  25. package/dist/{assets-lFgK3KQx.js → assets-BqyjGcBE.js} +1 -1
  26. package/dist/{grafana-BRpcfaCo.js → grafana-DecAHDp-.js} +1 -1
  27. package/dist/{index-CHX0p0Dm.js → index-B5j5U-Da.js} +1 -1
  28. package/dist/{index-COi73LGz.js → index-BKXccERQ.js} +1 -1
  29. package/dist/{index-DTD9SWXp.js → index-CylkiU8i.js} +1 -1
  30. package/dist/{index-QTsd1BO1.js → index-DQany4ND.js} +1413 -1447
  31. package/dist/{index-9ABD__aA.js → index-DklLFCf5.js} +1 -1
  32. package/dist/{index-hKHpA30o.js → index-DtIipWj2.js} +1 -1
  33. package/dist/{index-CFxxPCNY.js → index-HvRabCwb.js} +1 -1
  34. package/dist/{index-VWqgxrIV.js → index-lkMlxXDI.js} +1 -1
  35. package/dist/{index-Ur-VjIjX.js → index-pBoJWBgh.js} +2 -2
  36. package/dist/{index.vue_vue_type_script_setup_true_lang-QCvHWbIq.js → index.vue_vue_type_script_setup_true_lang-0YY23afw.js} +1 -1
  37. package/dist/package.json +2 -2
  38. package/dist/{payout-account-tKvh4Q7G.js → payout-account-hwxvXOZN.js} +57 -53
  39. package/dist/stores/payoutAccount.d.ts +20 -16
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +20 -20
  42. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +20 -20
  43. package/dist/views/admin/payout-account/cell/DisplayName.vue.d.ts +6 -0
  44. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +20 -16
  45. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +40 -36
  46. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +40 -36
  47. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +20 -16
  48. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +20 -16
  49. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +40 -36
  50. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +12 -136
  51. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +12 -136
  52. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +12 -136
  53. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +12 -136
  54. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +12 -136
  55. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +12 -136
  56. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +12 -136
  57. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +12 -136
  58. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +12 -136
  59. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +12 -136
  60. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +12 -136
  61. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +12 -136
  62. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +12 -136
  63. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +12 -136
  64. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +12 -136
  65. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +12 -136
  66. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +12 -136
  67. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +12 -136
  68. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +12 -136
  69. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +41 -33
  70. package/dist/views/payout-account/cell/DisplayName.vue.d.ts +6 -0
  71. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +64 -64
  72. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +32 -32
  73. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-QTsd1BO1.js";
1
+ import { b as r, g as e } from "./index-DQany4ND.js";
2
2
  const n = {
3
3
  async readRestaurantById(t) {
4
4
  const a = await r().get(`/restaurants/${t}`);
@@ -1,4 +1,4 @@
1
- import { g as n, b as s, f as u, d as e } from "./index-QTsd1BO1.js";
1
+ import { g as n, b as s, f as u, d as e } from "./index-DQany4ND.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,4 +1,4 @@
1
- import { g as r, r as i, b as m, h as l, l as c, i as d, j as y } from "./index-QTsd1BO1.js";
1
+ import { g as r, r as i, b as m, h as l, l as c, i as d, j as y } from "./index-DQany4ND.js";
2
2
  import { h as o } from "./moment-h96o7c8I.js";
3
3
  import { d as f } from "./dinero-CIVmXLL-.js";
4
4
  function* p(t, n) {
@@ -1,4 +1,4 @@
1
- import { g as a, b as t, p as r, f as i, d as s } from "./index-QTsd1BO1.js";
1
+ import { g as a, b as t, p as r, f as i, d as s } from "./index-DQany4ND.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -1,6 +1,6 @@
1
- import { g as t, b as a, o as u, d as m } from "./index-QTsd1BO1.js";
1
+ import { g as t, b as a, o as u, d as m } from "./index-DQany4ND.js";
2
2
  import { h as d } from "./moment-h96o7c8I.js";
3
- import { d as b } from "./index-DTD9SWXp.js";
3
+ import { d as b } from "./index-CylkiU8i.js";
4
4
  const w = {
5
5
  async read(s) {
6
6
  return m(
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, ref as r, resolveComponent as f, openBlock as g, createBlock as S, withCtx as z, createElementVNode as s, normalizeStyle as j, createElementBlock as B, Fragment as N, renderList as E, createVNode as c, computed as _, watch as I, onMounted as O, unref as C, toDisplayString as D, createCommentVNode as R, nextTick as G, normalizeClass as H } from "vue";
2
- import { u as J } from "./index-QTsd1BO1.js";
2
+ import { u as J } from "./index-DQany4ND.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const K = ["id"], L = /* @__PURE__ */ U({
5
5
  __name: "FmTableSelection",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.5.18-dev",
3
+ "version": "1.5.21-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -38,7 +38,7 @@
38
38
  "@feedmepos/core": "^2.6.0",
39
39
  "@feedmepos/mf-common": "^1.26.8",
40
40
  "@feedmepos/mf-financing": "0.0.24-dev",
41
- "@feedmepos/payment-entity": "0.1.57",
41
+ "@feedmepos/payment-entity": "0.1.62",
42
42
  "@feedmepos/ui-library": "^1.7.1",
43
43
  "axios": "^0.27.2",
44
44
  "buffer": "^6.0.3",
@@ -1,13 +1,13 @@
1
- import { a as st, c as it, p as E, B as at } from "./index-QTsd1BO1.js";
1
+ import { a as st, c as it, p as E, B as at } from "./index-DQany4ND.js";
2
2
  import { useCoreStore as ut } from "@feedmepos/mf-common";
3
- import { d as H } from "./index-DTD9SWXp.js";
4
- import { _ as ot } from "./app-Fj7JOZst.js";
3
+ import { d as H } from "./index-CylkiU8i.js";
4
+ import { _ as ot } from "./app-CaU6ppED.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {
8
8
  i.exports = m();
9
9
  })(it, function() {
10
- var t = 1e3, m = 6e4, b = 36e5, y = "millisecond", v = "second", k = "minute", M = "hour", _ = "day", w = "week", p = "month", C = "quarter", T = "year", A = "date", V = "Invalid Date", tt = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, et = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, rt = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(u) {
10
+ var t = 1e3, m = 6e4, b = 36e5, O = "millisecond", v = "second", k = "minute", y = "hour", _ = "day", T = "week", p = "month", C = "quarter", w = "year", A = "date", V = "Invalid Date", tt = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, et = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, rt = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(u) {
11
11
  var n = ["th", "st", "nd", "rd"], e = u % 100;
12
12
  return "[" + u + (n[(e - 20) % 10] || n[e] || n[0]) + "]";
13
13
  } }, B = function(u, n, e) {
@@ -23,7 +23,7 @@ var Q = { exports: {} };
23
23
  }, a: function(u) {
24
24
  return u < 0 ? Math.ceil(u) || 0 : Math.floor(u);
25
25
  }, p: function(u) {
26
- return { M: p, y: T, w, d: _, D: A, h: M, m: k, s: v, ms: y, Q: C }[u] || String(u || "").toLowerCase().replace(/s$/, "");
26
+ return { M: p, y: w, w: T, d: _, D: A, h: y, m: k, s: v, ms: O, Q: C }[u] || String(u || "").toLowerCase().replace(/s$/, "");
27
27
  }, u: function(u) {
28
28
  return u === void 0;
29
29
  } }, I = "en", P = {};
@@ -92,24 +92,24 @@ var Q = { exports: {} };
92
92
  }, n.valueOf = function() {
93
93
  return this.$d.getTime();
94
94
  }, n.startOf = function(e, s) {
95
- var r = this, o = !!c.u(s) || s, f = c.p(e), h = function(N, g) {
96
- var D = c.w(r.$u ? Date.UTC(r.$y, g, N) : new Date(r.$y, g, N), r);
97
- return o ? D : D.endOf(_);
98
- }, l = function(N, g) {
99
- return c.w(r.toDate()[N].apply(r.toDate("s"), (o ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(g)), r);
100
- }, $ = this.$W, S = this.$M, O = this.$D, U = "set" + (this.$u ? "UTC" : "");
95
+ var r = this, o = !!c.u(s) || s, f = c.p(e), h = function(x, g) {
96
+ var N = c.w(r.$u ? Date.UTC(r.$y, g, x) : new Date(r.$y, g, x), r);
97
+ return o ? N : N.endOf(_);
98
+ }, l = function(x, g) {
99
+ return c.w(r.toDate()[x].apply(r.toDate("s"), (o ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(g)), r);
100
+ }, $ = this.$W, S = this.$M, M = this.$D, U = "set" + (this.$u ? "UTC" : "");
101
101
  switch (f) {
102
- case T:
102
+ case w:
103
103
  return o ? h(1, 0) : h(31, 11);
104
104
  case p:
105
105
  return o ? h(1, S) : h(0, S + 1);
106
- case w:
107
- var x = this.$locale().weekStart || 0, Y = ($ < x ? $ + 7 : $) - x;
108
- return h(o ? O - Y : O + (6 - Y), S);
106
+ case T:
107
+ var D = this.$locale().weekStart || 0, Y = ($ < D ? $ + 7 : $) - D;
108
+ return h(o ? M - Y : M + (6 - Y), S);
109
109
  case _:
110
110
  case A:
111
111
  return l(U + "Hours", 0);
112
- case M:
112
+ case y:
113
113
  return l(U + "Minutes", 1);
114
114
  case k:
115
115
  return l(U + "Seconds", 2);
@@ -121,8 +121,8 @@ var Q = { exports: {} };
121
121
  }, n.endOf = function(e) {
122
122
  return this.startOf(e, !1);
123
123
  }, n.$set = function(e, s) {
124
- var r, o = c.p(e), f = "set" + (this.$u ? "UTC" : ""), h = (r = {}, r[_] = f + "Date", r[A] = f + "Date", r[p] = f + "Month", r[T] = f + "FullYear", r[M] = f + "Hours", r[k] = f + "Minutes", r[v] = f + "Seconds", r[y] = f + "Milliseconds", r)[o], l = o === _ ? this.$D + (s - this.$W) : s;
125
- if (o === p || o === T) {
124
+ var r, o = c.p(e), f = "set" + (this.$u ? "UTC" : ""), h = (r = {}, r[_] = f + "Date", r[A] = f + "Date", r[p] = f + "Month", r[w] = f + "FullYear", r[y] = f + "Hours", r[k] = f + "Minutes", r[v] = f + "Seconds", r[O] = f + "Milliseconds", r)[o], l = o === _ ? this.$D + (s - this.$W) : s;
125
+ if (o === p || o === w) {
126
126
  var $ = this.clone().set(A, 1);
127
127
  $.$d[h](l), $.init(), this.$d = $.set(A, Math.min(this.$D, $.daysInMonth())).$d;
128
128
  } else h && this.$d[h](l);
@@ -135,30 +135,30 @@ var Q = { exports: {} };
135
135
  var r, o = this;
136
136
  e = Number(e);
137
137
  var f = c.p(s), h = function(S) {
138
- var O = d(o);
139
- return c.w(O.date(O.date() + Math.round(S * e)), o);
138
+ var M = d(o);
139
+ return c.w(M.date(M.date() + Math.round(S * e)), o);
140
140
  };
141
141
  if (f === p) return this.set(p, this.$M + e);
142
- if (f === T) return this.set(T, this.$y + e);
142
+ if (f === w) return this.set(w, this.$y + e);
143
143
  if (f === _) return h(1);
144
- if (f === w) return h(7);
145
- var l = (r = {}, r[k] = m, r[M] = b, r[v] = t, r)[f] || 1, $ = this.$d.getTime() + e * l;
144
+ if (f === T) return h(7);
145
+ var l = (r = {}, r[k] = m, r[y] = b, r[v] = t, r)[f] || 1, $ = this.$d.getTime() + e * l;
146
146
  return c.w($, this);
147
147
  }, n.subtract = function(e, s) {
148
148
  return this.add(-1 * e, s);
149
149
  }, n.format = function(e) {
150
150
  var s = this, r = this.$locale();
151
151
  if (!this.isValid()) return r.invalidDate || V;
152
- var o = e || "YYYY-MM-DDTHH:mm:ssZ", f = c.z(this), h = this.$H, l = this.$m, $ = this.$M, S = r.weekdays, O = r.months, U = r.meridiem, x = function(g, D, F, R) {
153
- return g && (g[D] || g(s, o)) || F[D].slice(0, R);
152
+ var o = e || "YYYY-MM-DDTHH:mm:ssZ", f = c.z(this), h = this.$H, l = this.$m, $ = this.$M, S = r.weekdays, M = r.months, U = r.meridiem, D = function(g, N, F, R) {
153
+ return g && (g[N] || g(s, o)) || F[N].slice(0, R);
154
154
  }, Y = function(g) {
155
155
  return c.s(h % 12 || 12, g, "0");
156
- }, N = U || function(g, D, F) {
156
+ }, x = U || function(g, N, F) {
157
157
  var R = g < 12 ? "AM" : "PM";
158
158
  return F ? R.toLowerCase() : R;
159
159
  };
160
- return o.replace(et, function(g, D) {
161
- return D || function(F) {
160
+ return o.replace(et, function(g, N) {
161
+ return N || function(F) {
162
162
  switch (F) {
163
163
  case "YY":
164
164
  return String(s.$y).slice(-2);
@@ -169,9 +169,9 @@ var Q = { exports: {} };
169
169
  case "MM":
170
170
  return c.s($ + 1, 2, "0");
171
171
  case "MMM":
172
- return x(r.monthsShort, $, O, 3);
172
+ return D(r.monthsShort, $, M, 3);
173
173
  case "MMMM":
174
- return x(O, $);
174
+ return D(M, $);
175
175
  case "D":
176
176
  return s.$D;
177
177
  case "DD":
@@ -179,9 +179,9 @@ var Q = { exports: {} };
179
179
  case "d":
180
180
  return String(s.$W);
181
181
  case "dd":
182
- return x(r.weekdaysMin, s.$W, S, 2);
182
+ return D(r.weekdaysMin, s.$W, S, 2);
183
183
  case "ddd":
184
- return x(r.weekdaysShort, s.$W, S, 3);
184
+ return D(r.weekdaysShort, s.$W, S, 3);
185
185
  case "dddd":
186
186
  return S[s.$W];
187
187
  case "H":
@@ -193,9 +193,9 @@ var Q = { exports: {} };
193
193
  case "hh":
194
194
  return Y(2);
195
195
  case "a":
196
- return N(h, l, !0);
196
+ return x(h, l, !0);
197
197
  case "A":
198
- return N(h, l, !1);
198
+ return x(h, l, !1);
199
199
  case "m":
200
200
  return String(l);
201
201
  case "mm":
@@ -215,26 +215,26 @@ var Q = { exports: {} };
215
215
  }, n.utcOffset = function() {
216
216
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
217
217
  }, n.diff = function(e, s, r) {
218
- var o, f = this, h = c.p(s), l = d(e), $ = (l.utcOffset() - this.utcOffset()) * m, S = this - l, O = function() {
218
+ var o, f = this, h = c.p(s), l = d(e), $ = (l.utcOffset() - this.utcOffset()) * m, S = this - l, M = function() {
219
219
  return c.m(f, l);
220
220
  };
221
221
  switch (h) {
222
- case T:
223
- o = O() / 12;
222
+ case w:
223
+ o = M() / 12;
224
224
  break;
225
225
  case p:
226
- o = O();
226
+ o = M();
227
227
  break;
228
228
  case C:
229
- o = O() / 3;
229
+ o = M() / 3;
230
230
  break;
231
- case w:
231
+ case T:
232
232
  o = (S - $) / 6048e5;
233
233
  break;
234
234
  case _:
235
235
  o = (S - $) / 864e5;
236
236
  break;
237
- case M:
237
+ case y:
238
238
  o = S / b;
239
239
  break;
240
240
  case k:
@@ -267,7 +267,7 @@ var Q = { exports: {} };
267
267
  return this.$d.toUTCString();
268
268
  }, u;
269
269
  }(), X = L.prototype;
270
- return d.prototype = X, [["$ms", y], ["$s", v], ["$m", k], ["$H", M], ["$W", _], ["$M", p], ["$y", T], ["$D", A]].forEach(function(u) {
270
+ return d.prototype = X, [["$ms", O], ["$s", v], ["$m", k], ["$H", y], ["$W", _], ["$M", p], ["$y", w], ["$D", A]].forEach(function(u) {
271
271
  X[u[1]] = function(n) {
272
272
  return this.$g(n, u[0], u[1]);
273
273
  };
@@ -286,11 +286,11 @@ function ht(i) {
286
286
  var mt = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], lt = /[^A-Z0-9]+/gi;
287
287
  function dt(i, a) {
288
288
  a === void 0 && (a = {});
289
- for (var t = a.splitRegexp, m = t === void 0 ? mt : t, b = a.stripRegexp, y = b === void 0 ? lt : b, v = a.transform, k = v === void 0 ? ht : v, M = a.delimiter, _ = M === void 0 ? " " : M, w = K(K(i, m, "$1\0$2"), y, "\0"), p = 0, C = w.length; w.charAt(p) === "\0"; )
289
+ for (var t = a.splitRegexp, m = t === void 0 ? mt : t, b = a.stripRegexp, O = b === void 0 ? lt : b, v = a.transform, k = v === void 0 ? ht : v, y = a.delimiter, _ = y === void 0 ? " " : y, T = K(K(i, m, "$1\0$2"), O, "\0"), p = 0, C = T.length; T.charAt(p) === "\0"; )
290
290
  p++;
291
- for (; w.charAt(C - 1) === "\0"; )
291
+ for (; T.charAt(C - 1) === "\0"; )
292
292
  C--;
293
- return w.slice(p, C).split("\0").map(k).join(_);
293
+ return T.slice(p, C).split("\0").map(k).join(_);
294
294
  }
295
295
  function K(i, a, t) {
296
296
  return a instanceof RegExp ? i.replace(a, t) : a.reduce(function(m, b) {
@@ -314,7 +314,7 @@ function vt(i, a = []) {
314
314
  }), t;
315
315
  }
316
316
  function pt(i, a) {
317
- var m, b, y, v, k, M, _;
317
+ var m, b, O, v, k, y, _;
318
318
  const t = a ? vt(a) : void 0;
319
319
  return {
320
320
  _id: (t == null ? void 0 : t._id) ?? "",
@@ -322,15 +322,17 @@ function pt(i, a) {
322
322
  store: {
323
323
  id: (t == null ? void 0 : t.store.id) ?? "",
324
324
  event: (t == null ? void 0 : t.store.event) ?? E.F_PAYOUT_FOR.Enum.ORDERING,
325
+ regNo: (t == null ? void 0 : t.store.regNo) ?? "",
326
+ companyName: (t == null ? void 0 : t.store.companyName) ?? "",
325
327
  bank: {
326
328
  name: ((m = t == null ? void 0 : t.store.bank) == null ? void 0 : m.name) ?? J.bankNameOptions()[0].value,
327
329
  type: ((b = t == null ? void 0 : t.store.bank) == null ? void 0 : b.type) ?? J.bankTypeOptions()[0].value,
328
- holderName: ((y = t == null ? void 0 : t.store.bank) == null ? void 0 : y.holderName) ?? "",
330
+ holderName: ((O = t == null ? void 0 : t.store.bank) == null ? void 0 : O.holderName) ?? "",
329
331
  accountNumber: ((v = t == null ? void 0 : t.store.bank) == null ? void 0 : v.accountNumber) ?? ""
330
332
  },
331
333
  keyPerson: {
332
334
  name: ((k = t == null ? void 0 : t.store.keyPerson) == null ? void 0 : k.name) ?? "",
333
- phone: ((M = t == null ? void 0 : t.store.keyPerson) == null ? void 0 : M.phone) ?? "",
335
+ phone: ((y = t == null ? void 0 : t.store.keyPerson) == null ? void 0 : y.phone) ?? "",
334
336
  email: ((_ = t == null ? void 0 : t.store.keyPerson) == null ? void 0 : _.email) ?? ""
335
337
  },
336
338
  ssm: (t == null ? void 0 : t.store.ssm) ?? "",
@@ -393,8 +395,8 @@ async function _t(i, a, t) {
393
395
  t.payoutSetting.methods.length > 0 && (m = t.payoutSetting.methods);
394
396
  let b = a.store.ssm || "";
395
397
  t.newSSM && (b = await q(i, "ssm", t.newSSM));
396
- let y = a.store.bankStatement || "";
397
- t.newBankStatement && (y = await q(
398
+ let O = a.store.bankStatement || "";
399
+ t.newBankStatement && (O = await q(
398
400
  i,
399
401
  "bankStatement",
400
402
  t.newBankStatement
@@ -410,9 +412,11 @@ async function _t(i, a, t) {
410
412
  ...a.store,
411
413
  id: t.payoutSetting.store.id,
412
414
  keyPerson: t.payoutSetting.store.keyPerson,
415
+ regNo: t.payoutSetting.store.regNo,
416
+ companyName: t.payoutSetting.store.companyName,
413
417
  bank: t.payoutSetting.store.bank,
414
418
  ssm: b,
415
- bankStatement: y,
419
+ bankStatement: O,
416
420
  exteriorPhoto: v,
417
421
  event: t.payoutSetting.store.event
418
422
  },
@@ -446,7 +450,7 @@ const J = {
446
450
  value: i
447
451
  }));
448
452
  }
449
- }, wt = {
453
+ }, Tt = {
450
454
  mergeData: _t,
451
455
  initPayoutAccount: pt,
452
456
  groupByStatus: gt,
@@ -454,6 +458,6 @@ const J = {
454
458
  };
455
459
  export {
456
460
  J as P,
457
- wt as a,
461
+ Tt as a,
458
462
  vt as c
459
463
  };
@@ -5,6 +5,7 @@ interface PayoutAccountState {
5
5
  export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-payment-payoutAccount", PayoutAccountState, {
6
6
  getBusinessPayoutAccounts: (state: {
7
7
  businessPayoutAccounts: {
8
+ enable?: boolean | null | undefined;
8
9
  gateways?: ({
9
10
  config: {
10
11
  clientId: string;
@@ -15,17 +16,17 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
15
16
  paymentGateway: "REVENUE_MONSTER";
16
17
  } | {
17
18
  config: {
18
- secretKey: string;
19
19
  merchantId: string;
20
+ secretKey: string;
20
21
  verifyKey: string;
21
22
  };
22
23
  paymentGateway: "RAZER_MERCHANT_SERVICE";
23
24
  } | {
24
25
  config: {
25
26
  merchantId: string;
26
- storeID: string;
27
27
  merchantName: string;
28
28
  merchantCategoryCode: string;
29
+ storeID: string;
29
30
  storeName: string;
30
31
  };
31
32
  paymentGateway: "MACAU_PASS";
@@ -47,15 +48,13 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
47
48
  paymentGateway: "ADYEN";
48
49
  } | {
49
50
  config: {
50
- privateKey: string;
51
51
  appId: string;
52
+ privateKey: string;
52
53
  };
53
54
  paymentGateway: "KSHER";
54
55
  })[] | null | undefined;
55
- enable?: boolean | null | undefined;
56
56
  ref?: any;
57
57
  status: "NEW" | "PENDING" | "APPROVED";
58
- notifyUrl: string;
59
58
  _id: string;
60
59
  store: {
61
60
  bank?: {
@@ -64,8 +63,10 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
64
63
  holderName?: string | null | undefined;
65
64
  name: string;
66
65
  } | null | undefined;
67
- bankStatement?: string | null | undefined;
66
+ regNo?: string | null | undefined;
67
+ companyName?: string | null | undefined;
68
68
  ssm?: string | null | undefined;
69
+ bankStatement?: string | null | undefined;
69
70
  exteriorPhoto?: string | null | undefined;
70
71
  keyPerson?: {
71
72
  name: string;
@@ -75,7 +76,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
75
76
  id: string;
76
77
  event: "ORDERING" | "MARKETING";
77
78
  };
78
- businessId: string;
79
+ notifyUrl: string;
79
80
  methods: {
80
81
  rate?: {
81
82
  amount: number;
@@ -86,11 +87,13 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
86
87
  precision: number;
87
88
  } | null | undefined;
88
89
  tPlus?: number | null | undefined;
89
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CARD" | "CASH" | "KBANK" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY";
90
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "KBANK";
90
91
  variant: string;
91
92
  }[];
93
+ businessId: string;
92
94
  }[];
93
95
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
96
+ enable?: boolean | null | undefined;
94
97
  gateways?: ({
95
98
  config: {
96
99
  clientId: string;
@@ -101,17 +104,17 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
101
104
  paymentGateway: "REVENUE_MONSTER";
102
105
  } | {
103
106
  config: {
104
- secretKey: string;
105
107
  merchantId: string;
108
+ secretKey: string;
106
109
  verifyKey: string;
107
110
  };
108
111
  paymentGateway: "RAZER_MERCHANT_SERVICE";
109
112
  } | {
110
113
  config: {
111
114
  merchantId: string;
112
- storeID: string;
113
115
  merchantName: string;
114
116
  merchantCategoryCode: string;
117
+ storeID: string;
115
118
  storeName: string;
116
119
  };
117
120
  paymentGateway: "MACAU_PASS";
@@ -133,15 +136,13 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
133
136
  paymentGateway: "ADYEN";
134
137
  } | {
135
138
  config: {
136
- privateKey: string;
137
139
  appId: string;
140
+ privateKey: string;
138
141
  };
139
142
  paymentGateway: "KSHER";
140
143
  })[] | null | undefined;
141
- enable?: boolean | null | undefined;
142
144
  ref?: any;
143
145
  status: "NEW" | "PENDING" | "APPROVED";
144
- notifyUrl: string;
145
146
  _id: string;
146
147
  store: {
147
148
  bank?: {
@@ -150,8 +151,10 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
150
151
  holderName?: string | null | undefined;
151
152
  name: string;
152
153
  } | null | undefined;
153
- bankStatement?: string | null | undefined;
154
+ regNo?: string | null | undefined;
155
+ companyName?: string | null | undefined;
154
156
  ssm?: string | null | undefined;
157
+ bankStatement?: string | null | undefined;
155
158
  exteriorPhoto?: string | null | undefined;
156
159
  keyPerson?: {
157
160
  name: string;
@@ -161,7 +164,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
161
164
  id: string;
162
165
  event: "ORDERING" | "MARKETING";
163
166
  };
164
- businessId: string;
167
+ notifyUrl: string;
165
168
  methods: {
166
169
  rate?: {
167
170
  amount: number;
@@ -172,9 +175,10 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
172
175
  precision: number;
173
176
  } | null | undefined;
174
177
  tPlus?: number | null | undefined;
175
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CARD" | "CASH" | "KBANK" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY";
178
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "KBANK";
176
179
  variant: string;
177
180
  }[];
181
+ businessId: string;
178
182
  }[];
179
183
  }, {
180
184
  readBusinessPayoutAccounts(): Promise<void>;