@feedmepos/mf-payment 1.4.9 → 1.4.11

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 (64) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-NVVDBgu2.js → Actions.vue_vue_type_script_setup_true_lang-CS92skzo.js} +2 -2
  2. package/dist/{OnboardForm-i3UXFhVW.js → OnboardForm-6_Bma3oY.js} +4 -4
  3. package/dist/{OnboardForm-CO-gRNBl.js → OnboardForm-Dse8u1JX.js} +4 -4
  4. package/dist/{OnboardSubmission-BoudwTyR.js → OnboardSubmission-BgDO7JVI.js} +2 -2
  5. package/dist/{OnboardSubmission-BN11hozP.js → OnboardSubmission-DRXNJ8UG.js} +5 -5
  6. package/dist/{PayoutAccount-BOb3un4S.js → PayoutAccount-Br6e6giR.js} +5 -5
  7. package/dist/{PayoutAccount-CL8ONTto.js → PayoutAccount-WzMhhSie.js} +5 -5
  8. package/dist/{PayoutAccountSetting-CasobYXH.js → PayoutAccountSetting-C6S5qXwQ.js} +32 -26
  9. package/dist/{Restaurant-Cxsbp2jQ.js → Restaurant-DIy6nvRx.js} +4 -4
  10. package/dist/{RestaurantSetting-BykOuVYY.js → RestaurantSetting-aSOpK7BL.js} +82 -76
  11. package/dist/{Settlement-m45suXxV.js → Settlement-D3PryFx_.js} +3 -3
  12. package/dist/{Settlement-DfKj96mQ.js → Settlement-DLAf3Bha.js} +3 -3
  13. package/dist/{SettlementTransactions-Dkc5Wogr.js → SettlementTransactions-DYZhHFsI.js} +3 -3
  14. package/dist/{SettlementTransactions-DGgUpZgA.js → SettlementTransactions-D_TFrtbO.js} +3 -3
  15. package/dist/{Status.vue_vue_type_script_setup_true_lang-BP-wktEP.js → Status.vue_vue_type_script_setup_true_lang-X-A4zImD.js} +1 -1
  16. package/dist/{Terminal-C7AdBY9Y.js → Terminal-DSwALqKp.js} +5 -5
  17. package/dist/{TerminalSetting-DJYGoWdb.js → TerminalSetting-_vlpT1ap.js} +33 -38
  18. package/dist/{Transaction-CcUFfb3m.js → Transaction-CqrztOdm.js} +8 -8
  19. package/dist/{Transaction-OthZffw8.js → Transaction-DLqFy6CO.js} +5 -5
  20. package/dist/{TransactionOld-BLYgVqKA.js → TransactionOld-BDFo4Mpq.js} +5 -5
  21. package/dist/{app-LbrmOxsV.js → app-DmsfFHrH.js} +22 -22
  22. package/dist/app.js +1 -1
  23. package/dist/{assets-G_4EYkBh.js → assets-Byq5vu99.js} +1 -1
  24. package/dist/{grafana-Cqdyar0p.js → grafana-Ddr9UJ5i.js} +1 -1
  25. package/dist/{index-Db-jphAQ.js → index-4o6XEvKK.js} +1 -1
  26. package/dist/{index-DvoVfG2y.js → index-BKbFR1mm.js} +1 -1
  27. package/dist/{index-CVpKc-VE.js → index-C5gCZHen.js} +1 -1
  28. package/dist/{index-CNGLJkBO.js → index-C9vSg8Xx.js} +1 -1
  29. package/dist/{index-V60aTS9B.js → index-CKTfmF6h.js} +2 -2
  30. package/dist/{index-Gr7lw7we.js → index-Cm9gPHIH.js} +1 -1
  31. package/dist/{index-B1nXFe1-.js → index-DVLqrR4d.js} +128 -125
  32. package/dist/{index.vue_vue_type_script_setup_true_lang-D62UrwAv.js → index.vue_vue_type_script_setup_true_lang-C7aGohmV.js} +1 -1
  33. package/dist/package.json +3 -3
  34. package/dist/{payout-account-Crav1TAY.js → payout-account-C-KFDUES.js} +3 -3
  35. package/dist/{plugins-CJ-W8eYA.js → plugins-C_CbkEaG.js} +1 -1
  36. package/dist/stores/payoutAccount.d.ts +4 -2
  37. package/dist/tsconfig.app.tsbuildinfo +1 -1
  38. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -2
  39. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +4 -2
  40. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -2
  41. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -2
  42. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -2
  43. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +4 -2
  44. package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +4 -0
  45. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +2 -0
  46. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +12 -12
  47. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +12 -12
  48. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +12 -12
  49. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +12 -12
  50. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +12 -12
  51. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +12 -12
  52. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +12 -12
  53. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +12 -12
  54. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +12 -12
  55. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +12 -12
  56. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +12 -12
  57. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +12 -12
  58. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +12 -12
  59. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +12 -12
  60. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +12 -12
  61. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -4
  62. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +36 -36
  63. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +18 -18
  64. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
- import { defineComponent as V, openBlock as f, createElementBlock as N, Fragment as M, createElementVNode as _, createTextVNode as A, toDisplayString as h, ref as I, resolveComponent as g, createVNode as v, createCommentVNode as C, unref as S, computed as q, isRef as B, createBlock as w, resolveDynamicComponent as Y, normalizeProps as K, mergeProps as L, toRef as R, watch as $, onMounted as O, withCtx as P, renderList as G } from "vue";
2
- import { u as z, e as U } from "./index-B1nXFe1-.js";
1
+ import { defineComponent as V, openBlock as f, createElementBlock as N, Fragment as M, createElementVNode as _, createTextVNode as D, toDisplayString as G, ref as I, resolveComponent as g, createVNode as v, createCommentVNode as C, unref as S, computed as q, isRef as B, createBlock as w, resolveDynamicComponent as Y, normalizeProps as K, mergeProps as L, toRef as R, watch as $, onMounted as O, withCtx as P, renderList as h } from "vue";
2
+ import { u as z, e as U } from "./index-DVLqrR4d.js";
3
3
  import { useRouter as W } from "vue-router";
4
- import { t as D } from "./index-Gr7lw7we.js";
4
+ import { t as A } from "./index-Cm9gPHIH.js";
5
5
  import { _ as X } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
- import { u as E } from "./index-CNGLJkBO.js";
6
+ import { u as E } from "./index-C9vSg8Xx.js";
7
7
  import { useSnackbar as Q } from "@feedmepos/ui-library";
8
8
  import { u as Z } from "./error-K1CakhA9.js";
9
9
  import { useCoreStore as j } from "@feedmepos/mf-common";
@@ -19,16 +19,16 @@ const te = /* @__PURE__ */ V({
19
19
  setup(F) {
20
20
  return (m, a) => (f(), N(M, null, [
21
21
  a[0] || (a[0] = _("b", null, "Name", -1)),
22
- A(": " + h(F.terminal.name), 1),
22
+ D(": " + G(F.terminal.name), 1),
23
23
  a[1] || (a[1] = _("br", null, null, -1)),
24
24
  a[2] || (a[2] = _("b", null, "Status", -1)),
25
- A(": " + h(F.terminal.status), 1),
25
+ D(": " + G(F.terminal.status), 1),
26
26
  a[3] || (a[3] = _("br", null, null, -1)),
27
27
  a[4] || (a[4] = _("b", null, "Device ID", -1)),
28
- A(": " + h(F.terminal.deviceId ?? "-"), 1),
28
+ D(": " + G(F.terminal.deviceId ?? "-"), 1),
29
29
  a[5] || (a[5] = _("br", null, null, -1)),
30
30
  a[6] || (a[6] = _("b", null, "Device Type", -1)),
31
- A(": " + h(F.terminal.deviceType ?? "-"), 1),
31
+ D(": " + G(F.terminal.deviceType ?? "-"), 1),
32
32
  a[7] || (a[7] = _("br", null, null, -1))
33
33
  ], 64));
34
34
  }
@@ -54,7 +54,7 @@ const te = /* @__PURE__ */ V({
54
54
  d.enable && Object.assign(d, {
55
55
  password: n.value.password.join("")
56
56
  });
57
- const s = await D.kioskModeRequest(r.terminal._id, d);
57
+ const s = await A.kioskModeRequest(r.terminal._id, d);
58
58
  if (s === "OK")
59
59
  return b.open({ type: "info", message: "Kiosk mode applied successfully." });
60
60
  let y = s;
@@ -115,7 +115,7 @@ const te = /* @__PURE__ */ V({
115
115
  return f(), N(M, null, [
116
116
  e[1] || (e[1] = _("p", { className: "mt-1 my-6 text-gray-600" }, [
117
117
  _("b", null, "Note: "),
118
- A(" Setting request will perform remotely without caching so make sure terminal is connected to the network also to our websocket as well. ")
118
+ D(" Setting request will perform remotely without caching so make sure terminal is connected to the network also to our websocket as well. ")
119
119
  ], -1)),
120
120
  v(d, {
121
121
  "model-value": S(m),
@@ -313,7 +313,7 @@ const te = /* @__PURE__ */ V({
313
313
  s.value.terminalId = "", d.value = -1;
314
314
  }, c = () => {
315
315
  if (a(async () => {
316
- r.value = await D.getRestaurantTerminals(b.terminal.referenceId);
316
+ r.value = await A.getRestaurantTerminals(b.terminal.referenceId);
317
317
  }), !b.terminal.ecrs)
318
318
  return y();
319
319
  const l = b.terminal.ecrs.findIndex((p) => p && p.gateway && p.gateway === "FeedMe");
@@ -552,7 +552,7 @@ const te = /* @__PURE__ */ V({
552
552
  })
553
553
  ]),
554
554
  _("div", fe, [
555
- (f(!0), N(M, null, G(e.value.cardTypes, (o) => (f(), w(p, {
555
+ (f(!0), N(M, null, h(e.value.cardTypes, (o) => (f(), w(p, {
556
556
  key: o,
557
557
  label: o,
558
558
  removable: !0,
@@ -672,7 +672,7 @@ const te = /* @__PURE__ */ V({
672
672
  })
673
673
  ]),
674
674
  _("div", Ie, [
675
- (f(!0), N(M, null, G(e.value.cardTypes, (o) => (f(), w(p, {
675
+ (f(!0), N(M, null, h(e.value.cardTypes, (o) => (f(), w(p, {
676
676
  key: o,
677
677
  label: o,
678
678
  removable: !0,
@@ -713,11 +713,11 @@ const te = /* @__PURE__ */ V({
713
713
  },
714
714
  setup(F) {
715
715
  const m = F, a = R(() => m.terminal), b = I(), n = I(-1), r = I(), e = I({
716
- ip: "",
717
716
  receiptName: "",
717
+ config: {},
718
718
  cardTypes: []
719
719
  }), d = () => {
720
- e.value.ip = "", e.value.receiptName = "", e.value.cardTypes = [], n.value = -1;
720
+ e.value.receiptName = "", e.value.cardTypes = [], n.value = -1;
721
721
  }, s = () => {
722
722
  var u;
723
723
  if (!a.value.ecrIntegrations)
@@ -728,7 +728,7 @@ const te = /* @__PURE__ */ V({
728
728
  n.value = t;
729
729
  const l = i.at(t);
730
730
  l.gateway === "Maybank3" && l.config && (e.value = {
731
- ip: l.config.ip ?? "",
731
+ config: l.config,
732
732
  receiptName: l.receiptName ?? "",
733
733
  cardTypes: ((u = l.dialogConfig) == null ? void 0 : u.cardTypes) ?? []
734
734
  });
@@ -746,11 +746,11 @@ const te = /* @__PURE__ */ V({
746
746
  return f(), w(x, {
747
747
  ref: b.value,
748
748
  class: "flex flex-col gap-16 w-[500px]",
749
- onValidationSuccess: t[3] || (t[3] = () => {
749
+ onValidationSuccess: t[2] || (t[2] = () => {
750
750
  var o, T;
751
751
  n.value > -1 ? a.value.ecrIntegrations[n.value] = {
752
752
  gateway: "Maybank3",
753
- config: { ip: e.value.ip },
753
+ config: e.value.config,
754
754
  receiptName: e.value.receiptName,
755
755
  dialogConfig: {
756
756
  ...(T = (o = a.value.ecrIntegrations) == null ? void 0 : o[n.value]) == null ? void 0 : T.dialogConfig,
@@ -758,7 +758,7 @@ const te = /* @__PURE__ */ V({
758
758
  }
759
759
  } : (a.value.ecrIntegrations || (a.value.ecrIntegrations = []), a.value.ecrIntegrations.push({
760
760
  gateway: "Maybank3",
761
- config: { ip: e.value.ip },
761
+ config: e.value.config,
762
762
  receiptName: e.value.receiptName,
763
763
  dialogConfig: {
764
764
  cardTypes: e.value.cardTypes
@@ -767,21 +767,16 @@ const te = /* @__PURE__ */ V({
767
767
  })
768
768
  }, {
769
769
  default: P(() => [
770
- v(l, {
771
- modelValue: e.value.ip,
772
- "onUpdate:modelValue": t[0] || (t[0] = (o) => e.value.ip = o),
773
- label: "IP Address"
774
- }, null, 8, ["modelValue"]),
775
770
  v(l, {
776
771
  modelValue: e.value.receiptName,
777
- "onUpdate:modelValue": t[1] || (t[1] = (o) => e.value.receiptName = o),
772
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => e.value.receiptName = o),
778
773
  label: "Receipt Payment Name",
779
774
  "label-info": "Default receipt display will be 'TERMINAL_MAYBANK'"
780
775
  }, null, 8, ["modelValue"]),
781
776
  _("div", Te, [
782
777
  v(l, {
783
778
  modelValue: r.value,
784
- "onUpdate:modelValue": t[2] || (t[2] = (o) => r.value = o),
779
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => r.value = o),
785
780
  label: "Fallback Card Types",
786
781
  "label-info": "List of cards when fallback to reconcile dialog. Default VISA, MASTER"
787
782
  }, null, 8, ["modelValue"]),
@@ -792,7 +787,7 @@ const te = /* @__PURE__ */ V({
792
787
  })
793
788
  ]),
794
789
  _("div", xe, [
795
- (f(!0), N(M, null, G(e.value.cardTypes, (o) => (f(), w(p, {
790
+ (f(!0), N(M, null, h(e.value.cardTypes, (o) => (f(), w(p, {
796
791
  key: o,
797
792
  label: o,
798
793
  removable: !0,
@@ -912,7 +907,7 @@ const te = /* @__PURE__ */ V({
912
907
  })
913
908
  ]),
914
909
  _("div", Ve, [
915
- (f(!0), N(M, null, G(e.value.cardTypes, (o) => (f(), w(p, {
910
+ (f(!0), N(M, null, h(e.value.cardTypes, (o) => (f(), w(p, {
916
911
  key: o,
917
912
  label: o,
918
913
  removable: !0,
@@ -1025,7 +1020,7 @@ const te = /* @__PURE__ */ V({
1025
1020
  })
1026
1021
  ]),
1027
1022
  _("div", qe, [
1028
- (f(!0), N(M, null, G(e.value.cardTypes, (o) => (f(), w(p, {
1023
+ (f(!0), N(M, null, h(e.value.cardTypes, (o) => (f(), w(p, {
1029
1024
  key: o,
1030
1025
  label: o,
1031
1026
  removable: !0,
@@ -1052,7 +1047,7 @@ const te = /* @__PURE__ */ V({
1052
1047
  }, 512);
1053
1048
  };
1054
1049
  }
1055
- }), Re = { class: "flex items-center" }, $e = { class: "w-[260px] self-start" }, Ae = { class: "flex-1" }, De = /* @__PURE__ */ V({
1050
+ }), Re = { class: "flex items-center" }, $e = { class: "w-[260px] self-start" }, De = { class: "flex-1" }, Ae = /* @__PURE__ */ V({
1056
1051
  __name: "EcrGateway",
1057
1052
  props: {
1058
1053
  terminal: {
@@ -1124,7 +1119,7 @@ const te = /* @__PURE__ */ V({
1124
1119
  items: r.value
1125
1120
  }, null, 8, ["model-value", "items"])
1126
1121
  ]),
1127
- _("div", Ae, [
1122
+ _("div", De, [
1128
1123
  S(e) ? (f(), w(Y((i = b.value) == null ? void 0 : i.render), K(L({ key: 0 }, {
1129
1124
  terminal: m.terminal,
1130
1125
  onUpdate: m.onUpdate
@@ -1133,7 +1128,7 @@ const te = /* @__PURE__ */ V({
1133
1128
  ]);
1134
1129
  };
1135
1130
  }
1136
- }), Ge = { class: "flex mt-6 space-x-6" }, he = /* @__PURE__ */ V({
1131
+ }), he = { class: "flex mt-6 space-x-6" }, Ge = /* @__PURE__ */ V({
1137
1132
  __name: "PromptPayGateway",
1138
1133
  props: {
1139
1134
  terminal: {
@@ -1191,7 +1186,7 @@ const te = /* @__PURE__ */ V({
1191
1186
  label: "Receipt Payment Name",
1192
1187
  "label-info": "Default receipt display will be 'TERMINAL_MAYBANK'"
1193
1188
  }, null, 8, ["modelValue"]),
1194
- _("div", Ge, [
1189
+ _("div", he, [
1195
1190
  n.value > -1 ? (f(), w(t, {
1196
1191
  key: 0,
1197
1192
  class: "flex-1",
@@ -1229,7 +1224,7 @@ const te = /* @__PURE__ */ V({
1229
1224
  {
1230
1225
  label: "PromptPay",
1231
1226
  value: "promptpay",
1232
- render: he,
1227
+ render: Ge,
1233
1228
  region: [U.F_COUNTRY.enum.TH]
1234
1229
  }
1235
1230
  ], b = q(() => a.find((s) => s.value === e.value)), n = j().currentCountry, r = q(() => a.filter((s) => !s.region || s.region.includes(n.value ?? U.F_COUNTRY.enum.MY))), { gatewayTab: e } = E({
@@ -1272,7 +1267,7 @@ const te = /* @__PURE__ */ V({
1272
1267
  async function s(l) {
1273
1268
  n(async () => {
1274
1269
  try {
1275
- await D.updateById(
1270
+ await A.updateById(
1276
1271
  m.terminalId,
1277
1272
  {
1278
1273
  name: l.name,
@@ -1282,7 +1277,7 @@ const te = /* @__PURE__ */ V({
1282
1277
  ecrIntegrations: l.ecrIntegrations ?? [],
1283
1278
  qrIntegrations: l.qrIntegrations ?? []
1284
1279
  }
1285
- ), d.value = await D.readById(m.terminalId), e.open({
1280
+ ), d.value = await A.readById(m.terminalId), e.open({
1286
1281
  type: "success",
1287
1282
  message: "Terminal updated successfully"
1288
1283
  });
@@ -1319,7 +1314,7 @@ const te = /* @__PURE__ */ V({
1319
1314
  label: "ECR Gateway",
1320
1315
  value: "ecr",
1321
1316
  icon: "point_of_sale",
1322
- render: De,
1317
+ render: Ae,
1323
1318
  onlyFor: ["POS", "KIOSK"]
1324
1319
  },
1325
1320
  {
@@ -1337,7 +1332,7 @@ const te = /* @__PURE__ */ V({
1337
1332
  });
1338
1333
  async function i() {
1339
1334
  n(async () => {
1340
- d.value = await D.readById(m.terminalId);
1335
+ d.value = await A.readById(m.terminalId);
1341
1336
  });
1342
1337
  }
1343
1338
  const t = q(() => y.filter((l) => {
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as B, ref as E, watch as R, onMounted as J, resolveComponent as h, openBlock as A, createElementBlock as $, Fragment as q, unref as t, createBlock as D, createCommentVNode as w, withCtx as K, createVNode as _, renderList as Q, createElementVNode as V, isRef as N, h as k } from "vue";
2
- import { t as C, b as H, c as W } from "./assets-G_4EYkBh.js";
2
+ import { t as C, b as H, c as W } from "./assets-Byq5vu99.js";
3
3
  import { h as O } from "./moment-h96o7c8I.js";
4
4
  import { useI18n as G, useCoreStore as j } from "@feedmepos/mf-common";
5
5
  import { _ as X } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
- import { u as Z } from "./index-CNGLJkBO.js";
6
+ import { u as Z } from "./index-C9vSg8Xx.js";
7
7
  import { _ as ee } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
8
8
  import { _ as ae } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
9
9
  import { _ as te } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
10
- import { p as ne } from "./index-CVpKc-VE.js";
11
- import { t as re } from "./index-Gr7lw7we.js";
12
- import { u as se, p as x } from "./index-B1nXFe1-.js";
10
+ import { p as ne } from "./index-C5gCZHen.js";
11
+ import { t as re } from "./index-Cm9gPHIH.js";
12
+ import { u as se, p as x } from "./index-DVLqrR4d.js";
13
13
  import { useSnackbar as oe, useDialog as le } from "@feedmepos/ui-library";
14
- import { _ as ie, a as ce, b as ue, c as me } from "./Actions.vue_vue_type_script_setup_true_lang-NVVDBgu2.js";
15
- import { g as de } from "./grafana-Cqdyar0p.js";
14
+ import { _ as ie, a as ce, b as ue, c as me } from "./Actions.vue_vue_type_script_setup_true_lang-CS92skzo.js";
15
+ import { g as de } from "./grafana-Ddr9UJ5i.js";
16
16
  import { w as L } from "./Modal-DB8M9o1T.js";
17
17
  import { u as P } from "./error-K1CakhA9.js";
18
- import { _ as pe } from "./index.vue_vue_type_script_setup_true_lang-D62UrwAv.js";
18
+ import { _ as pe } from "./index.vue_vue_type_script_setup_true_lang-C7aGohmV.js";
19
19
  const ye = /* @__PURE__ */ B({
20
20
  __name: "SourceSelector",
21
21
  props: {
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as T, resolveComponent as f, openBlock as y, createBlock as b, normalizeClass as C, withCtx as _, createElementVNode as p, toDisplayString as V, unref as m, createElementBlock as I, createVNode as g, Fragment as Y, renderList as O, ref as P, watch as x, isRef as N, h } from "vue";
2
- import { g as U, a as B, t as w, b as G, c as k } from "./assets-G_4EYkBh.js";
2
+ import { g as U, a as B, t as w, b as G, c as k } from "./assets-Byq5vu99.js";
3
3
  import { h as A } from "./moment-h96o7c8I.js";
4
- import { u as L } from "./index-CNGLJkBO.js";
4
+ import { u as L } from "./index-C9vSg8Xx.js";
5
5
  import { _ as Q } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
6
6
  import { _ as j } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
7
7
  import { useSnackbar as z, useDialog as H } from "@feedmepos/ui-library";
8
8
  import { w as q } from "./Modal-DB8M9o1T.js";
9
9
  import { u as F } from "./error-K1CakhA9.js";
10
10
  import { _ as J } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
11
- import { g as W } from "./grafana-Cqdyar0p.js";
12
- import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-D62UrwAv.js";
13
- import { e as D } from "./index-B1nXFe1-.js";
11
+ import { g as W } from "./grafana-Ddr9UJ5i.js";
12
+ import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-C7aGohmV.js";
13
+ import { e as D } from "./index-DVLqrR4d.js";
14
14
  import { _ as Z } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-XC4V0tsX.js";
15
15
  import { useCoreStore as ee } from "@feedmepos/mf-common";
16
16
  const te = /* @__PURE__ */ T({
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as S, ref as K, watch as x, resolveComponent as F, openBlock as Y, createBlock as C, h as A, onMounted as M, unref as i, withCtx as O, createElementVNode as w, createVNode as _, isRef as R } from "vue";
2
- import { t as v, c as $, b as U } from "./assets-G_4EYkBh.js";
3
- import { u as L } from "./index-B1nXFe1-.js";
2
+ import { t as v, c as $, b as U } from "./assets-Byq5vu99.js";
3
+ import { u as L } from "./index-DVLqrR4d.js";
4
4
  import { useSnackbar as P, useDialog as B } from "@feedmepos/ui-library";
5
- import { _ as J, a as j, b as G, c as Q } from "./Actions.vue_vue_type_script_setup_true_lang-NVVDBgu2.js";
6
- import { g as z } from "./grafana-Cqdyar0p.js";
5
+ import { _ as J, a as j, b as G, c as Q } from "./Actions.vue_vue_type_script_setup_true_lang-CS92skzo.js";
6
+ import { g as z } from "./grafana-Ddr9UJ5i.js";
7
7
  import { w as k } from "./Modal-DB8M9o1T.js";
8
8
  import { u as V } from "./error-K1CakhA9.js";
9
9
  import { useCoreStore as N, useI18n as E } from "@feedmepos/mf-common";
10
10
  import { h as I } from "./moment-h96o7c8I.js";
11
11
  import { _ as H } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
12
- import { u as W } from "./index-CNGLJkBO.js";
12
+ import { u as W } from "./index-C9vSg8Xx.js";
13
13
  import { _ as X } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
14
14
  import { _ as Z } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
15
15
  import { _ as aa } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
@@ -365,7 +365,7 @@ const Gn = {
365
365
  sidebarDisplay: "Restaurants",
366
366
  section: "payment-gateway"
367
367
  },
368
- component: () => import("./Restaurant-Cxsbp2jQ.js")
368
+ component: () => import("./Restaurant-DIy6nvRx.js")
369
369
  },
370
370
  {
371
371
  path: "/admin/restaurants/:restaurantId",
@@ -374,7 +374,7 @@ const Gn = {
374
374
  meta: {
375
375
  parent: "mf-payment-admin.restaurant"
376
376
  },
377
- component: () => import("./RestaurantSetting-BykOuVYY.js")
377
+ component: () => import("./RestaurantSetting-aSOpK7BL.js")
378
378
  },
379
379
  {
380
380
  path: "/admin/payout-accounts",
@@ -383,7 +383,7 @@ const Gn = {
383
383
  sidebarDisplay: "Payout Accounts",
384
384
  section: "payment-gateway"
385
385
  },
386
- component: () => import("./PayoutAccount-CL8ONTto.js")
386
+ component: () => import("./PayoutAccount-WzMhhSie.js")
387
387
  },
388
388
  {
389
389
  path: "/admin/payout-accounts/:accountId",
@@ -392,7 +392,7 @@ const Gn = {
392
392
  meta: {
393
393
  parent: "mf-payment-admin.payout-account"
394
394
  },
395
- component: () => import("./PayoutAccountSetting-CasobYXH.js")
395
+ component: () => import("./PayoutAccountSetting-C6S5qXwQ.js")
396
396
  },
397
397
  {
398
398
  path: "/admin/onboarding",
@@ -401,7 +401,7 @@ const Gn = {
401
401
  sidebarDisplay: "Payment Onboarding",
402
402
  section: "payment-gateway"
403
403
  },
404
- component: () => import("./OnboardSubmission-BN11hozP.js")
404
+ component: () => import("./OnboardSubmission-DRXNJ8UG.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-i3UXFhVW.js")
413
+ component: () => import("./OnboardForm-6_Bma3oY.js")
414
414
  },
415
415
  {
416
416
  path: "/admin/terminal/pos",
@@ -419,7 +419,7 @@ const Gn = {
419
419
  sidebarDisplay: "POS",
420
420
  section: "device"
421
421
  },
422
- component: () => import("./Terminal-C7AdBY9Y.js"),
422
+ component: () => import("./Terminal-DSwALqKp.js"),
423
423
  props: {
424
424
  type: "POS"
425
425
  }
@@ -431,7 +431,7 @@ const Gn = {
431
431
  sidebarDisplay: "Kiosks",
432
432
  section: "device"
433
433
  },
434
- component: () => import("./Terminal-C7AdBY9Y.js"),
434
+ component: () => import("./Terminal-DSwALqKp.js"),
435
435
  props: {
436
436
  type: "KIOSK"
437
437
  }
@@ -443,7 +443,7 @@ const Gn = {
443
443
  sidebarDisplay: "Terminals",
444
444
  section: "device"
445
445
  },
446
- component: () => import("./Terminal-C7AdBY9Y.js"),
446
+ component: () => import("./Terminal-DSwALqKp.js"),
447
447
  props: {
448
448
  type: "TERMINAL"
449
449
  }
@@ -455,7 +455,7 @@ const Gn = {
455
455
  meta: {
456
456
  parent: "mf-payment-admin.pos"
457
457
  },
458
- component: () => import("./TerminalSetting-DJYGoWdb.js")
458
+ component: () => import("./TerminalSetting-_vlpT1ap.js")
459
459
  },
460
460
  {
461
461
  path: "/admin/terminal/kiosk/:terminalId",
@@ -464,7 +464,7 @@ const Gn = {
464
464
  meta: {
465
465
  parent: "mf-payment-admin.kiosk"
466
466
  },
467
- component: () => import("./TerminalSetting-DJYGoWdb.js")
467
+ component: () => import("./TerminalSetting-_vlpT1ap.js")
468
468
  },
469
469
  {
470
470
  path: "/admin/terminal/terminal/:terminalId",
@@ -473,7 +473,7 @@ const Gn = {
473
473
  meta: {
474
474
  parent: "mf-payment-admin.terminal"
475
475
  },
476
- component: () => import("./TerminalSetting-DJYGoWdb.js")
476
+ component: () => import("./TerminalSetting-_vlpT1ap.js")
477
477
  },
478
478
  {
479
479
  path: "/admin/transaction",
@@ -481,7 +481,7 @@ const Gn = {
481
481
  meta: {
482
482
  sidebarDisplay: "Transactions"
483
483
  },
484
- component: () => import("./Transaction-OthZffw8.js")
484
+ component: () => import("./Transaction-DLqFy6CO.js")
485
485
  },
486
486
  {
487
487
  path: "/admin/settlement",
@@ -489,7 +489,7 @@ const Gn = {
489
489
  meta: {
490
490
  sidebarDisplay: "Settlements"
491
491
  },
492
- component: () => import("./Settlement-m45suXxV.js")
492
+ component: () => import("./Settlement-D3PryFx_.js")
493
493
  },
494
494
  {
495
495
  path: "/admin/settlement/:settlementId",
@@ -498,7 +498,7 @@ const Gn = {
498
498
  meta: {
499
499
  parent: "mf-payment-admin.settlement"
500
500
  },
501
- component: () => import("./SettlementTransactions-Dkc5Wogr.js")
501
+ component: () => import("./SettlementTransactions-DYZhHFsI.js")
502
502
  }
503
503
  ], We = [
504
504
  {
@@ -508,7 +508,7 @@ const Gn = {
508
508
  {
509
509
  path: "/payout-account",
510
510
  name: "mf-payment-payout-account",
511
- component: () => import("./PayoutAccount-BOb3un4S.js"),
511
+ component: () => import("./PayoutAccount-Br6e6giR.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-BoudwTyR.js"),
519
+ component: () => import("./OnboardSubmission-BgDO7JVI.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-CO-gRNBl.js"),
529
+ component: () => import("./OnboardForm-Dse8u1JX.js"),
530
530
  meta: {
531
531
  parent: "mf-payment-onboard-submission"
532
532
  }
@@ -534,7 +534,7 @@ const Gn = {
534
534
  {
535
535
  path: "/transaction-old",
536
536
  name: "mf-payment-old-transaction",
537
- component: () => import("./TransactionOld-BLYgVqKA.js"),
537
+ component: () => import("./TransactionOld-BDFo4Mpq.js"),
538
538
  meta: {
539
539
  sidebarDisplay: "i18n:payment.routes.transaction"
540
540
  }
@@ -542,7 +542,7 @@ const Gn = {
542
542
  {
543
543
  path: "/transaction",
544
544
  name: "mf-payment-transaction",
545
- component: () => import("./Transaction-CcUFfb3m.js"),
545
+ component: () => import("./Transaction-CqrztOdm.js"),
546
546
  meta: {
547
547
  sidebarDisplay: "i18n:payment.routes.transaction-new",
548
548
  sidebarNew: !0
@@ -551,7 +551,7 @@ const Gn = {
551
551
  {
552
552
  path: "/settlement",
553
553
  name: "mf-payment-settlement",
554
- component: () => import("./Settlement-DfKj96mQ.js"),
554
+ component: () => import("./Settlement-DLAf3Bha.js"),
555
555
  meta: {
556
556
  sidebarDisplay: "i18n:payment.routes.settlement"
557
557
  }
@@ -560,7 +560,7 @@ const Gn = {
560
560
  path: "/settlement/:settlementId",
561
561
  name: "mf-payment-settlement-transaction",
562
562
  props: !0,
563
- component: () => import("./SettlementTransactions-DGgUpZgA.js"),
563
+ component: () => import("./SettlementTransactions-D_TFrtbO.js"),
564
564
  meta: {
565
565
  parent: "mf-payment-settlement"
566
566
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, f as o } from "./app-LbrmOxsV.js";
1
+ import { h as e, i as r, f as o } from "./app-DmsfFHrH.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as D, b as q, r as d, d as k, f as P, l, h as u, p as Y } from "./index-B1nXFe1-.js";
1
+ import { g as D, b as q, r as d, d as k, f as P, l, h as u, p as Y } from "./index-DVLqrR4d.js";
2
2
  import { h as C } from "./moment-h96o7c8I.js";
3
3
  import { d as H } from "./dinero-CIVmXLL-.js";
4
4
  import { i as n } from "./softspace-25X2bjBx.js";
@@ -1,4 +1,4 @@
1
- import { e as c } from "./index-B1nXFe1-.js";
1
+ import { e as c } from "./index-DVLqrR4d.js";
2
2
  import { useCoreStore as p } from "@feedmepos/mf-common";
3
3
  import { h as n } from "./moment-h96o7c8I.js";
4
4
  const i = "https://grafana.feedme.farm/explore?schemaVersion=1", m = (o, r, t) => ({
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-B1nXFe1-.js";
1
+ import { b as r, g as e } from "./index-DVLqrR4d.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 r, b as i, i as c, l as d, j as y, h as l, r as m } from "./index-B1nXFe1-.js";
1
+ import { g as r, b as i, i as c, l as d, j as y, h as l, r as m } from "./index-DVLqrR4d.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 { d as e, b as n, g as s, f as u } from "./index-B1nXFe1-.js";
1
+ import { d as e, b as n, g as s, f as u } from "./index-DVLqrR4d.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,6 +1,6 @@
1
1
  import { ref as b, watch as w } from "vue";
2
2
  import { useRoute as A, useRouter as m } from "vue-router";
3
- import { a as y } from "./index-B1nXFe1-.js";
3
+ import { a as y } from "./index-DVLqrR4d.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,5 +1,5 @@
1
- import { d as r, b as a, g as n, o as i } from "./index-B1nXFe1-.js";
2
- import { f as u } from "./plugins-CJ-W8eYA.js";
1
+ import { d as r, b as a, g as n, o as i } from "./index-DVLqrR4d.js";
2
+ import { f as u } from "./plugins-C_CbkEaG.js";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const y = {
5
5
  async read(s) {
@@ -1,4 +1,4 @@
1
- import { d as s, b as t, g as a, f as r, p as i } from "./index-B1nXFe1-.js";
1
+ import { d as s, b as t, g as a, f as r, p as i } from "./index-DVLqrR4d.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(