@feedmepos/mf-payment 1.11.4-dev → 1.11.5

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 (52) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-BPh2hhit.js → Actions.vue_vue_type_script_setup_true_lang-3SV7Yisp.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-DgswT3Ud.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-C03x7TOE.js} +3 -3
  3. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-D7RuRMlk.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DrlKuLw7.js} +3 -3
  4. package/dist/{Chargeback-B8cjc_pN.js → Chargeback-EcJi6zOO.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DQXv0gnh.js → DocumentViewer.vue_vue_type_script_setup_true_lang-Ub6yU-qZ.js} +1 -1
  6. package/dist/{ExternalTerminal-r_0OqPCU.js → ExternalTerminal-CHTRv3Ua.js} +6 -6
  7. package/dist/{OnboardForm-BCZ_YurN.js → OnboardForm-B378DOcX.js} +6 -6
  8. package/dist/{OnboardForm-BVfA7iqT.js → OnboardForm-_cXLOdhB.js} +462 -432
  9. package/dist/{OnboardSubmission-JZDSvuzp.js → OnboardSubmission-2ywRR2fk.js} +3 -3
  10. package/dist/{OnboardSubmission-DmWcJsAp.js → OnboardSubmission-DxqZG6QZ.js} +6 -6
  11. package/dist/{PaymentCheckout-CstxxfEL.js → PaymentCheckout-Br97izd1.js} +2 -2
  12. package/dist/{PayoutAccount-SYruVIwb.js → PayoutAccount-BCKC42lU.js} +7 -7
  13. package/dist/{PayoutAccount-D-G1xwPX.js → PayoutAccount-CbqfCHQM.js} +5 -5
  14. package/dist/{PayoutAccountSetting-B99lsGOy.js → PayoutAccountSetting-B-SJFwjG.js} +6 -6
  15. package/dist/{Restaurant-BX2gE_HI.js → Restaurant-404A4nLn.js} +4 -4
  16. package/dist/{RestaurantSetting-D0E6REVo.js → RestaurantSetting-LzQiQcIv.js} +3 -3
  17. package/dist/{Settlement-BDov44GA.js → Settlement-BJ1KdP50.js} +3 -3
  18. package/dist/{Settlement-D16D5PXH.js → Settlement-DuIEuBWL.js} +4 -4
  19. package/dist/{SettlementTransactions-BUvDH10q.js → SettlementTransactions-DxziumM1.js} +5 -5
  20. package/dist/{SettlementTransactions-CyJ21ZA6.js → SettlementTransactions-iHUFJO_W.js} +5 -5
  21. package/dist/{Status.vue_vue_type_script_setup_true_lang-DlIp-zin.js → Status.vue_vue_type_script_setup_true_lang-BHNHGevm.js} +1 -1
  22. package/dist/{Terminal-CY2uX4Wf.js → Terminal-DB76mZcJ.js} +6 -6
  23. package/dist/{TerminalSetting-C6U8gzkD.js → TerminalSetting-IpoWXpKY.js} +7 -7
  24. package/dist/{TerminalTemplate-DwxrCqyi.js → TerminalTemplate-MAMv9HaT.js} +5 -5
  25. package/dist/{TerminalTemplateSetting-Ca1bBZOK.js → TerminalTemplateSetting-Ci_6hWRf.js} +5 -5
  26. package/dist/{Transaction-EZWgDtJ8.js → Transaction-Brn5Mdhj.js} +10 -10
  27. package/dist/{Transaction-wBN2-1H9.js → Transaction-CM5PgSXC.js} +12 -12
  28. package/dist/{TransactionOld-b8vKw1PJ.js → TransactionOld-CFg0DQb9.js} +7 -7
  29. package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-Bju-v34z.js → TransactionStatus.vue_vue_type_script_setup_true_lang-DPyZfivn.js} +1 -1
  30. package/dist/api/onboard-submission/index.d.ts +1 -1
  31. package/dist/{app-DJINOWPG.js → app-D4I1AB3Q.js} +447 -456
  32. package/dist/app.js +1 -1
  33. package/dist/{assets-RL6HCVpd.js → assets-CUHEPueQ.js} +1 -1
  34. package/dist/{grafana-De5XGV4f.js → grafana-ChBCGFOj.js} +1 -1
  35. package/dist/{index-BKieABma.js → index-1xbtrg1U.js} +1 -1
  36. package/dist/{index-BPMowDa0.js → index-CCGiuuqV.js} +1 -1
  37. package/dist/{index-Bv9zWWLS.js → index-CLplfyOs.js} +1 -1
  38. package/dist/{index-UgdiYNp8.js → index-CMzi8EpY.js} +1 -1
  39. package/dist/{index-CSRxJCgx.js → index-CRIOFxJ6.js} +1 -1
  40. package/dist/{index-BWJe-a5q.js → index-CmBjL8wD.js} +1 -1
  41. package/dist/{index-BCyFg7AI.js → index-CxsHLT0K.js} +1 -1
  42. package/dist/{index-BKtdCHW0.js → index-DVm28tuh.js} +1 -1
  43. package/dist/{index-B8KFOPPX.js → index-DWKU1hJS.js} +24 -24
  44. package/dist/{index-DoL1iPS4.js → index-DmCFB0qO.js} +1 -1
  45. package/dist/{index-DBm5x5lN.js → index-n0NgHff2.js} +1 -1
  46. package/dist/{index.vue_vue_type_script_setup_true_lang-BiA2JIwO.js → index.vue_vue_type_script_setup_true_lang-BLDZPBcs.js} +1 -1
  47. package/dist/{onboard-submission-mj3NaLcK.js → onboard-submission-CvKpd6hG.js} +1 -1
  48. package/dist/package.json +2 -2
  49. package/dist/{payout-account-Bg55qZ-o.js → payout-account-CQLK-tI6.js} +3 -3
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/{useQuery-CzkaEzXi.js → useQuery-ak8x1KJc.js} +1 -1
  52. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { e as i } from "./index-BPMowDa0.js";
1
+ import { e as i } from "./index-CCGiuuqV.js";
2
2
  import { useCoreStore as l } from "@feedmepos/mf-common";
3
3
  import { h as a } from "./moment-h96o7c8I.js";
4
4
  const y = "https://grafana.feedme.farm/d/hyperdx-trace-explorer/hyperdx-trace-explorer-embedded", m = "69a1a2665dc2f34c0563c0a7", h = "6a4e8eefbcd09745155bda80", n = {
@@ -1,4 +1,4 @@
1
- import { g as t, b as e, a as r } from "./index-BPMowDa0.js";
1
+ import { g as t, b as e, a as r } from "./index-CCGiuuqV.js";
2
2
  const i = {
3
3
  async create(a) {
4
4
  return t(
@@ -1,4 +1,4 @@
1
- import { w as W, x as MR, v as NR } from "./app-DJINOWPG.js";
1
+ import { w as W, x as MR, v as NR } from "./app-D4I1AB3Q.js";
2
2
  import { useCoreStore as ju } from "@feedmepos/mf-common";
3
3
  import { ref as DR } from "vue";
4
4
  var Mh = {}, ol = {}, y = {}, vh = {}, Gm = {}, Vm = {}, Mc = {};
@@ -1,4 +1,4 @@
1
- import { g as e, b as a, a as n } from "./index-BPMowDa0.js";
1
+ import { g as e, b as a, a as n } from "./index-CCGiuuqV.js";
2
2
  const i = {
3
3
  async create(t) {
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 { v as y } from "./app-DJINOWPG.js";
3
+ import { v as y } from "./app-D4I1AB3Q.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { g as s, b as e, a as o, d as I, l as m, c as d, r as f } from "./index-BPMowDa0.js";
1
+ import { g as s, b as e, a as o, d as I, l as m, c as d, r as f } from "./index-CCGiuuqV.js";
2
2
  import { h as n } from "./moment-h96o7c8I.js";
3
3
  const A = {
4
4
  async readBySettlementId(t) {
@@ -1,4 +1,4 @@
1
- import { g as t, b as n, c as u, a as e } from "./index-BPMowDa0.js";
1
+ import { g as t, b as n, c as u, a as e } from "./index-CCGiuuqV.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,4 +1,4 @@
1
- import { b as r, c as p } from "./index-BPMowDa0.js";
1
+ import { b as r, c as p } from "./index-CCGiuuqV.js";
2
2
  const i = {
3
3
  async upload(e, s, t) {
4
4
  const o = (await p().post("/document/presign", {
@@ -1,4 +1,4 @@
1
- import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-BPMowDa0.js";
1
+ import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-CCGiuuqV.js";
2
2
  import { h as r } from "./moment-h96o7c8I.js";
3
3
  import { d as p } from "./dinero-CIVmXLL-.js";
4
4
  function* f(t, a) {
@@ -1,14 +1,14 @@
1
- import { g as e, b as s, o as m, a as c } from "./index-BPMowDa0.js";
1
+ import { g as o, b as s, o as m, a as c } from "./index-CCGiuuqV.js";
2
2
  import { h as d } from "./moment-h96o7c8I.js";
3
- import { d as b } from "./index-BCyFg7AI.js";
3
+ import { d as b } from "./index-CxsHLT0K.js";
4
4
  async function p(t) {
5
5
  if (t.type !== "image/png") return t;
6
- const a = await g(t), o = document.createElement("canvas");
7
- o.width = a.width, o.height = a.height;
8
- const n = o.getContext("2d");
6
+ const a = await g(t), e = document.createElement("canvas");
7
+ e.width = a.width, e.height = a.height;
8
+ const n = e.getContext("2d");
9
9
  if (!n) throw new Error("Failed to get 2D canvas context");
10
10
  return n.drawImage(a, 0, 0), new Promise((i, u) => {
11
- o.toBlob((r) => {
11
+ e.toBlob((r) => {
12
12
  if (!r) {
13
13
  u(new Error("Canvas PNG export failed"));
14
14
  return;
@@ -20,12 +20,12 @@ async function p(t) {
20
20
  });
21
21
  }
22
22
  function g(t) {
23
- return new Promise((a, o) => {
23
+ return new Promise((a, e) => {
24
24
  const n = new Image();
25
25
  n.onload = () => {
26
26
  URL.revokeObjectURL(n.src), a(n);
27
27
  }, n.onerror = () => {
28
- URL.revokeObjectURL(n.src), o(new Error("Failed to load image from File"));
28
+ URL.revokeObjectURL(n.src), e(new Error("Failed to load image from File"));
29
29
  }, n.src = URL.createObjectURL(t);
30
30
  });
31
31
  }
@@ -38,7 +38,7 @@ const $ = {
38
38
  );
39
39
  },
40
40
  async readById(t) {
41
- return e(
41
+ return o(
42
42
  await s().get(`/payments/onboard-submissions/${t}`)
43
43
  );
44
44
  },
@@ -50,14 +50,14 @@ const $ = {
50
50
  m(a.data);
51
51
  },
52
52
  async sendDocument(t) {
53
- return e(
53
+ return o(
54
54
  await s().post(
55
55
  `payments/onboard-submissions/${t}/send`
56
56
  )
57
57
  );
58
58
  },
59
59
  async reviewById(t, a) {
60
- return e(
60
+ return o(
61
61
  await s().put(
62
62
  `/payments/onboard-submissions/${t}`,
63
63
  a
@@ -65,63 +65,63 @@ const $ = {
65
65
  );
66
66
  },
67
67
  async addAdditionalDocuments(t, a) {
68
- return e(
68
+ return o(
69
69
  await s().post(
70
70
  `/payments/onboard-submissions/${t}/additional-documents`,
71
71
  { documents: a }
72
72
  )
73
73
  );
74
74
  },
75
- async trackStatus(t, a) {
76
- return e(
75
+ async trackStatus(t, a, e) {
76
+ return o(
77
77
  await s().post(
78
78
  `/payments/onboard-submissions/${t}/status-tracking`,
79
- { action: a }
79
+ { action: a, description: e }
80
80
  )
81
81
  );
82
82
  },
83
83
  async getById(t, a) {
84
- return e(
84
+ return o(
85
85
  await s().get(
86
86
  `restaurants/${a}/onboard-submissions/${t}`
87
87
  )
88
88
  );
89
89
  },
90
90
  async getByRestaurant(t) {
91
- return e(
91
+ return o(
92
92
  await s().get(
93
93
  `restaurants/${t}/onboard-submissions`
94
94
  )
95
95
  );
96
96
  },
97
97
  async getOnboardSubmissionTyroAuthUrl(t) {
98
- return e(
98
+ return o(
99
99
  await s().get(
100
100
  `restaurants/${t}/onboard-submissions/tyro/auth`
101
101
  )
102
102
  );
103
103
  },
104
104
  async getTyroLocations(t) {
105
- return e(
105
+ return o(
106
106
  await s().get(
107
107
  `restaurants/${t}/onboard-submissions/tyro/locations`
108
108
  )
109
109
  );
110
110
  },
111
111
  async bindTyroLocation(t, a) {
112
- return e(
112
+ return o(
113
113
  await s().put(
114
114
  `restaurants/${t}/onboard-submissions/tyro/location`,
115
115
  a
116
116
  )
117
117
  );
118
118
  },
119
- async uploadDocument(t, a, o) {
119
+ async uploadDocument(t, a, e) {
120
120
  var r;
121
- const n = (r = o.name.toLowerCase().match(/\.([a-z0-9]+)$/)) == null ? void 0 : r[1];
121
+ const n = (r = e.name.toLowerCase().match(/\.([a-z0-9]+)$/)) == null ? void 0 : r[1];
122
122
  if (!n)
123
123
  throw new Error("Unable to determine file extension from filename");
124
- const i = n === "png" ? await p(o) : o, u = d().toISOString();
124
+ const i = n === "png" ? await p(e) : e, u = d().toISOString();
125
125
  return await b.upload(
126
126
  `restaurant/${t}/documents/${a}/${u}.${n}`,
127
127
  i,
@@ -129,7 +129,7 @@ const $ = {
129
129
  );
130
130
  },
131
131
  async updateSubmission(t) {
132
- return e(
132
+ return o(
133
133
  await s().put(
134
134
  `restaurants/${t.restaurantId}/onboard-submissions`,
135
135
  t
@@ -1,4 +1,4 @@
1
- import { a as s, b as e, g as r } from "./index-BPMowDa0.js";
1
+ import { a as s, b as e, g as r } from "./index-CCGiuuqV.js";
2
2
  const i = {
3
3
  async readRestaurantById(a) {
4
4
  const t = await e().get(`/payments/restaurants/${a}`);
@@ -1,4 +1,4 @@
1
- import { g as t, b as e, p as r, c as i, a as s } from "./index-BPMowDa0.js";
1
+ import { g as t, b as e, p as r, c as i, a as s } from "./index-CCGiuuqV.js";
2
2
  const m = {
3
3
  async create(a) {
4
4
  return s(
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, ref as r, resolveComponent as f, openBlock as g, createBlock as z, withCtx as I, createElementVNode as i, normalizeStyle as E, createElementBlock as M, Fragment as N, renderList as O, createVNode as c, computed as _, watch as L, onMounted as R, unref as D, toDisplayString as B, createCommentVNode as G, nextTick as H, normalizeClass as J } from "vue";
2
- import { u as K } from "./index-BPMowDa0.js";
2
+ import { u as K } from "./index-CCGiuuqV.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const Q = ["id"], U = /* @__PURE__ */ q({
5
5
  __name: "FmTableSelection",
@@ -1,4 +1,4 @@
1
- import { e as t, p as r } from "./index-BPMowDa0.js";
1
+ import { e as t, p as r } from "./index-CCGiuuqV.js";
2
2
  import { useCoreStore as i } from "@feedmepos/mf-common";
3
3
  const s = {
4
4
  softspace: [t.F_COUNTRY.enum.MY],
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.11.4-dev",
3
+ "version": "1.11.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -109,4 +109,4 @@
109
109
  "vite": "^5.2.11",
110
110
  "vue-tsc": "^2.0.11"
111
111
  }
112
- }
112
+ }
@@ -1,7 +1,7 @@
1
- import { p as E, B as st } from "./index-BPMowDa0.js";
2
- import { v as it, w as at, _ as ut } from "./app-DJINOWPG.js";
1
+ import { p as E, B as st } from "./index-CCGiuuqV.js";
2
+ import { v as it, w as at, _ as ut } from "./app-D4I1AB3Q.js";
3
3
  import { useCoreStore as ot } from "@feedmepos/mf-common";
4
- import { d as H } from "./index-BCyFg7AI.js";
4
+ import { d as H } from "./index-CxsHLT0K.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {