@feedmepos/mf-payment 1.1.9-beta.1 → 1.1.10

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 (32) hide show
  1. package/dist/{PayoutAccount-B4YLzVpp.js → PayoutAccount-DS8uWdg6.js} +152 -152
  2. package/dist/{PayoutAccount-DvrLfgt-.js → PayoutAccount-DYaDyUv-.js} +5 -5
  3. package/dist/{PayoutAccountSetting-Co7DmROR.js → PayoutAccountSetting-CaWSuWfP.js} +3 -3
  4. package/dist/{Restaurant-DuhPwxX3.js → Restaurant-DQVYjNCS.js} +4 -4
  5. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js} +6 -6
  6. package/dist/{RestaurantSetting-BK9u7SCs.js → RestaurantSetting-CIIbhon-.js} +3 -3
  7. package/dist/{Settlement-Ce_tmrSE.js → Settlement-B1Wxz1Ud.js} +3 -3
  8. package/dist/{Settlement-Sl3sl0jF.js → Settlement-BYpA6n3I.js} +92 -92
  9. package/dist/{SettlementTransactions-CuHc2CZz.js → SettlementTransactions-Cn894u3m.js} +82 -82
  10. package/dist/{SettlementTransactions-D7UHmaaD.js → SettlementTransactions-SPDIlLfj.js} +3 -3
  11. package/dist/{Terminal-DC7kec1h.js → Terminal-DwRmKAkV.js} +6 -6
  12. package/dist/{TerminalSetting-uqU8wLtE.js → TerminalSetting-BXjGS7gr.js} +3 -3
  13. package/dist/{Transaction-DSOyeHAf.js → Transaction-CZXLiiK_.js} +36 -36
  14. package/dist/{Transaction-vVo3tggm.js → Transaction-DfCzQWjl.js} +5 -5
  15. package/dist/{TransactionOld-sUH_2SAc.js → TransactionOld-V05PFuAs.js} +14 -14
  16. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DFdz9uZ0.js → TransactionTable.vue_vue_type_script_setup_true_lang-pP3veVBQ.js} +16 -16
  17. package/dist/{app-tq6GxnyI.js → app-Cwh0hT_9.js} +838 -834
  18. package/dist/app.d.ts +242 -238
  19. package/dist/app.js +1 -1
  20. package/dist/{assets-OObLkGWe.js → assets-A_2acaHr.js} +1 -1
  21. package/dist/{grafana-RP6GDt42.js → grafana-S2Pyvvsb.js} +2 -2
  22. package/dist/{index-CD_22Kly.js → index-B45raqGN.js} +2 -2
  23. package/dist/{index-BO_i54up.js → index-BO9tnr5e.js} +1 -1
  24. package/dist/{index-D1Vz4RR4.js → index-DRMgFTyD.js} +1 -1
  25. package/dist/{index-AW-HP_R7.js → index-DlkaQaXu.js} +1 -1
  26. package/dist/{index-4WCrMAZE.js → index-Dwo99xiS.js} +1 -1
  27. package/dist/{index-CqHV-UqZ.js → index-nh9QzbMv.js} +1 -1
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-yFA5HHj5.js → index.vue_vue_type_script_setup_true_lang-_ttdMw6x.js} +1 -1
  29. package/dist/package.json +1 -1
  30. package/dist/{payout-account-DFumNL6B.js → payout-account-CqkVIkNF.js} +2 -2
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { defineComponent as T, ref as h, onMounted as Y, watch as f, resolveComponent as V, openBlock as C, createBlock as M, unref as t, withCtx as O, createElementVNode as u, createVNode as i, isRef as y } from "vue";
2
- import { t as g, b as S } from "./assets-OObLkGWe.js";
3
- import { u as $ } from "./index-CD_22Kly.js";
4
- import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-DFdz9uZ0.js";
1
+ import { defineComponent as T, ref as y, onMounted as Y, watch as f, resolveComponent as V, openBlock as C, createBlock as M, unref as t, withCtx as O, createElementVNode as u, createVNode as i, isRef as h } from "vue";
2
+ import { t as g, b as S } from "./assets-A_2acaHr.js";
3
+ import { u as $ } from "./index-B45raqGN.js";
4
+ import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-pP3veVBQ.js";
5
5
  import { h as x } from "./moment-h96o7c8I.js";
6
6
  import { useCoreStore as k, useI18n as E } from "@feedmepos/mf-common";
7
7
  import { _ as L } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
- import { u as P } from "./index-4WCrMAZE.js";
8
+ import { u as P } from "./index-Dwo99xiS.js";
9
9
  import { _ as A } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
10
- import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js";
10
+ import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
11
11
  import { _ as F } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
12
12
  const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "flex space-x-8" }, K = { class: "flex space-x-4 self-center" }, U = { class: "mb-6" }, nt = /* @__PURE__ */ T({
13
13
  __name: "TransactionOld",
@@ -18,7 +18,7 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
18
18
  startDate: x().startOf("day").format("YYYY-MM-DD"),
19
19
  endDate: x().endOf("day").format("YYYY-MM-DD")
20
20
  }
21
- }), { isLoading: p, startAsyncCall: b } = $(!0), { currentRestaurant: w } = k(), { t: o } = E(), s = h([]), c = h([]);
21
+ }), { isLoading: p, startAsyncCall: b } = $(!0), { currentRestaurant: w } = k(), { t: o } = E(), s = y([]), c = y([]);
22
22
  async function _() {
23
23
  await b(async () => {
24
24
  const { startDate: d, endDate: e } = n.value, r = await g.readRestaurantTransactions({
@@ -50,8 +50,8 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
50
50
  }), (d, e) => {
51
51
  const r = V("FmSearch");
52
52
  return C(), M(L, {
53
- title: t(o)("transactions.title"),
54
- description: t(o)("transactions.description"),
53
+ title: t(o)("payment.transactions.title"),
54
+ description: t(o)("payment.transactions.description"),
55
55
  loading: t(p)
56
56
  }, {
57
57
  default: O(() => [
@@ -60,9 +60,9 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
60
60
  i(B),
61
61
  i(r, {
62
62
  "model-value": t(a),
63
- "onUpdate:modelValue": e[0] || (e[0] = (l) => y(a) ? a.value = l : null),
64
- label: t(o)("transactions.search.title"),
65
- placeholder: t(o)("transactions.search.placeholder")
63
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => h(a) ? a.value = l : null),
64
+ label: t(o)("payment.transactions.search.title"),
65
+ placeholder: t(o)("payment.transactions.search.placeholder")
66
66
  }, null, 8, ["model-value", "label", "placeholder"])
67
67
  ]),
68
68
  u("div", K, [
@@ -70,7 +70,7 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
70
70
  button: {
71
71
  appendIcon: "file_download",
72
72
  variant: "primary",
73
- label: t(o)("transactions.button.export")
73
+ label: t(o)("payment.transactions.button.export")
74
74
  },
75
75
  handler: async () => {
76
76
  await t(g).downloadPortalTransactionReport(t(n), s.value, !0);
@@ -81,7 +81,7 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
81
81
  u("div", U, [
82
82
  i(F, {
83
83
  modelValue: t(n),
84
- "onUpdate:modelValue": e[1] || (e[1] = (l) => y(n) ? n.value = l : null)
84
+ "onUpdate:modelValue": e[1] || (e[1] = (l) => h(n) ? n.value = l : null)
85
85
  }, null, 8, ["modelValue"])
86
86
  ]),
87
87
  i(N, {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as m, resolveComponent as d, openBlock as l, createBlock as f, normalizeClass as v, withCtx as y, createElementVNode as x, toDisplayString as P, createElementBlock as w, unref as E, createVNode as q, Fragment as R, renderList as V, ref as D, h as p } from "vue";
2
2
  import { useSnackbar as U, useDialog as B } from "@feedmepos/ui-library";
3
- import { g as $, a as L, t as b, c as N } from "./assets-OObLkGWe.js";
4
- import { e as h } from "./index-CD_22Kly.js";
5
- import { g as G } from "./grafana-RP6GDt42.js";
3
+ import { g as $, a as L, t as b, c as N } from "./assets-A_2acaHr.js";
4
+ import { e as h } from "./index-B45raqGN.js";
5
+ import { g as G } from "./grafana-S2Pyvvsb.js";
6
6
  import { w as k } from "./Modal-DB8M9o1T.js";
7
7
  import { u as T } from "./error-K1CakhA9.js";
8
8
  import { useCoreStore as O, useI18n as Y } from "@feedmepos/mf-common";
@@ -216,23 +216,23 @@ const j = /* @__PURE__ */ m({
216
216
  }
217
217
  const A = D(""), F = [
218
218
  {
219
- header: () => a("transactions.table.id"),
219
+ header: () => a("payment.transactions.table.id"),
220
220
  accessorKey: "id"
221
221
  },
222
222
  {
223
- header: () => a("transactions.table.pay_id"),
223
+ header: () => a("payment.transactions.table.pay_id"),
224
224
  accessorKey: "payId"
225
225
  },
226
226
  {
227
- header: () => a("transactions.table.gateway_id"),
227
+ header: () => a("payment.transactions.table.gateway_id"),
228
228
  accessorKey: "gatewayTransactionId"
229
229
  },
230
230
  {
231
- header: () => a("transactions.table.bill_seq"),
231
+ header: () => a("payment.transactions.table.bill_seq"),
232
232
  accessorKey: "seqNumber"
233
233
  },
234
234
  {
235
- header: () => a("transactions.table.gateway"),
235
+ header: () => a("payment.transactions.table.gateway"),
236
236
  accessorKey: "gateway",
237
237
  meta: {
238
238
  textAlign: "center"
@@ -240,7 +240,7 @@ const j = /* @__PURE__ */ m({
240
240
  cell: ({ cell: t, row: e }) => e.original.gateway ? p(Q, { row: e, data: t.getValue() }) : ""
241
241
  },
242
242
  {
243
- header: () => a("transactions.table.method"),
243
+ header: () => a("payment.transactions.table.method"),
244
244
  accessorKey: "method",
245
245
  meta: {
246
246
  textAlign: "center"
@@ -248,28 +248,28 @@ const j = /* @__PURE__ */ m({
248
248
  cell: ({ cell: t, row: e }) => e.original.method ? p(J, { row: e, data: t.getValue() }) : ""
249
249
  },
250
250
  {
251
- header: () => a("transactions.table.type"),
251
+ header: () => a("payment.transactions.table.type"),
252
252
  accessorKey: "payFor",
253
253
  meta: {
254
254
  textAlign: "center"
255
255
  }
256
256
  },
257
257
  {
258
- header: () => a("transactions.table.status"),
258
+ header: () => a("payment.transactions.table.status"),
259
259
  accessorKey: "status",
260
260
  cell: ({ cell: t, row: e }) => p(j, { row: e, data: t.getValue() })
261
261
  },
262
262
  {
263
- header: () => a("transactions.table.restaurant"),
263
+ header: () => a("payment.transactions.table.restaurant"),
264
264
  accessorKey: "restaurantId"
265
265
  },
266
266
  {
267
- header: () => a("transactions.table.source"),
267
+ header: () => a("payment.transactions.table.source"),
268
268
  accessorKey: "source",
269
269
  cell: ({ cell: t, row: e }) => `(${e.original.sourceType}) ${e.original.source}`
270
270
  },
271
271
  {
272
- header: () => a("transactions.table.transaction_at"),
272
+ header: () => a("payment.transactions.table.transaction_at"),
273
273
  accessorKey: "transactionAt",
274
274
  meta: {
275
275
  width: "180px"
@@ -277,12 +277,12 @@ const j = /* @__PURE__ */ m({
277
277
  cell: ({ cell: t, row: e }) => e.original.status === "REFUNDED" ? e.original.refundedAt : e.original.transactionAt
278
278
  },
279
279
  {
280
- header: () => a("transactions.table.sales_amount"),
280
+ header: () => a("payment.transactions.table.sales_amount"),
281
281
  accessorKey: "amount"
282
282
  }
283
283
  ];
284
284
  return (I = g.value) != null && I.isInternal && F.push({
285
- header: () => a("transactions.table.actions"),
285
+ header: () => a("payment.transactions.table.actions"),
286
286
  accessorKey: "actions",
287
287
  cell: ({ row: t }) => p(W, {
288
288
  transaction: t.original,