@feedmepos/mf-payment 1.7.9-dev → 1.7.12-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 (82) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-DWLo1wcm.js → Actions.vue_vue_type_script_setup_true_lang-DdBG90HC.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-Cr5NV0ER.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-C2J73WMk.js} +3 -3
  3. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-B78DrbUV.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-tYdz0j81.js} +18 -18
  4. package/dist/{Chargeback-By_S7vnJ.js → Chargeback-D_wFz2p4.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-B3O4-wkG.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CGNrd4fE.js} +484 -489
  6. package/dist/{OnboardForm-m31RX8SN.js → OnboardForm-B102bmRL.js} +12 -11
  7. package/dist/{OnboardForm-BYh2dN26.js → OnboardForm-CMRWUCyg.js} +5 -5
  8. package/dist/{OnboardSubmission-CjZWeW_E.js → OnboardSubmission-CPMns68t.js} +17 -17
  9. package/dist/{OnboardSubmission-BjlAVowH.js → OnboardSubmission-DpkSlN4r.js} +3 -3
  10. package/dist/{PayoutAccount-BfyuYYzs.js → PayoutAccount-BNGyzqNn.js} +5 -5
  11. package/dist/{PayoutAccount-C6km-4G3.js → PayoutAccount-D6eA7HmO.js} +42 -42
  12. package/dist/{PayoutAccountSetting-DWfjVMLb.js → PayoutAccountSetting-DS78fsR3.js} +6 -6
  13. package/dist/{Restaurant-Brhh_fMP.js → Restaurant-Cio7VUkb.js} +4 -4
  14. package/dist/{RestaurantSetting-C-GNgMOs.js → RestaurantSetting-B6gL7KQL.js} +3 -3
  15. package/dist/{Settlement-CScOnw9b.js → Settlement-DeFs2PQv.js} +3 -3
  16. package/dist/{Settlement-BcDMYdw_.js → Settlement-Dp5vZd70.js} +4 -4
  17. package/dist/{SettlementTransactions-C31RnVCZ.js → SettlementTransactions-CIxhmKO6.js} +11 -10
  18. package/dist/{SettlementTransactions-BPSCKH8z.js → SettlementTransactions-Dp8voo7Z.js} +11 -10
  19. package/dist/{Status.vue_vue_type_script_setup_true_lang-DC9_-kUz.js → Status.vue_vue_type_script_setup_true_lang-pJqWxDgv.js} +4 -4
  20. package/dist/{Terminal-nXbZ8iVQ.js → Terminal-l_eDclB4.js} +5 -5
  21. package/dist/TerminalSetting-xEgYGJQR.js +6863 -0
  22. package/dist/{Transaction-6NZwr5Df.js → Transaction-CY7_Dise.js} +10 -10
  23. package/dist/{Transaction-CYoFufei.js → Transaction-Cquf2CrF.js} +37 -36
  24. package/dist/{TransactionOld-CTdPTMGh.js → TransactionOld-BP_TbT0Z.js} +7 -7
  25. package/dist/TransactionStatus.vue_vue_type_script_setup_true_lang-C949IMDd.js +89 -0
  26. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  27. package/dist/{app-D57WXCrH.js → app-C1R-s4Ra.js} +36 -36
  28. package/dist/app.js +1 -1
  29. package/dist/assets-C0Lm2EH8.js +92 -0
  30. package/dist/{grafana-BYnm1r5S.js → grafana-B85M84CD.js} +1 -1
  31. package/dist/{index-CuTTkcVR.js → index-BBVX5lcY.js} +1 -1
  32. package/dist/{index-Cb4fwFWy.js → index-DW5Pjtqn.js} +1 -1
  33. package/dist/{index-CZ10wUcS.js → index-DYGKTL5K.js} +2 -2
  34. package/dist/{index-BpSlgd3s.js → index-DjwoAOnA.js} +11510 -11016
  35. package/dist/{index-PcsmeEGJ.js → index-DpHk2KjO.js} +1 -1
  36. package/dist/{index-B0sdc-mA.js → index-DrvpGxk3.js} +1 -1
  37. package/dist/{index-DAun0yIF.js → index-OIrlcwQj.js} +1 -1
  38. package/dist/{index-CP93polV.js → index-Oou8q_A6.js} +1 -1
  39. package/dist/{index-6C22iquA.js → index-llYeDBcp.js} +1 -1
  40. package/dist/{index.vue_vue_type_script_setup_true_lang-Di0E4edn.js → index.vue_vue_type_script_setup_true_lang-7YqB76ok.js} +1 -1
  41. package/dist/{onboard-submission-DL10gjS7.js → onboard-submission-BvMXI4-2.js} +3 -3
  42. package/dist/package.json +2 -2
  43. package/dist/{payout-account-BCKw7oJN.js → payout-account-DS6DzoQ6.js} +19 -19
  44. package/dist/stores/payoutAccount.d.ts +22 -22
  45. package/dist/style.css +1 -1
  46. package/dist/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +22 -22
  48. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +26 -26
  49. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +26 -26
  50. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +22 -22
  51. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +22 -22
  52. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +26 -26
  53. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  54. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  55. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +34 -0
  56. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +34 -0
  57. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +34 -0
  58. package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +174 -0
  59. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +34 -0
  60. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +34 -0
  61. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +34 -0
  62. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +34 -0
  63. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +34 -0
  64. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +34 -0
  65. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +34 -0
  66. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +34 -0
  67. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +34 -0
  68. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +34 -0
  69. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +34 -0
  70. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +34 -0
  71. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +34 -0
  72. package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +34 -0
  73. package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +34 -0
  74. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +34 -0
  75. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +34 -0
  76. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +34 -0
  77. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +44 -44
  78. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
  79. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
  80. package/package.json +2 -2
  81. package/dist/TerminalSetting-D4d4jfHO.js +0 -2269
  82. package/dist/assets-CoMF0iyt.js +0 -177
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, resolveComponent as o, openBlock as a, createBlock as s, withCtx as r, createElementVNode as d, unref as p, computed as g, createElementBlock as u, createVNode as m, Fragment as w, renderList as h } from "vue";
2
- import { g as y, a as F } from "./assets-CoMF0iyt.js";
2
+ import { g as y, a as F } from "./assets-C0Lm2EH8.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const k = ["src"], M = /* @__PURE__ */ i({
5
5
  __name: "Gateway",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as T, useModel as U, ref as w, watch as j, computed as l, resolveComponent as i, openBlock as o, createBlock as c, withCtx as b, createVNode as g, createElementVNode as d, unref as _, createElementBlock as M, Fragment as Q, renderList as R, toDisplayString as I, createCommentVNode as H, withModifiers as J, mergeModels as X } from "vue";
2
- import { g as Y, b as L } from "./index-BpSlgd3s.js";
2
+ import { g as Y, b as L } from "./index-DjwoAOnA.js";
3
3
  import { useI18n as Z } from "@feedmepos/mf-common";
4
- import { k as ee } from "./app-D57WXCrH.js";
5
- import { u as f } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-B78DrbUV.js";
4
+ import { k as ee } from "./app-C1R-s4Ra.js";
5
+ import { u as f } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-tYdz0j81.js";
6
6
  const k = {
7
7
  async readBusinessesWithPagination(n) {
8
8
  return (await L().get("/payments/businesses", {
@@ -3,11 +3,11 @@ var Se = (i) => {
3
3
  };
4
4
  var le = (i, e, t) => e.has(i) || Se("Cannot " + t);
5
5
  var s = (i, e, t) => (le(i, e, "read from private field"), t ? t.call(i) : e.get(i)), m = (i, e, t) => e.has(i) ? Se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), d = (i, e, t, n) => (le(i, e, "write to private field"), n ? n.call(i, t) : e.set(i, t), t), f = (i, e, t) => (le(i, e, "access private method"), t);
6
- import { hasInjectionContext as Ve, inject as je, getCurrentScope as ze, computed as _, shallowReactive as Ae, reactive as Be, watch as $, onScopeDispose as Ne, shallowReadonly as We, readonly as Ke, toRefs as $e, defineComponent as Ge, useModel as He, toRef as qe, ref as Fe, resolveComponent as K, openBlock as V, createBlock as Y, withCtx as ue, createVNode as ce, createElementVNode as re, unref as he, createElementBlock as Ie, Fragment as Je, renderList as Xe, toDisplayString as _e, createCommentVNode as Ye, withModifiers as Ze, mergeModels as et } from "vue";
7
- import { r as de } from "./index-PcsmeEGJ.js";
6
+ import { hasInjectionContext as Ve, inject as je, getCurrentScope as ze, computed as _, shallowReactive as Ae, reactive as Be, watch as $, onScopeDispose as Ne, shallowReadonly as We, readonly as Ke, toRefs as $e, defineComponent as qe, useModel as Ge, toRef as He, ref as Fe, resolveComponent as K, openBlock as V, createBlock as Y, withCtx as ue, createVNode as ce, createElementVNode as re, unref as he, createElementBlock as Ie, Fragment as Je, renderList as Xe, toDisplayString as _e, createCommentVNode as Ye, withModifiers as Ze, mergeModels as et } from "vue";
7
+ import { r as de } from "./index-DpHk2KjO.js";
8
8
  import { useI18n as tt } from "@feedmepos/mf-common";
9
- import { S as st, p as ke, r as S, s as pe, a as ee, n as it, e as xe, i as Ee, t as nt, b as oe, f as at, c as rt, d as Qe, g as ot, j as lt, l as ut, u as De, m as Me, k as ct } from "./app-D57WXCrH.js";
10
- var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re, Ce, Ue, Le, ht = (Le = class extends st {
9
+ import { S as st, p as ke, r as S, s as pe, b as ee, n as it, e as xe, i as Ee, t as nt, d as oe, f as at, j as rt, l as Qe, m as ot, o as lt, q as ut, u as De, v as Me, k as ct } from "./app-C1R-s4Ra.js";
10
+ var R, o, te, y, j, q, Q, P, se, G, H, z, A, T, J, u, Z, me, ve, be, ye, ge, Re, Ce, Ue, Le, ht = (Le = class extends st {
11
11
  constructor(e, t) {
12
12
  super();
13
13
  m(this, u);
@@ -16,14 +16,14 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
16
16
  m(this, te);
17
17
  m(this, y);
18
18
  m(this, j);
19
- m(this, G);
19
+ m(this, q);
20
20
  m(this, Q);
21
21
  m(this, P);
22
22
  m(this, se);
23
- m(this, H);
23
+ m(this, G);
24
24
  // This property keeps track of the last query with defined data.
25
25
  // It will be used to pass the previous data and query to the placeholder function between renders.
26
- m(this, q);
26
+ m(this, H);
27
27
  m(this, z);
28
28
  m(this, A);
29
29
  m(this, T);
@@ -79,7 +79,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
79
79
  }
80
80
  getOptimisticResult(e) {
81
81
  const t = s(this, R).getQueryCache().build(s(this, R), e), n = this.createResult(t, e);
82
- return ft(this, n) && (d(this, y, n), d(this, G, this.options), d(this, j, s(this, o).state)), n;
82
+ return ft(this, n) && (d(this, y, n), d(this, q, this.options), d(this, j, s(this, o).state)), n;
83
83
  }
84
84
  getCurrentResult() {
85
85
  return s(this, y);
@@ -116,7 +116,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
116
116
  }
117
117
  createResult(e, t) {
118
118
  var ne;
119
- const n = s(this, o), l = this.options, a = s(this, y), h = s(this, j), C = s(this, G), D = e !== n ? e.state : s(this, te), { state: L } = e;
119
+ const n = s(this, o), l = this.options, a = s(this, y), h = s(this, j), C = s(this, q), D = e !== n ? e.state : s(this, te), { state: L } = e;
120
120
  let p = { ...L }, x = !1, r;
121
121
  if (t._optimisticResults) {
122
122
  const g = this.hasListeners(), U = !g && Pe(e, t), N = g && Te(e, n, t, l);
@@ -131,8 +131,8 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
131
131
  if (t.placeholderData !== void 0 && r === void 0 && v === "pending") {
132
132
  let g;
133
133
  a != null && a.isPlaceholderData && t.placeholderData === (C == null ? void 0 : C.placeholderData) ? (g = a.data, M = !0) : g = typeof t.placeholderData == "function" ? t.placeholderData(
134
- (ne = s(this, q)) == null ? void 0 : ne.state.data,
135
- s(this, q)
134
+ (ne = s(this, H)) == null ? void 0 : ne.state.data,
135
+ s(this, H)
136
136
  ) : t.placeholderData, g !== void 0 && (v = "success", r = Qe(
137
137
  a == null ? void 0 : a.data,
138
138
  g,
@@ -141,14 +141,14 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
141
141
  }
142
142
  if (t.select && r !== void 0 && !M)
143
143
  if (a && r === (h == null ? void 0 : h.data) && t.select === s(this, se))
144
- r = s(this, H);
144
+ r = s(this, G);
145
145
  else
146
146
  try {
147
- d(this, se, t.select), r = t.select(r), r = Qe(a == null ? void 0 : a.data, r, t), d(this, H, r), d(this, P, null);
147
+ d(this, se, t.select), r = t.select(r), r = Qe(a == null ? void 0 : a.data, r, t), d(this, G, r), d(this, P, null);
148
148
  } catch (g) {
149
149
  d(this, P, g);
150
150
  }
151
- s(this, P) && (O = s(this, P), r = s(this, H), I = Date.now(), v = "error");
151
+ s(this, P) && (O = s(this, P), r = s(this, G), I = Date.now(), v = "error");
152
152
  const E = p.fetchStatus === "fetching", B = v === "pending", X = v === "error", ie = B && E, c = r !== void 0, w = {
153
153
  status: v,
154
154
  fetchStatus: p.fetchStatus,
@@ -200,7 +200,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
200
200
  }
201
201
  updateResult() {
202
202
  const e = s(this, y), t = this.createResult(s(this, o), this.options);
203
- if (d(this, j, s(this, o).state), d(this, G, this.options), s(this, j).data !== void 0 && d(this, q, s(this, o)), pe(t, e))
203
+ if (d(this, j, s(this, o).state), d(this, q, this.options), s(this, j).data !== void 0 && d(this, H, s(this, o)), pe(t, e))
204
204
  return;
205
205
  d(this, y, t);
206
206
  const n = () => {
@@ -222,7 +222,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
222
222
  onQueryUpdate() {
223
223
  this.updateResult(), this.hasListeners() && f(this, u, ye).call(this);
224
224
  }
225
- }, R = new WeakMap(), o = new WeakMap(), te = new WeakMap(), y = new WeakMap(), j = new WeakMap(), G = new WeakMap(), Q = new WeakMap(), P = new WeakMap(), se = new WeakMap(), H = new WeakMap(), q = new WeakMap(), z = new WeakMap(), A = new WeakMap(), T = new WeakMap(), J = new WeakMap(), u = new WeakSet(), Z = function(e) {
225
+ }, R = new WeakMap(), o = new WeakMap(), te = new WeakMap(), y = new WeakMap(), j = new WeakMap(), q = new WeakMap(), Q = new WeakMap(), P = new WeakMap(), se = new WeakMap(), G = new WeakMap(), H = new WeakMap(), z = new WeakMap(), A = new WeakMap(), T = new WeakMap(), J = new WeakMap(), u = new WeakSet(), Z = function(e) {
226
226
  f(this, u, Ce).call(this);
227
227
  let t = s(this, o).fetch(
228
228
  this.options,
@@ -375,7 +375,7 @@ function fe(i, e) {
375
375
  const vt = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer" }, bt = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, yt = { class: "relative min-w-[280px]" }, gt = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, Rt = {
376
376
  key: 0,
377
377
  class: "px-8 py-12 text-center fm-typo-en-body-md-400 text-fm-color-neutral-gray-500"
378
- }, It = /* @__PURE__ */ Ge({
378
+ }, It = /* @__PURE__ */ qe({
379
379
  __name: "AdminRestaurantSelector",
380
380
  props: /* @__PURE__ */ et({
381
381
  label: {},
@@ -390,7 +390,7 @@ const vt = { class: "inline-flex rounded-md items-center gap-4 justify-center h-
390
390
  }),
391
391
  emits: ["update:modelValue"],
392
392
  setup(i) {
393
- const e = i, t = He(i, "modelValue"), { t: n } = tt(), l = qe(e, "businessId"), a = Fe(""), h = Fe("");
393
+ const e = i, t = Ge(i, "modelValue"), { t: n } = tt(), l = He(e, "businessId"), a = Fe(""), h = Fe("");
394
394
  let C = null;
395
395
  $(a, (c) => {
396
396
  C && clearTimeout(C), C = setTimeout(() => h.value = c, 300);
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as D, ref as C, resolveComponent as i, openBlock as k, createBlock as $, withCtx as v, createVNode as s, unref as b, createElementVNode as y, createElementBlock as Y, Fragment as B, renderList as K, watch as M, isRef as T, h as V } from "vue";
2
- import { t as S } from "./index-B0sdc-mA.js";
2
+ import { t as S } from "./index-DrvpGxk3.js";
3
3
  import { h as f } from "./moment-h96o7c8I.js";
4
- import "./index-BpSlgd3s.js";
4
+ import "./index-DjwoAOnA.js";
5
5
  import { d as A } from "./dinero-CIVmXLL-.js";
6
- import { u as P } from "./index-6C22iquA.js";
6
+ import { u as P } from "./index-llYeDBcp.js";
7
7
  import { _ as q } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
8
8
  import { _ as O } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
9
9
  import { useDialogChild as U, useSnackbar as N, useDialog as x } from "@feedmepos/ui-library";
10
10
  import { _ as E } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
11
- import { _ as j } from "./index.vue_vue_type_script_setup_true_lang-Di0E4edn.js";
11
+ import { _ as j } from "./index.vue_vue_type_script_setup_true_lang-7YqB76ok.js";
12
12
  import { _ as w } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
13
- import { _ as z } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-B78DrbUV.js";
13
+ import { _ as z } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-tYdz0j81.js";
14
14
  import { z as F, a as I, s as G } from "./validator-CTlVogBQ.js";
15
15
  import { u as R } from "./error-K1CakhA9.js";
16
16
  function H(a) {