@feedmepos/mf-payment 0.0.0-beta.35 → 0.0.0-beta.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ import { defineComponent as b, resolveComponent as m, openBlock as g, createBloc
2
2
  import { u as S } from "./index-BgnU5ezY.js";
3
3
  import { _ as O } from "./index-Cnxt2xmc.js";
4
4
  import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
5
- import { P as V } from "./payout-account-C5rDbsPa.js";
5
+ import { P as V } from "./payout-account-B8jXnkVN.js";
6
6
  import { p as D } from "./index-ApzEWD1P.js";
7
7
  import "@feedmepos/ui-library";
8
8
  import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-B8eGz19R.js";
@@ -3,7 +3,7 @@ import { p as z } from "./index-ApzEWD1P.js";
3
3
  import { _ as I, u as S, c as h } from "./index-Cnxt2xmc.js";
4
4
  import { defineStore as _ } from "pinia";
5
5
  import { useCoreStore as $ } from "@feedmepos/mf-common";
6
- import { c as AA, P as j } from "./payout-account-C5rDbsPa.js";
6
+ import { c as AA, P as j } from "./payout-account-B8jXnkVN.js";
7
7
  import { useDialogChild as sA, useDialog as eA } from "@feedmepos/ui-library";
8
8
  import { z as f, a as q } from "./validator-D5jtpt9A.js";
9
9
  import { P as K } from "./PDFViewer-CjH_C1uT.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, openBlock as y, createElementBlock as w, unref as i, createCommentVNode as V, createElementVNode as h, resolveComponent as g, createBlock as S, normalizeClass as K, withCtx as N, toDisplayString as C, createVNode as p, Fragment as $, renderList as L, ref as P, watch as R, isRef as x, h as A } from "vue";
1
+ import { defineComponent as I, openBlock as y, createElementBlock as w, unref as i, createCommentVNode as V, createElementVNode as h, resolveComponent as g, createBlock as v, normalizeClass as K, withCtx as N, toDisplayString as C, createVNode as p, Fragment as $, renderList as L, ref as P, watch as R, isRef as x, h as A } from "vue";
2
2
  import { e as f } from "./index-Cnxt2xmc.js";
3
3
  import { h as F } from "./moment-h96o7c8I.js";
4
4
  import { u as B } from "./index-BgnU5ezY.js";
@@ -12,7 +12,7 @@ import { _ as H } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvY
12
12
  import { _ as J } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
13
13
  import { useRouter as X } from "vue-router";
14
14
  import { w as Z } from "./Modal-DB8M9o1T.js";
15
- import { u as v } from "./error-K1CakhA9.js";
15
+ import { u as S } from "./error-K1CakhA9.js";
16
16
  const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I({
17
17
  __name: "Gateway",
18
18
  props: {
@@ -45,7 +45,7 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
45
45
  }
46
46
  return (r, l) => {
47
47
  const s = g("FmBadge");
48
- return y(), S(s, {
48
+ return y(), v(s, {
49
49
  inline: "",
50
50
  class: K(m())
51
51
  }, {
@@ -174,7 +174,7 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
174
174
  a.open({
175
175
  type: "error",
176
176
  title: "Fail to query transaction.",
177
- message: v(n)
177
+ message: S(n)
178
178
  });
179
179
  }
180
180
  }
@@ -217,7 +217,7 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
217
217
  a.open({
218
218
  type: "error",
219
219
  title: "Fail to query transaction.",
220
- message: v(n)
220
+ message: S(n)
221
221
  });
222
222
  }
223
223
  }
@@ -329,22 +329,25 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
329
329
  {
330
330
  header: () => "Actions",
331
331
  accessorKey: "actions",
332
- cell: ({ row: e }) => A(se, {
333
- onAction: (t) => {
334
- const o = e.index;
335
- switch (t) {
336
- case "query":
337
- return E(o);
338
- case "refund":
339
- return k(o);
340
- }
341
- }
342
- })
332
+ cell: ({ row: e }) => {
333
+ if (e.original.gateway === "ScanPay")
334
+ return A(se, {
335
+ onAction: (t) => {
336
+ const o = e.index;
337
+ switch (t) {
338
+ case "query":
339
+ return E(o);
340
+ case "refund":
341
+ return k(o);
342
+ }
343
+ }
344
+ });
345
+ }
343
346
  }
344
347
  ];
345
348
  return (e, t) => {
346
349
  const o = g("FmSearch"), d = g("FmSelect"), _ = g("FmDateRangePicker");
347
- return y(), S(U, {
350
+ return y(), v(U, {
348
351
  title: "Offline Transactions",
349
352
  loading: !1
350
353
  }, {
package/dist/app.js CHANGED
@@ -9,7 +9,7 @@ const f = [
9
9
  meta: {
10
10
  sidebarDisplay: "Payout Accounts"
11
11
  },
12
- component: () => import("./PayoutAccount-C-FZD8lM.js")
12
+ component: () => import("./PayoutAccount-DlS2OPwj.js")
13
13
  },
14
14
  {
15
15
  path: "/admin/payout-accounts/:accountId",
@@ -37,7 +37,7 @@ const f = [
37
37
  meta: {
38
38
  sidebarDisplay: "Offline Transactions"
39
39
  },
40
- component: () => import("./TerminalTransaction-CEQ3hedf.js")
40
+ component: () => import("./TerminalTransaction-BC-QZh_F.js")
41
41
  },
42
42
  {
43
43
  path: "/admin/transaction",
@@ -69,7 +69,7 @@ const f = [
69
69
  {
70
70
  path: "/payout-account",
71
71
  name: "mf-payment-payout-account",
72
- component: () => import("./PayoutAccount-mpVH-GBq.js"),
72
+ component: () => import("./PayoutAccount-IhMg0cdL.js"),
73
73
  meta: {
74
74
  sidebarDisplay: "Payout Accounts"
75
75
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "0.0.0-beta.35",
3
+ "version": "0.0.0-beta.36",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"