@feedmepos/mf-payment 1.1.20-beta.2 → 1.1.20
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.
- package/dist/{PayoutAccount-DtxvkRZg.js → PayoutAccount-B50mbpXa.js} +28 -28
- package/dist/{PayoutAccount-DbVJmcOa.js → PayoutAccount-ChnMSqoz.js} +6 -6
- package/dist/{PayoutAccountSetting-DcbImWD5.js → PayoutAccountSetting-CYflBcUv.js} +3 -3
- package/dist/{Restaurant-DrTIWONb.js → Restaurant-Ddo7QfJv.js} +4 -4
- package/dist/{RestaurantSetting-39Xu_7Bm.js → RestaurantSetting-C_5OjEo4.js} +3 -3
- package/dist/{Settlement-oCVhqcmP.js → Settlement-DDZ6ll4r.js} +3 -3
- package/dist/{Settlement-DuWPx6DN.js → Settlement-DxMP0Iu2.js} +3 -3
- package/dist/{SettlementTransactions-BPEDOI4q.js → SettlementTransactions-4Z1eNypN.js} +3 -3
- package/dist/{SettlementTransactions-B1N9DToN.js → SettlementTransactions-VinJ6fUK.js} +3 -3
- package/dist/{Terminal-CHNjzVtT.js → Terminal-msh6w52E.js} +6 -6
- package/dist/{TerminalSetting-BEP2XCkv.js → TerminalSetting-B56NaLJG.js} +3 -3
- package/dist/{Transaction-Cb15psyP.js → Transaction-BFEc8CE5.js} +147 -147
- package/dist/{Transaction-Bth0jDaE.js → Transaction-CJ6tkVm7.js} +7 -7
- package/dist/{TransactionOld-BPnBP2cu.js → TransactionOld-CQCjIj-y.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BdPgL0W8.js → TransactionTable.vue_vue_type_script_setup_true_lang-Be5X-POy.js} +53 -57
- package/dist/{app-BfnnIbRB.js → app-BMjpPKrE.js} +372 -388
- package/dist/app.js +1 -1
- package/dist/{assets-Bne2NJOR.js → assets-uU5K-t3w.js} +22 -25
- package/dist/{grafana-DpsdWu10.js → grafana-jZIQEb-4.js} +2 -2
- package/dist/{index-C5ARs2NW.js → index-4jxBEYP_.js} +1 -1
- package/dist/{index-BJaJ2nSQ.js → index-C2icSInW.js} +1 -1
- package/dist/{index-sQT526AQ.js → index-CWuISLUP.js} +2 -2
- package/dist/{index-Bm2MGtsS.js → index-CeqaPQxS.js} +2285 -2285
- package/dist/{index-BSl3VmjZ.js → index-Ci5Z345g.js} +1 -1
- package/dist/{index-B1EyQdUg.js → index-Db8vOED3.js} +1 -1
- package/dist/{index-B0zGQtbr.js → index-sQgEmNx9.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CV3EXPH9.js → index.vue_vue_type_script_setup_true_lang-D8jBmVoN.js} +19 -19
- package/dist/model/transaction.d.ts +0 -2
- package/dist/package.json +1 -1
- package/dist/{payout-account-CX7Sx9yz.js → payout-account-CQou3k40.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Forbidden-BvhtA1Ni.js +0 -37
- package/dist/views/Forbidden.vue.d.ts +0 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as I, ref as r, resolveComponent as p, openBlock as f, createBlock as L, withCtx as P, createVNode as d, createElementVNode as u, normalizeStyle as T, createElementBlock as M, Fragment as N, renderList as j, computed as C, watch as S, onMounted as E, unref as D, toDisplayString as B, createCommentVNode as O, normalizeClass as R } from "vue";
|
2
|
-
import { u as G } from "./index-
|
2
|
+
import { u as G } from "./index-CeqaPQxS.js";
|
3
3
|
import "@feedmepos/ui-library";
|
4
4
|
const H = ["id"], U = /* @__PURE__ */ I({
|
5
5
|
__name: "FmTableSelection",
|
@@ -40,7 +40,7 @@ const H = ["id"], U = /* @__PURE__ */ I({
|
|
40
40
|
label: o.label,
|
41
41
|
value: o.value,
|
42
42
|
"model-value": o.value === y.value,
|
43
|
-
"onUpdate:modelValue": (
|
43
|
+
"onUpdate:modelValue": (n) => k("update:modelValue", o.value)
|
44
44
|
}, null, 8, ["label", "value", "model-value", "onUpdate:modelValue"]))), 128))
|
45
45
|
], 12, H)
|
46
46
|
]),
|
@@ -74,15 +74,15 @@ const H = ["id"], U = /* @__PURE__ */ I({
|
|
74
74
|
const y = [10, 20, 30, 50, 100].map((t) => ({
|
75
75
|
label: t.toString(),
|
76
76
|
value: t
|
77
|
-
})), i = g, x = k, { isLoading: c, startLoading: h, stopLoading: V } = G(!0), b = r(), a = r(), o = r(""),
|
78
|
-
h(), t && (a.value = [], o.value = "",
|
79
|
-
const e = await i.paginate(
|
77
|
+
})), i = g, x = k, { isLoading: c, startLoading: h, stopLoading: V } = G(!0), b = r(), a = r(), o = r(""), n = r(10), l = r(1), v = r(0), _ = async function(t = !1) {
|
78
|
+
h(), t && (a.value = [], o.value = "", l.value = 1, v.value = 0);
|
79
|
+
const e = await i.paginate(n.value, o.value);
|
80
80
|
a.value = [...a.value ?? [], ...e.data], o.value = e.meta.cursor ?? "", v.value += 1, V();
|
81
|
-
}, $ = C(() =>
|
82
|
-
const t =
|
81
|
+
}, $ = C(() => l.value > 1), q = C(() => l.value < v.value ? !0 : o.value > ""), A = C(() => {
|
82
|
+
const t = n.value * (l.value - 1), e = t + n.value;
|
83
83
|
return (a.value ?? []).slice(t, e).map(i.rowsDefs);
|
84
84
|
});
|
85
|
-
return S(
|
85
|
+
return S(n, () => _(!0)), S(l, (t) => {
|
86
86
|
t > v.value && _();
|
87
87
|
}), E(() => _()), F({
|
88
88
|
reset: () => _(!0),
|
@@ -96,11 +96,11 @@ const H = ["id"], U = /* @__PURE__ */ I({
|
|
96
96
|
return t;
|
97
97
|
},
|
98
98
|
pageData: () => {
|
99
|
-
const t =
|
99
|
+
const t = n.value * (l.value - 1), e = t + n.value;
|
100
100
|
return (a.value ?? []).slice(t, e);
|
101
101
|
},
|
102
102
|
replaceData: (t, e) => {
|
103
|
-
const m =
|
103
|
+
const m = t * l.value;
|
104
104
|
a.value && (a.value[m] = e);
|
105
105
|
}
|
106
106
|
}), (t, e) => {
|
@@ -110,7 +110,7 @@ const H = ["id"], U = /* @__PURE__ */ I({
|
|
110
110
|
modelValue: b.value,
|
111
111
|
"onUpdate:modelValue": e[0] || (e[0] = (s) => b.value = s),
|
112
112
|
loading: D(c),
|
113
|
-
"page-size":
|
113
|
+
"page-size": n.value,
|
114
114
|
"row-data": A.value,
|
115
115
|
"column-defs": g.columnDefs,
|
116
116
|
"hide-footer": !0,
|
@@ -126,11 +126,11 @@ const H = ["id"], U = /* @__PURE__ */ I({
|
|
126
126
|
e[6] || (e[6] = u("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary" }, " Items per page: ", -1)),
|
127
127
|
d(U, {
|
128
128
|
items: D(y),
|
129
|
-
value:
|
130
|
-
"onUpdate:modelValue": e[2] || (e[2] = (s) =>
|
129
|
+
value: n.value,
|
130
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => n.value = s)
|
131
131
|
}, null, 8, ["items", "value"])
|
132
132
|
]),
|
133
|
-
u("span", W, B((
|
133
|
+
u("span", W, B((l.value - 1) * n.value) + " - " + B((l.value - 1) * n.value + n.value), 1)
|
134
134
|
]),
|
135
135
|
u("div", X, [
|
136
136
|
d(U, {
|
@@ -140,24 +140,24 @@ const H = ["id"], U = /* @__PURE__ */ I({
|
|
140
140
|
value: s
|
141
141
|
})
|
142
142
|
),
|
143
|
-
value:
|
144
|
-
"onUpdate:modelValue": e[3] || (e[3] = (s) =>
|
143
|
+
value: l.value,
|
144
|
+
"onUpdate:modelValue": e[3] || (e[3] = (s) => l.value = s)
|
145
145
|
}, null, 8, ["items", "value"]),
|
146
|
-
u("span", Y, " Page " + B(
|
146
|
+
u("span", Y, " Page " + B(l.value), 1),
|
147
147
|
u("div", Z, [
|
148
148
|
d(z, {
|
149
149
|
disabled: !$.value,
|
150
150
|
icon: "chevron_left",
|
151
151
|
"icon-color": "neutral-black",
|
152
152
|
variant: "tertiary",
|
153
|
-
onClick: e[4] || (e[4] = () =>
|
153
|
+
onClick: e[4] || (e[4] = () => l.value -= 1)
|
154
154
|
}, null, 8, ["disabled"]),
|
155
155
|
d(z, {
|
156
156
|
disabled: !q.value,
|
157
157
|
icon: "chevron_right",
|
158
158
|
"icon-color": "neutral-black",
|
159
159
|
variant: "tertiary",
|
160
|
-
onClick: e[5] || (e[5] = () =>
|
160
|
+
onClick: e[5] || (e[5] = () => l.value += 1)
|
161
161
|
}, null, 8, ["disabled"])
|
162
162
|
])
|
163
163
|
])
|
@@ -11,7 +11,6 @@ export interface PortalPaymentTransaction {
|
|
11
11
|
gateway: F_PAYMENT_GATEWAY_KEY;
|
12
12
|
status: string;
|
13
13
|
amount: string;
|
14
|
-
gatewayAmount: string;
|
15
14
|
fdoAmount: FdoDinero;
|
16
15
|
fee: string;
|
17
16
|
payout: string;
|
@@ -26,7 +25,6 @@ export interface PortalPaymentTransaction {
|
|
26
25
|
query: boolean;
|
27
26
|
refund: boolean;
|
28
27
|
notify: boolean;
|
29
|
-
isDelivery: boolean;
|
30
28
|
};
|
31
29
|
}
|
32
30
|
declare function toTransaction(trx: FdoPaymentTransactionV2Output): PortalPaymentTransaction;
|
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _ as rt, C as st, r as ye, S as it, g as re, a as ot, b as at, c as pe, F as ut, d as ct, e as lt } from "./app-
|
2
|
-
import { a as ht, c as dt, d as ft } from "./index-
|
3
|
-
import { _ as G } from "./index-
|
1
|
+
import { _ as rt, C as st, r as ye, S as it, g as re, a as ot, b as at, c as pe, F as ut, d as ct, e as lt } from "./app-BMjpPKrE.js";
|
2
|
+
import { a as ht, c as dt, d as ft } from "./index-CeqaPQxS.js";
|
3
|
+
import { _ as G } from "./index-C2icSInW.js";
|
4
4
|
import { useCoreStore as _t } from "@feedmepos/mf-common";
|
5
5
|
/**
|
6
6
|
* @license
|