@feedmepos/mf-payment 0.0.0-beta.10 → 0.0.0-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/PayoutAccount-CeLwLffx.js +3484 -0
- package/dist/{PayoutAccount-zpXvSHPw.js → PayoutAccount-DQm62Wf2.js} +1 -1
- package/dist/{SettlementTransactions-Dl1H4jvh.js → SettlementTransactions-B1v0f-0o.js} +1 -1
- package/dist/{SettlementTransactions-CoEzdtYT.js → SettlementTransactions-CYES5YMF.js} +1 -1
- package/dist/{TerminalTransaction-RuSxBAxf.js → TerminalTransaction-LofDTVwC.js} +1 -1
- package/dist/{Transaction-Cjw9WwX8.js → Transaction-C-X11abA.js} +1 -1
- package/dist/{Transaction-CYo-uLQi.js → Transaction-CaOxsIQH.js} +1 -1
- package/dist/app.js +38 -38
- package/dist/assets-DnuLfRTO.js +471 -0
- package/dist/package.json +1 -1
- package/dist/{payout-account-3A-mTs1E.js → payout-account-OR4juI9N.js} +220 -220
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/PayoutAccount-Cpu-cs_L.js +0 -3485
- package/dist/assets-BuLGUMIx.js +0 -472
- package/dist/mascot-side-3VXskf9y.js +0 -4
@@ -2,7 +2,7 @@ import { defineComponent as b, resolveComponent as m, openBlock as g, createBloc
|
|
2
2
|
import { u as S } from "./index-Bmka-1lQ.js";
|
3
3
|
import { _ as O } from "./index-DCPNrUDq.js";
|
4
4
|
import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
5
|
-
import { P as V } from "./payout-account-
|
5
|
+
import { P as V } from "./payout-account-OR4juI9N.js";
|
6
6
|
import { p as $ } from "./index-CF56zGyu.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js";
|
@@ -2,7 +2,7 @@ import { defineComponent as w, resolveComponent as d, openBlock as A, createBloc
|
|
2
2
|
import { e as B, u as H } from "./index-DCPNrUDq.js";
|
3
3
|
import { useDialog as q, useSnackbar as J } from "@feedmepos/ui-library";
|
4
4
|
import { d as k } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as Q, a as W } from "./assets-
|
5
|
+
import { g as Q, a as W } from "./assets-DnuLfRTO.js";
|
6
6
|
import { t as $, a as X } from "./transaction-vRrBf3FN.js";
|
7
7
|
import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
8
|
import { useRouter as ee } from "vue-router";
|
@@ -2,7 +2,7 @@ import { defineComponent as F, resolveComponent as p, openBlock as S, createBloc
|
|
2
2
|
import { e as E, u as G } from "./index-DCPNrUDq.js";
|
3
3
|
import "@feedmepos/ui-library";
|
4
4
|
import { d as B } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as j, a as Y } from "./assets-
|
5
|
+
import { g as j, a as Y } from "./assets-DnuLfRTO.js";
|
6
6
|
import { t as H, a as q } from "./transaction-vRrBf3FN.js";
|
7
7
|
import { _ as J } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
8
|
import { useRouter as Q } from "vue-router";
|
@@ -5,7 +5,7 @@ import { u as K } from "./index-Bmka-1lQ.js";
|
|
5
5
|
import { _ as V } from "./index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js";
|
6
6
|
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
|
-
import { g as L } from "./assets-
|
8
|
+
import { g as L } from "./assets-DnuLfRTO.js";
|
9
9
|
import { d as B } from "./dinero-CIVmXLL-.js";
|
10
10
|
const P = /* @__PURE__ */ A({
|
11
11
|
__name: "Gateway",
|
@@ -4,7 +4,7 @@ import { e as F, u as V } from "./index-DCPNrUDq.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
5
5
|
import "./dinero-CIVmXLL-.js";
|
6
6
|
import { h as b } from "./moment-h96o7c8I.js";
|
7
|
-
import { g as k, a as P } from "./assets-
|
7
|
+
import { g as k, a as P } from "./assets-DnuLfRTO.js";
|
8
8
|
import { useCoreStore as B } from "@feedmepos/mf-common";
|
9
9
|
import { u as L } from "./index-Bmka-1lQ.js";
|
10
10
|
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
@@ -4,7 +4,7 @@ import { e as A, u as k } from "./index-DCPNrUDq.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
5
5
|
import "./dinero-CIVmXLL-.js";
|
6
6
|
import { h as I } from "./moment-h96o7c8I.js";
|
7
|
-
import { g as P, a as B } from "./assets-
|
7
|
+
import { g as P, a as B } from "./assets-DnuLfRTO.js";
|
8
8
|
import { useCoreStore as L } from "@feedmepos/mf-common";
|
9
9
|
import { _ as M } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
10
10
|
import { u as U } from "./index-Bmka-1lQ.js";
|
package/dist/app.js
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
import { createRouter as R, createWebHistory as D, useRouter as I } from "vue-router";
|
2
|
-
import { computed as d, watch as p, defineComponent as
|
2
|
+
import { computed as d, watch as p, defineComponent as f, ref as S, resolveComponent as y, openBlock as b, createBlock as h, onMounted as T, onBeforeMount as w } from "vue";
|
3
3
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as P } from "pinia";
|
5
5
|
const u = [
|
6
6
|
{
|
7
|
-
path: "/
|
7
|
+
path: "/admin/payout-accounts",
|
8
8
|
name: "mf-payment-admin.payout-account",
|
9
9
|
meta: {
|
10
10
|
sidebarDisplay: "Payout Accounts"
|
11
11
|
},
|
12
|
-
component: () => import("./PayoutAccount-
|
12
|
+
component: () => import("./PayoutAccount-DQm62Wf2.js")
|
13
13
|
},
|
14
14
|
{
|
15
|
-
path: "/
|
15
|
+
path: "/admin/payout-accounts/:accountId",
|
16
16
|
name: "mf-payment-admin.payout-account-settings",
|
17
17
|
props: !0,
|
18
18
|
component: () => import("./PayoutAccountSetting-CIeos0md.js")
|
19
19
|
},
|
20
20
|
{
|
21
|
-
path: "/
|
21
|
+
path: "/admin/transaction",
|
22
22
|
name: "mf-payment-admin.transaction",
|
23
23
|
meta: {
|
24
24
|
sidebarDisplay: "Transactions"
|
25
25
|
},
|
26
|
-
component: () => import("./Transaction-
|
26
|
+
component: () => import("./Transaction-C-X11abA.js")
|
27
27
|
},
|
28
28
|
{
|
29
|
-
path: "/
|
29
|
+
path: "/admin/settlement",
|
30
30
|
name: "mf-payment-admin.settlement",
|
31
31
|
meta: {
|
32
32
|
sidebarDisplay: "Settlements"
|
@@ -34,13 +34,13 @@ const u = [
|
|
34
34
|
component: () => import("./Settlement-Ce48KHrc.js")
|
35
35
|
},
|
36
36
|
{
|
37
|
-
path: "/
|
37
|
+
path: "/admin/settlement/:settlementId",
|
38
38
|
name: "mf-payment-admin.settlement-transaction",
|
39
39
|
props: !0,
|
40
|
-
component: () => import("./SettlementTransactions-
|
40
|
+
component: () => import("./SettlementTransactions-B1v0f-0o.js")
|
41
41
|
},
|
42
42
|
{
|
43
|
-
path: "/
|
43
|
+
path: "/admin/terminal",
|
44
44
|
name: "mf-payment-admin.terminal",
|
45
45
|
meta: {
|
46
46
|
sidebarDisplay: "Terminals"
|
@@ -48,12 +48,12 @@ const u = [
|
|
48
48
|
component: () => import("./Terminal-ByKV2Rof.js")
|
49
49
|
},
|
50
50
|
{
|
51
|
-
path: "/
|
51
|
+
path: "/admin/terminal-transaction",
|
52
52
|
name: "mf-payment-admin.terminal-transaction",
|
53
53
|
meta: {
|
54
54
|
sidebarDisplay: "Terminal Transactions"
|
55
55
|
},
|
56
|
-
component: () => import("./TerminalTransaction-
|
56
|
+
component: () => import("./TerminalTransaction-LofDTVwC.js")
|
57
57
|
}
|
58
58
|
], l = [
|
59
59
|
{
|
@@ -61,23 +61,23 @@ const u = [
|
|
61
61
|
redirect: { name: "mf-payment-payout-account" }
|
62
62
|
},
|
63
63
|
{
|
64
|
-
path: "/
|
64
|
+
path: "/payout-account",
|
65
65
|
name: "mf-payment-payout-account",
|
66
|
-
component: () => import("./PayoutAccount-
|
66
|
+
component: () => import("./PayoutAccount-CeLwLffx.js"),
|
67
67
|
meta: {
|
68
68
|
sidebarDisplay: "Payout Accounts"
|
69
69
|
}
|
70
70
|
},
|
71
71
|
{
|
72
|
-
path: "/
|
72
|
+
path: "/transaction",
|
73
73
|
name: "mf-payment-transaction",
|
74
|
-
component: () => import("./Transaction-
|
74
|
+
component: () => import("./Transaction-CaOxsIQH.js"),
|
75
75
|
meta: {
|
76
76
|
sidebarDisplay: "Transactions"
|
77
77
|
}
|
78
78
|
},
|
79
79
|
{
|
80
|
-
path: "/
|
80
|
+
path: "/settlement",
|
81
81
|
name: "mf-payment-settlement",
|
82
82
|
component: () => import("./Settlement-BVGACeme.js"),
|
83
83
|
meta: {
|
@@ -85,17 +85,17 @@ const u = [
|
|
85
85
|
}
|
86
86
|
},
|
87
87
|
{
|
88
|
-
path: "/
|
88
|
+
path: "/settlement/:settlementId",
|
89
89
|
name: "mf-payment-settlement-transaction",
|
90
90
|
props: !0,
|
91
|
-
component: () => import("./SettlementTransactions-
|
91
|
+
component: () => import("./SettlementTransactions-CYES5YMF.js")
|
92
92
|
}
|
93
93
|
], A = P("iframe", () => {
|
94
|
-
const
|
94
|
+
const m = {
|
95
95
|
isIframe: !1
|
96
|
-
}, n = d(() =>
|
97
|
-
function a(
|
98
|
-
|
96
|
+
}, n = d(() => m);
|
97
|
+
function a(o) {
|
98
|
+
m.isIframe = o;
|
99
99
|
}
|
100
100
|
return {
|
101
101
|
state: n,
|
@@ -105,9 +105,9 @@ const u = [
|
|
105
105
|
history: D(),
|
106
106
|
routes: [...l, ...u]
|
107
107
|
});
|
108
|
-
C.beforeEach(async (
|
109
|
-
const { sessionUser: n, currentRestaurant: a, readRestaurants:
|
110
|
-
if (
|
108
|
+
C.beforeEach(async (m) => {
|
109
|
+
const { sessionUser: n, currentRestaurant: a, readRestaurants: o, changeRestaurant: i } = c();
|
110
|
+
if (m.name.startsWith("admin"))
|
111
111
|
return n.value ? !0 : new Promise((r) => {
|
112
112
|
const s = p(n, (e) => {
|
113
113
|
var t;
|
@@ -115,7 +115,7 @@ C.beforeEach(async (o) => {
|
|
115
115
|
});
|
116
116
|
});
|
117
117
|
if (!a.value) {
|
118
|
-
const r = await
|
118
|
+
const r = await o();
|
119
119
|
return await i(r == null ? void 0 : r.at(0)), new Promise((s) => {
|
120
120
|
const e = p(a, (t) => {
|
121
121
|
t && (e(), s(!0));
|
@@ -124,12 +124,12 @@ C.beforeEach(async (o) => {
|
|
124
124
|
}
|
125
125
|
return !0;
|
126
126
|
});
|
127
|
-
const g = /* @__PURE__ */
|
127
|
+
const g = /* @__PURE__ */ f({
|
128
128
|
__name: "AppSidebar",
|
129
|
-
setup(
|
130
|
-
const n = c(), a = I(),
|
129
|
+
setup(m) {
|
130
|
+
const n = c(), a = I(), o = S(a.currentRoute.value.name);
|
131
131
|
p(a.currentRoute, () => {
|
132
|
-
|
132
|
+
o.value = a.currentRoute.value.name;
|
133
133
|
});
|
134
134
|
const i = l.map((e) => {
|
135
135
|
var t;
|
@@ -168,25 +168,25 @@ const g = /* @__PURE__ */ y({
|
|
168
168
|
}), e.push(...r)), e;
|
169
169
|
});
|
170
170
|
return (e, t) => {
|
171
|
-
const _ =
|
171
|
+
const _ = y("FmCollapsibleTabs");
|
172
172
|
return b(), h(_, {
|
173
|
-
modelValue:
|
174
|
-
"onUpdate:modelValue": t[0] || (t[0] = (v) =>
|
173
|
+
modelValue: o.value,
|
174
|
+
"onUpdate:modelValue": t[0] || (t[0] = (v) => o.value = v),
|
175
175
|
items: s.value,
|
176
176
|
class: "py-16 px-8"
|
177
177
|
}, null, 8, ["modelValue", "items"]);
|
178
178
|
};
|
179
179
|
}
|
180
|
-
}), F = /* @__PURE__ */
|
180
|
+
}), F = /* @__PURE__ */ f({
|
181
181
|
__name: "App",
|
182
|
-
setup(
|
182
|
+
setup(m) {
|
183
183
|
const { state: n } = A(), a = c();
|
184
184
|
return T(() => {
|
185
185
|
n.isIframe && parent.postMessage({ event: "ready" }, "*");
|
186
186
|
}), w(() => {
|
187
187
|
a.registerSidebarComponent(g);
|
188
|
-
}), (
|
189
|
-
const r =
|
188
|
+
}), (o, i) => {
|
189
|
+
const r = y("RouterView");
|
190
190
|
return b(), h(r);
|
191
191
|
};
|
192
192
|
}
|