@feedmepos/mf-payment 1.6.13-dev → 1.6.17-dev

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 (51) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-CRy-UQpe.js → Actions.vue_vue_type_script_setup_true_lang-DGfY2t-6.js} +1 -1
  2. package/dist/AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-B3adh27R.js +890 -0
  3. package/dist/Chargeback-DAn-_ig0.js +397 -0
  4. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-CiqJxutL.js → DocumentViewer.vue_vue_type_script_setup_true_lang-BoYlG5gG.js} +1 -1
  5. package/dist/{OnboardForm-mETWu1dk.js → OnboardForm-CFmOBuJe.js} +5 -5
  6. package/dist/{OnboardForm-DQBU7D0V.js → OnboardForm-DHFAsJSI.js} +5 -5
  7. package/dist/{OnboardSubmission-DhR5UmjI.js → OnboardSubmission-BE9KwYCY.js} +2 -2
  8. package/dist/{OnboardSubmission-CdAKhGo2.js → OnboardSubmission-DeB2CBUB.js} +5 -5
  9. package/dist/{PayoutAccount-DTUZj1yi.js → PayoutAccount-C73lFaEx.js} +5 -5
  10. package/dist/{PayoutAccount-z4BGvlhv.js → PayoutAccount-DW9suPrv.js} +5 -5
  11. package/dist/{PayoutAccountSetting-DHaTKlRM.js → PayoutAccountSetting-LzIsoU_R.js} +6 -6
  12. package/dist/{Restaurant-Bzz0qnnj.js → Restaurant-CgxMZItP.js} +4 -4
  13. package/dist/{RestaurantSetting-BvAl6Vo-.js → RestaurantSetting-COFAdaYk.js} +3 -3
  14. package/dist/{Settlement-DBhzPPJS.js → Settlement-CMUVS2mb.js} +3 -3
  15. package/dist/{Settlement-CPB3Cojm.js → Settlement-CxSYpLHH.js} +4 -4
  16. package/dist/{SettlementTransactions-BwSrt1vA.js → SettlementTransactions-BosItim0.js} +4 -4
  17. package/dist/{SettlementTransactions-BsOGpbtn.js → SettlementTransactions-CP6daT2e.js} +4 -4
  18. package/dist/{Status.vue_vue_type_script_setup_true_lang-BSX8ZhuG.js → Status.vue_vue_type_script_setup_true_lang-RGNNAi9t.js} +1 -1
  19. package/dist/{Terminal-CzM77vSF.js → Terminal-B1tijb4c.js} +5 -5
  20. package/dist/{TerminalSetting-DtmOsDl0.js → TerminalSetting-cYSxA1sB.js} +4 -4
  21. package/dist/Transaction-A2Lryxwf.js +968 -0
  22. package/dist/{Transaction-DBh0KtR-.js → Transaction-CKAmdeTv.js} +10 -10
  23. package/dist/{TransactionOld-CAORQJw2.js → TransactionOld-BxWF6sRD.js} +7 -7
  24. package/dist/api/business/index.d.ts +10 -0
  25. package/dist/api/restaurant/index.d.ts +7 -0
  26. package/dist/api/transaction/index.d.ts +8 -4
  27. package/dist/{app-D4_0cKed.js → app-CKG0xR67.js} +29 -26
  28. package/dist/app.js +1 -1
  29. package/dist/{assets-BEqu4LTS.js → assets-Cfrp36Vb.js} +1 -1
  30. package/dist/components/AdminBusinessSelector.vue.d.ts +17 -0
  31. package/dist/components/AdminRestaurantSelector.vue.d.ts +18 -0
  32. package/dist/components/AdvancedFilter/AdvancedFilterPanel.vue.d.ts +21 -0
  33. package/dist/{grafana-BC92XSGj.js → grafana-EYkmncP1.js} +1 -1
  34. package/dist/{index-Vzwov74c.js → index-Bs7nMxiZ.js} +1 -1
  35. package/dist/{index-BBSrL5Hb.js → index-CTihFO70.js} +2 -2
  36. package/dist/{index-2pJ6aK3N.js → index-CZqojfvs.js} +1 -1
  37. package/dist/{index-9bLqrnE-.js → index-Cl0a8cQE.js} +1 -1
  38. package/dist/{index-lJgQkdhr.js → index-Cp6ofn99.js} +1 -1
  39. package/dist/{index-C-K9TPBG.js → index-D20CJ8Ub.js} +1 -1
  40. package/dist/{index-B4BQXToQ.js → index-D7feQo05.js} +50 -38
  41. package/dist/{index-DqZVPkHG.js → index-DNnQRgnm.js} +1 -1
  42. package/dist/index-Tu0z1D-j.js +27 -0
  43. package/dist/{index.vue_vue_type_script_setup_true_lang-Dh_I8dOY.js → index.vue_vue_type_script_setup_true_lang-CKL7_NG8.js} +68 -61
  44. package/dist/package.json +2 -1
  45. package/dist/{payout-account-D5UsGVu2.js → payout-account-C5nOcTf2.js} +3 -3
  46. package/dist/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/views/admin/transaction/composable/advancedFilter.d.ts +18 -0
  48. package/package.json +2 -1
  49. package/dist/Chargeback-Cg9Xe6iD.js +0 -413
  50. package/dist/Transaction-B1Hw-Qs-.js +0 -636
  51. package/dist/index-DyFv4ofl.js +0 -19
@@ -1,20 +1,24 @@
1
- import { g as n, b as e, a as o, d as m, l, c as i, r as f } from "./index-C-K9TPBG.js";
1
+ import { g as r, b as n, a as s, d as m, l, c as i, r as I } from "./index-D20CJ8Ub.js";
2
2
  import { h as a } from "./moment-h96o7c8I.js";
3
3
  const w = {
4
4
  async readBySettlementId(t) {
5
- return n(
6
- await e().get(
5
+ return r(
6
+ await n().get(
7
7
  `/transactions/settlements/${t}`
8
8
  )
9
9
  );
10
10
  },
11
11
  async readTransactions(t) {
12
- return n(
13
- await e().get("/transactions", {
12
+ return s(
13
+ await n().get("/transactions", {
14
14
  params: {
15
- search: t.search,
16
- skip: t.skip,
15
+ status: t.status,
16
+ businessId: t.businessId,
17
+ restaurantId: t.restaurantId,
18
+ amount: t.amount,
17
19
  limit: t.limit,
20
+ cursor: t.cursor,
21
+ search: t.search,
18
22
  start: a(t.start).startOf("day").toISOString(),
19
23
  end: a(t.end).endOf("day").toISOString()
20
24
  }
@@ -22,46 +26,46 @@ const w = {
22
26
  );
23
27
  },
24
28
  async removeTransactionFromSettlement(t) {
25
- return n(
26
- await e().delete(`/settlements/${t}`)
29
+ return r(
30
+ await n().delete(`/settlements/${t}`)
27
31
  );
28
32
  },
29
33
  async refetchTransaction({
30
34
  transactionId: t
31
35
  }) {
32
- return n(
33
- await e().get(`/transactions/query/${t}`)
36
+ return r(
37
+ await n().get(`/transactions/query/${t}`)
34
38
  );
35
39
  },
36
40
  async refundTransaction(t) {
37
- return n(
38
- await e().post("/transactions/refund", t)
41
+ return r(
42
+ await n().post("/transactions/refund", t)
39
43
  );
40
44
  },
41
45
  async renotifyTransaction(t) {
42
- return n(
43
- await e().post("/payments/re-notify", { transactionId: t })
46
+ return r(
47
+ await n().post("/payments/re-notify", { transactionId: t })
44
48
  );
45
49
  },
46
50
  async bindPayId(t) {
47
- return n(
48
- await e().patch(
51
+ return r(
52
+ await n().patch(
49
53
  `/transactions/${t.transactionId}/payId`,
50
54
  { payId: t.payId }
51
55
  )
52
56
  );
53
57
  },
54
58
  async setGatewayId(t) {
55
- return n(
56
- await e().patch(
59
+ return r(
60
+ await n().patch(
57
61
  `/transactions/${t.transactionId}/gatewayTransactionId`,
58
62
  { gatewayTransactionId: t.gatewayTransactionId }
59
63
  )
60
64
  );
61
65
  },
62
66
  async readRestaurantTransactions(t) {
63
- return n(
64
- await f().get("/transactions", {
67
+ return r(
68
+ await I().get("/transactions", {
65
69
  params: {
66
70
  v2: !0,
67
71
  start: a(t.start).startOf("day").toISOString(),
@@ -71,7 +75,7 @@ const w = {
71
75
  );
72
76
  },
73
77
  async readTransactionsV2(t) {
74
- return o(
78
+ return s(
75
79
  await i().get("/transactions", {
76
80
  params: {
77
81
  status: t.status,
@@ -87,15 +91,23 @@ const w = {
87
91
  );
88
92
  },
89
93
  async readBusinessTransactionsBySettlementId(t) {
90
- return n(
94
+ return r(
91
95
  await i().get(
92
96
  `/settlements/transactions/${t}`
93
97
  )
94
98
  );
95
99
  },
96
100
  async downloadPortalTransactionReport(t, c, d = !1) {
97
- const u = a(t.startDate), y = a(t.endDate).endOf("day"), s = ["method", "fdoAmount", "amount", "fee", "payout", "flags", "businessId"];
98
- return d && s.push(
101
+ const u = a(t.startDate), y = a(t.endDate).endOf("day"), o = [
102
+ "method",
103
+ "fdoAmount",
104
+ "amount",
105
+ "fee",
106
+ "payout",
107
+ "flags",
108
+ "businessId"
109
+ ];
110
+ return d && o.push(
99
111
  "gatewayTransactionId",
100
112
  "gatewayRefundId",
101
113
  "restaurantId",
@@ -103,7 +115,7 @@ const w = {
103
115
  "settlementAt"
104
116
  ), l(c, {
105
117
  filename: `transaction-report-${u.format("YYYY_MM_DD_HH:mm")}-${y.format("YYYY_MM_DD_HH:mm")}.xlsx`,
106
- exclude: s,
118
+ exclude: o,
107
119
  include: ["method.issuer", "fdoAmount.amount", "fdoAmount.currency"],
108
120
  rename: {
109
121
  "method.issuer": "method",
@@ -113,17 +125,17 @@ const w = {
113
125
  seqNumberBinded: "Bill Binded"
114
126
  },
115
127
  transformers: {
116
- gateway: (r) => r === "RAZER_MERCHANT_SERVICE" ? "FIUU" : r,
117
- "fdoAmount.amount": (r) => parseFloat((r / 100).toFixed(2)),
118
- transactionAt: (r) => a(r).format("YYYY-MM-DD HH:mm:ss"),
119
- refundedAt: (r) => r ? a(r).format("YYYY-MM-DD HH:mm:ss") : "-",
120
- seqNumberBinded: (r) => r ? "Yes" : "No"
128
+ gateway: (e) => e === "RAZER_MERCHANT_SERVICE" ? "FIUU" : e,
129
+ "fdoAmount.amount": (e) => parseFloat((e / 100).toFixed(2)),
130
+ transactionAt: (e) => a(e).format("YYYY-MM-DD HH:mm:ss"),
131
+ refundedAt: (e) => e ? a(e).format("YYYY-MM-DD HH:mm:ss") : "-",
132
+ seqNumberBinded: (e) => e ? "Yes" : "No"
121
133
  }
122
134
  });
123
135
  },
124
136
  async downloadTransactionReport(t) {
125
137
  return m(
126
- await e().get("/transactions/report", {
138
+ await n().get("/transactions/report", {
127
139
  params: {
128
140
  start: a(t.start).startOf("day").toISOString(),
129
141
  end: a(t.end).endOf("day").toISOString()
@@ -133,8 +145,8 @@ const w = {
133
145
  );
134
146
  },
135
147
  async readChargebackTransactions(t) {
136
- return o(
137
- await e().get("/transactions/chargeback", {
148
+ return s(
149
+ await n().get("/transactions/chargeback", {
138
150
  params: {
139
151
  search: t.search,
140
152
  cursor: t.cursor,
@@ -146,13 +158,13 @@ const w = {
146
158
  );
147
159
  },
148
160
  async createChargebackTransaction(t) {
149
- return n(
150
- await e().post("/transactions/chargeback", t)
161
+ return r(
162
+ await n().post("/transactions/chargeback", t)
151
163
  );
152
164
  },
153
165
  async updateChargebackTransaction(t) {
154
- return n(
155
- await e().patch(
166
+ return r(
167
+ await n().patch(
156
168
  `/transactions/chargeback/${t.chargebackId}`,
157
169
  { canSettleAt: t.canSettleAt }
158
170
  )
@@ -1,4 +1,4 @@
1
- import { b as r, c as p } from "./index-C-K9TPBG.js";
1
+ import { b as r, c as p } from "./index-D20CJ8Ub.js";
2
2
  const i = {
3
3
  async upload(e, s, t) {
4
4
  const o = (await p().post("/document/presign", {
@@ -0,0 +1,27 @@
1
+ import { a as s, b as e, g as r } from "./index-D20CJ8Ub.js";
2
+ const i = {
3
+ async readRestaurantById(a) {
4
+ const t = await e().get(`/payments/restaurants/${a}`);
5
+ return r(t);
6
+ },
7
+ async readRestaurantWithPagination(a) {
8
+ const t = await e().get("/my/restaurants-pagination", {
9
+ params: a
10
+ });
11
+ return {
12
+ meta: t.data.meta,
13
+ resources: t.data.resources
14
+ };
15
+ },
16
+ // Routed to payment service.
17
+ async readPaymentRestaurantsWithPagination(a) {
18
+ return s(
19
+ await e().get("/payments/restaurants", {
20
+ params: { ...a, limit: a.limit ?? 20 }
21
+ })
22
+ );
23
+ }
24
+ };
25
+ export {
26
+ i as r
27
+ };
@@ -1,59 +1,59 @@
1
- import { defineComponent as U, ref as r, resolveComponent as f, openBlock as g, createBlock as S, withCtx as z, createElementVNode as s, normalizeStyle as j, createElementBlock as B, Fragment as N, renderList as E, createVNode as c, computed as _, watch as I, onMounted as O, unref as C, toDisplayString as D, createCommentVNode as R, nextTick as G, normalizeClass as H } from "vue";
2
- import { u as J } from "./index-C-K9TPBG.js";
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-D20CJ8Ub.js";
3
3
  import "@feedmepos/ui-library";
4
- const K = ["id"], L = /* @__PURE__ */ U({
4
+ const Q = ["id"], U = /* @__PURE__ */ q({
5
5
  __name: "FmTableSelection",
6
6
  props: {
7
7
  value: {},
8
8
  items: {}
9
9
  },
10
10
  emits: ["update:modelValue"],
11
- setup(i, { emit: k }) {
12
- const F = k, x = i, d = r(!1);
13
- return (M, v) => {
14
- const h = f("FmButton"), V = f("FmMenuItem"), y = f("FmMenu");
15
- return g(), S(y, {
11
+ setup(d, { emit: k }) {
12
+ const F = k, y = d, m = r(!1);
13
+ return (P, v) => {
14
+ const V = f("FmButton"), h = f("FmMenuItem"), x = f("FmMenu");
15
+ return g(), z(x, {
16
16
  "max-height": 264,
17
17
  shift: "",
18
- onMenuChanged: v[0] || (v[0] = (a) => d.value = a)
18
+ onMenuChanged: v[0] || (v[0] = (a) => m.value = a)
19
19
  }, {
20
- "menu-button": z(() => {
20
+ "menu-button": I(() => {
21
21
  var a;
22
22
  return [
23
- c(h, {
24
- icon: d.value ? "expand_less" : "expand_more",
25
- label: (a = i.items.find((o) => o.value === x.value)) == null ? void 0 : a.label,
23
+ c(V, {
24
+ icon: m.value ? "expand_less" : "expand_more",
25
+ label: (a = d.items.find((o) => o.value === y.value)) == null ? void 0 : a.label,
26
26
  "icon-position": "append",
27
27
  size: "md",
28
28
  variant: "tertiary"
29
29
  }, null, 8, ["icon", "label"])
30
30
  ];
31
31
  }),
32
- "menu-wrapper": z(({ maxHeight: a }) => [
33
- s("div", {
32
+ "menu-wrapper": I(({ maxHeight: a }) => [
33
+ i("div", {
34
34
  id: `menu-wrapper-${a}`,
35
- style: j({ maxHeight: `${a}px` }),
35
+ style: E({ maxHeight: `${a}px` }),
36
36
  class: "bg-fm-color-neutral-white flex flex-col overflow-y-auto px-4 py-12 rounded-md shadow-light-300 w-[75px]"
37
37
  }, [
38
- (g(!0), B(N, null, E(i.items, (o) => (g(), S(V, {
38
+ (g(!0), M(N, null, O(d.items, (o) => (g(), z(h, {
39
39
  key: o.value,
40
40
  label: o.label,
41
41
  value: o.value,
42
- "model-value": o.value === x.value,
42
+ "model-value": o.value === y.value,
43
43
  "onUpdate:modelValue": (l) => F("update:modelValue", o.value)
44
44
  }, null, 8, ["label", "value", "model-value", "onUpdate:modelValue"]))), 128))
45
- ], 12, K)
45
+ ], 12, Q)
46
46
  ]),
47
47
  _: 1
48
48
  });
49
49
  };
50
50
  }
51
- }), Q = {
51
+ }), W = {
52
52
  key: 0,
53
53
  class: "basis-72 bg-white flex items-center justify-between px-24 pt-6"
54
- }, W = { class: "flex gap-24 items-center justify-between xs:hidden xs:invisible" }, X = { class: "flex gap-8 items-center" }, Y = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary xs:hidden xs:invisible" }, Z = {
55
- class: /* @__PURE__ */ H(["flex gap-8 items-center"])
56
- }, ee = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary xs:mr-auto" }, te = { class: "flex gap-8" }, oe = /* @__PURE__ */ U({
54
+ }, X = { class: "flex gap-24 items-center justify-between xs:hidden xs:invisible" }, Y = { class: "flex gap-8 items-center" }, Z = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary xs:hidden xs:invisible" }, ee = {
55
+ class: /* @__PURE__ */ J(["flex gap-8 items-center"])
56
+ }, te = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary xs:mr-auto" }, ae = { class: "flex gap-8" }, ue = /* @__PURE__ */ q({
57
57
  __name: "index",
58
58
  props: {
59
59
  columnDefs: {
@@ -70,30 +70,37 @@ const K = ["id"], L = /* @__PURE__ */ U({
70
70
  }
71
71
  },
72
72
  emits: ["row-click"],
73
- setup(i, { expose: k, emit: F }) {
74
- const x = [10, 20, 30, 50, 100].map((t) => ({
73
+ setup(d, { expose: k, emit: F }) {
74
+ const y = [10, 20, 30, 50, 100].map((t) => ({
75
75
  label: t.toString(),
76
76
  value: t
77
- })), d = i, M = F, { isLoading: v, startLoading: h, stopLoading: V } = J(!0), y = r(), a = r(), o = r(""), l = r(10), n = r(1), p = r(0), b = async function(t = !1) {
78
- h(), t && (a.value = [], o.value = "", n.value = 1, await G(), p.value = 0);
79
- const e = await d.paginate(l.value, o.value);
80
- a.value = [...a.value ?? [], ...e.data], o.value = e.meta.cursor ?? "", p.value += 1, V();
81
- }, T = _(() => n.value > 1), $ = _(() => n.value < p.value ? !0 : o.value > ""), q = _(() => {
77
+ })), m = d, P = F, { isLoading: v, startLoading: V, stopLoading: h } = K(!0), x = r(), a = r(), o = r(""), l = r(10), n = r(1), p = r(0), C = r(0), b = async function(t = !1) {
78
+ const e = ++C.value;
79
+ V(), t && (a.value = [], o.value = "", n.value = 1, await H(), p.value = 0);
80
+ try {
81
+ const s = await m.paginate(l.value, o.value);
82
+ if (e !== C.value)
83
+ return;
84
+ a.value = [...a.value ?? [], ...s.data], o.value = s.meta.cursor ?? "", p.value += 1;
85
+ } finally {
86
+ e === C.value && h();
87
+ }
88
+ }, T = _(() => n.value > 1), $ = _(() => n.value < p.value ? !0 : o.value > ""), A = _(() => {
82
89
  const t = l.value * (n.value - 1), e = t + l.value;
83
- return (a.value ?? []).slice(t, e).map(d.rowsDefs);
90
+ return (a.value ?? []).slice(t, e).map(m.rowsDefs);
84
91
  });
85
- I(l, () => b(!0)), I(n, (t) => {
92
+ L(l, () => b(!0)), L(n, (t) => {
86
93
  t > p.value && b();
87
- }), O(() => b());
88
- const A = _(() => l.value * (n.value - 1));
94
+ }), R(() => b());
95
+ const j = _(() => l.value * (n.value - 1));
89
96
  return k({
90
97
  reset: () => b(!0),
91
98
  data: () => a.value ?? [],
92
99
  allData: async () => {
93
100
  let t = [], e = "";
94
101
  do {
95
- const m = await d.paginate(100, e);
96
- t = [...t, ...m.data], e = m.meta.cursor ?? "";
102
+ const s = await m.paginate(100, e);
103
+ t = [...t, ...s.data], e = s.meta.cursor ?? "";
97
104
  } while (e > "");
98
105
  return t;
99
106
  },
@@ -102,40 +109,40 @@ const K = ["id"], L = /* @__PURE__ */ U({
102
109
  return (a.value ?? []).slice(t, e);
103
110
  },
104
111
  replaceData: (t, e) => {
105
- const m = l.value * (n.value - 1) + t;
106
- a.value && (a.value[m] = e);
112
+ const s = l.value * (n.value - 1) + t;
113
+ a.value && (a.value[s] = e);
107
114
  }
108
115
  }), (t, e) => {
109
- const m = f("FmTable"), P = f("FmButton");
110
- return g(), B(N, null, [
111
- c(m, {
112
- modelValue: y.value,
113
- "onUpdate:modelValue": e[0] || (e[0] = (u) => y.value = u),
114
- loading: C(v),
116
+ const s = f("FmTable"), S = f("FmButton");
117
+ return g(), M(N, null, [
118
+ c(s, {
119
+ modelValue: x.value,
120
+ "onUpdate:modelValue": e[0] || (e[0] = (u) => x.value = u),
121
+ loading: D(v),
115
122
  "page-size": l.value,
116
- "row-data": q.value,
117
- "column-defs": i.columnDefs,
123
+ "row-data": A.value,
124
+ "column-defs": d.columnDefs,
118
125
  "hide-footer": !0,
119
126
  "shrink-at": !1,
120
127
  onRowClick: e[1] || (e[1] = (u) => {
121
128
  var w;
122
- return M("row-click", (w = a.value) == null ? void 0 : w.at(A.value + u.index));
129
+ return P("row-click", (w = a.value) == null ? void 0 : w.at(j.value + u.index));
123
130
  })
124
131
  }, null, 8, ["modelValue", "loading", "page-size", "row-data", "column-defs"]),
125
- C(v) ? R("", !0) : (g(), B("div", Q, [
126
- s("div", W, [
127
- s("div", X, [
128
- e[6] || (e[6] = s("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary" }, " Items per page: ", -1)),
129
- c(L, {
130
- items: C(x),
132
+ D(v) ? G("", !0) : (g(), M("div", W, [
133
+ i("div", X, [
134
+ i("div", Y, [
135
+ e[6] || (e[6] = i("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary" }, " Items per page: ", -1)),
136
+ c(U, {
137
+ items: D(y),
131
138
  value: l.value,
132
139
  "onUpdate:modelValue": e[2] || (e[2] = (u) => l.value = u)
133
140
  }, null, 8, ["items", "value"])
134
141
  ]),
135
- s("span", Y, D((n.value - 1) * l.value) + " - " + D((n.value - 1) * l.value + l.value), 1)
142
+ i("span", Z, B((n.value - 1) * l.value) + " - " + B((n.value - 1) * l.value + l.value), 1)
136
143
  ]),
137
- s("div", Z, [
138
- c(L, {
144
+ i("div", ee, [
145
+ c(U, {
139
146
  items: Array.from(Array(p.value), (u, w) => w + 1).map(
140
147
  (u) => ({
141
148
  label: u.toString(),
@@ -145,16 +152,16 @@ const K = ["id"], L = /* @__PURE__ */ U({
145
152
  value: n.value,
146
153
  "onUpdate:modelValue": e[3] || (e[3] = (u) => n.value = u)
147
154
  }, null, 8, ["items", "value"]),
148
- s("span", ee, " Page " + D(n.value), 1),
149
- s("div", te, [
150
- c(P, {
155
+ i("span", te, " Page " + B(n.value), 1),
156
+ i("div", ae, [
157
+ c(S, {
151
158
  disabled: !T.value,
152
159
  icon: "chevron_left",
153
160
  "icon-color": "neutral-black",
154
161
  variant: "tertiary",
155
162
  onClick: e[4] || (e[4] = () => n.value -= 1)
156
163
  }, null, 8, ["disabled"]),
157
- c(P, {
164
+ c(S, {
158
165
  disabled: !$.value,
159
166
  icon: "chevron_right",
160
167
  "icon-color": "neutral-black",
@@ -169,5 +176,5 @@ const K = ["id"], L = /* @__PURE__ */ U({
169
176
  }
170
177
  });
171
178
  export {
172
- oe as _
179
+ ue as _
173
180
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.6.13-dev",
3
+ "version": "1.6.17-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -41,6 +41,7 @@
41
41
  "@feedmepos/mf-financing": "0.0.24-dev",
42
42
  "@feedmepos/payment-entity": "0.1.82",
43
43
  "@feedmepos/ui-library": "^1.7.1",
44
+ "@tanstack/vue-query": "^5.101.0",
44
45
  "axios": "^0.27.2",
45
46
  "buffer": "^6.0.3",
46
47
  "change-case": "^4.1.2",
@@ -1,7 +1,7 @@
1
- import { p as E, B as st } from "./index-C-K9TPBG.js";
2
- import { g as it, c as at, _ as ut } from "./app-D4_0cKed.js";
1
+ import { p as E, B as st } from "./index-D20CJ8Ub.js";
2
+ import { g as it, c as at, _ as ut } from "./app-CKG0xR67.js";
3
3
  import { useCoreStore as ot } from "@feedmepos/mf-common";
4
- import { d as H } from "./index-DqZVPkHG.js";
4
+ import { d as H } from "./index-DNnQRgnm.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {