@feedmepos/mf-payment 1.1.1 → 1.1.2-beta.2

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 (48) hide show
  1. package/dist/{PayoutAccount-Uxp8P5mP.js → PayoutAccount-CGcfRlND.js} +5 -5
  2. package/dist/{PayoutAccount-CHlVhuln.js → PayoutAccount-Cq63Lchn.js} +3 -3
  3. package/dist/{PayoutAccountSetting-CkxieU1X.js → PayoutAccountSetting-mp5XADlV.js} +3 -3
  4. package/dist/{Restaurant-CuFO3QRI.js → Restaurant-Bh-Swmnc.js} +4 -4
  5. package/dist/{RestaurantSetting-Cu-aL7T5.js → RestaurantSetting-DD3fBa82.js} +3 -3
  6. package/dist/{Settlement-DdtcmG-B.js → Settlement-ByLto4lA.js} +3 -3
  7. package/dist/{Settlement-sUK7hciE.js → Settlement-D6V7hXB0.js} +3 -3
  8. package/dist/{SettlementTransactions-DEjvlqRR.js → SettlementTransactions-CLkClb0y.js} +3 -3
  9. package/dist/{SettlementTransactions-DmRHU4ub.js → SettlementTransactions-CpcZ6a8t.js} +3 -3
  10. package/dist/{Terminal-By5YvruF.js → Terminal-Bf4K0SU6.js} +6 -6
  11. package/dist/{TerminalSetting-CdJ5IUMx.js → TerminalSetting-C5MfEECE.js} +3 -3
  12. package/dist/{Transaction-DjnThfJj.js → Transaction-B4h34xHh.js} +69 -64
  13. package/dist/{Transaction-fDV7uwPm.js → Transaction-DH9KvyRn.js} +6 -6
  14. package/dist/{TransactionOld-ClbfI26Q.js → TransactionOld-D-Blr5IV.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-V_Nu_Tfr.js → TransactionTable.vue_vue_type_script_setup_true_lang-pKkCwcN4.js} +3 -3
  16. package/dist/{app-WLOsDqR3.js → app-Cx_4amzP.js} +358 -358
  17. package/dist/app.js +1 -1
  18. package/dist/{assets-DGWEFqE0.js → assets-DwQ9WbsQ.js} +3 -3
  19. package/dist/{grafana-DBVvRHL3.js → grafana-BHFm9kPb.js} +4 -4
  20. package/dist/{index-DZogRypU.js → index-8FeljzPy.js} +1 -1
  21. package/dist/{index-DlCgS8kr.js → index-BStG1ssC.js} +6826 -6770
  22. package/dist/{index-CsqWYojv.js → index-BXmakOBx.js} +1 -1
  23. package/dist/{index-BTDZ_TfK.js → index-DqqNNVB5.js} +1 -1
  24. package/dist/{index-zH2qb_dJ.js → index-V6QYtm9V.js} +1 -1
  25. package/dist/{index-AnH6XmxC.js → index-n0CcC4-P.js} +1 -1
  26. package/dist/{index.vue_vue_type_script_setup_true_lang-DI0S6frH.js → index.vue_vue_type_script_setup_true_lang-B1-3Fz1G.js} +1 -1
  27. package/dist/package.json +2 -2
  28. package/dist/{payout-account-DLHcoJHA.js → payout-account-L8vExmhH.js} +2 -2
  29. package/dist/stores/payoutAccount.d.ts +2 -2
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +2 -2
  32. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +2 -2
  33. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +2 -2
  34. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +2 -2
  35. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +2 -2
  36. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  37. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
  38. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  39. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  40. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
  41. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +2 -2
  42. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +2 -2
  43. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
  44. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +2 -2
  45. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +4 -4
  46. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
  47. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
  48. package/package.json +2 -2
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, f as o } from "./app-WLOsDqR3.js";
1
+ import { h as e, i as r, f as o } from "./app-Cx_4amzP.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-DlCgS8kr.js";
1
+ import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-BStG1ssC.js";
2
2
  import { h as C } from "./moment-h96o7c8I.js";
3
3
  import { d as O } from "./dinero-CIVmXLL-.js";
4
4
  const K = {
@@ -89,7 +89,7 @@ const K = {
89
89
  transformers: {
90
90
  gateway: (w) => w === "RAZER_MERCHANT_SERVICE" ? "FIUU" : w,
91
91
  "fdoAmount.amount": (w) => (w / 100).toFixed(2),
92
- fee: (w) => (console.log(w), w.split(" ")[1]),
92
+ fee: (w) => w.split(" ")[1],
93
93
  payout: (w) => w.split(" ")[1],
94
94
  transactionAt: (w) => C(w).format("YYYY-MM-DD HH:mm:ss"),
95
95
  refundedAt: (w) => C(w).format("YYYY-MM-DD HH:mm:ss")
@@ -122,7 +122,7 @@ function u(A) {
122
122
  let Q = "", B = "";
123
123
  switch (!0) {
124
124
  case !!A.terminal:
125
- B = "Terminal", Q = A.terminal;
125
+ B = A.terminalType ?? "Device", Q = A.terminal;
126
126
  break;
127
127
  case !!A.restaurant:
128
128
  B = "Restaurant", Q = A.restaurant;
@@ -1,4 +1,4 @@
1
- import { e as y } from "./index-DlCgS8kr.js";
1
+ import { e as y } from "./index-BStG1ssC.js";
2
2
  import { useCoreStore as p } from "@feedmepos/mf-common";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) => ({
@@ -32,7 +32,7 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
32
32
  {
33
33
  type: "resource",
34
34
  queryKey: "cluster",
35
- queryValue: "production"
35
+ queryValue: "dev"
36
36
  },
37
37
  {
38
38
  type: "resource",
@@ -43,8 +43,8 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
43
43
  a.push(...t);
44
44
  let s = "now", n = "now-1d";
45
45
  if (e) {
46
- const u = +m(e).toDate();
47
- n = `${u}`, s = `${u + 24 * 60 * 60 * 1e3}`;
46
+ const u = +m(e).add(-3, "hours").toDate();
47
+ n = `${u}`, s = `${u + 3 * 60 * 60 * 1e3}`;
48
48
  }
49
49
  const c = d(a, n, s);
50
50
  return i + `&panes=${encodeURIComponent(JSON.stringify(c))}&orgId=1`;
@@ -1,4 +1,4 @@
1
- import { d as u, b as s, g as t, f as e } from "./index-DlCgS8kr.js";
1
+ import { d as u, b as s, g as t, f as e } from "./index-BStG1ssC.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return u(