@feedmepos/mf-payment 1.6.26-dev → 1.6.28-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.
- package/dist/{Actions.vue_vue_type_script_setup_true_lang-iXqW5wLW.js → Actions.vue_vue_type_script_setup_true_lang-B4ZiwdN0.js} +1 -1
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-CYtvX7so.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-B_Ijdnd4.js} +2 -2
- package/dist/{Chargeback-BGe5XDl_.js → Chargeback-YmbARhKg.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DN_6q2_n.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CdKtDipZ.js} +1 -1
- package/dist/{OnboardForm-C3Fr7gLX.js → OnboardForm-CcrB3E8X.js} +591 -489
- package/dist/{OnboardForm-BnhW72k-.js → OnboardForm-DHgdxxqe.js} +189 -179
- package/dist/{OnboardSubmission-Dim4WQjJ.js → OnboardSubmission-CtitCQsu.js} +2 -2
- package/dist/{OnboardSubmission-Da4ddkN6.js → OnboardSubmission-DKdaX9rF.js} +5 -5
- package/dist/{PayoutAccount-Ckw1l_qj.js → PayoutAccount-CXeBK1AX.js} +5 -5
- package/dist/{PayoutAccount-CtPL_D_S.js → PayoutAccount-DTx2LcLp.js} +5 -5
- package/dist/{PayoutAccountSetting-DAt-NWWK.js → PayoutAccountSetting-B1X-UvJK.js} +6 -6
- package/dist/{Restaurant-3onCdWrc.js → Restaurant-CIBbX8G3.js} +4 -4
- package/dist/{RestaurantSetting-BJ5P9d8A.js → RestaurantSetting-D7ICl_qP.js} +3 -3
- package/dist/{Settlement-Cb2hQdZF.js → Settlement-BI-VTPxv.js} +4 -4
- package/dist/{Settlement-DuXn-xyR.js → Settlement-CdWL_ETb.js} +3 -3
- package/dist/{SettlementTransactions-Cl8C5O0J.js → SettlementTransactions-Cu-BYmgZ.js} +4 -4
- package/dist/{SettlementTransactions-igk5fdWl.js → SettlementTransactions-CuG_0cWP.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-DurKmA3Q.js → Status.vue_vue_type_script_setup_true_lang-D3s5zsYW.js} +1 -1
- package/dist/{Terminal-DMOhtME8.js → Terminal-Btv6-BKv.js} +5 -5
- package/dist/{TerminalSetting-BzL7K-uH.js → TerminalSetting-BOfwlpzm.js} +4 -4
- package/dist/{Transaction-D7uX4qHQ.js → Transaction-BlX2YbA7.js} +9 -9
- package/dist/{Transaction-DfKVD6f1.js → Transaction-DPsf-VDH.js} +10 -10
- package/dist/{TransactionOld-D_JU2_mR.js → TransactionOld-BNF36cu2.js} +7 -7
- package/dist/api/onboard-submission/index.d.ts +1 -0
- package/dist/{app-Bezc2BFB.js → app-B5iKjZWK.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/{assets-D3BP5M_A.js → assets-Cc2Vi-Gl.js} +1 -1
- package/dist/{grafana-BbjqeSUV.js → grafana-CfwAikn_.js} +1 -1
- package/dist/{index-Bv2sHRuG.js → index-1LtOZdzT.js} +1 -1
- package/dist/{index-ZhbF97Tm.js → index-BAlPThXB.js} +1 -1
- package/dist/{index-BoZvRGNb.js → index-BXA_Sb3P.js} +1 -1
- package/dist/{index-pOLLwiKx.js → index-BrB06b4G.js} +1 -1
- package/dist/{index-B46LoJuc.js → index-C-7E5sGo.js} +1 -1
- package/dist/{index-Agw94979.js → index-C64vpG3g.js} +1 -1
- package/dist/{index-BbMFtfU9.js → index-CfsT_RZU.js} +1 -1
- package/dist/{index-C4VQgcNt.js → index-Ckm19Rq6.js} +32 -24
- package/dist/{index-da9XXOQN.js → index-DZmqReyr.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B79Nwx5o.js → index.vue_vue_type_script_setup_true_lang-Dw0Sdf8S.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-Do9T9GvQ.js → payout-account-BfxGH_xZ.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as o, c as m, b as s, d as l, l as c, f as d, h as y } from "./index-
|
|
1
|
+
import { g as o, c as m, b as s, d as l, l as c, f as d, h as y } from "./index-C64vpG3g.js";
|
|
2
2
|
import { h as a } from "./moment-h96o7c8I.js";
|
|
3
3
|
import { d as f } from "./dinero-CIVmXLL-.js";
|
|
4
4
|
function* p(t, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as V, x as nR, v as rR } from "./app-
|
|
1
|
+
import { w as V, x as nR, v as rR } from "./app-B5iKjZWK.js";
|
|
2
2
|
import { useCoreStore as Bu } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as iR } from "vue";
|
|
4
4
|
var gh = {}, il = {}, y = {}, ah = {}, Vm = {}, Hm = {}, Oc = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as o, b as
|
|
2
|
-
import { h as
|
|
3
|
-
import { d as b } from "./index-
|
|
1
|
+
import { g as o, b as s, o as m, a as d } from "./index-C64vpG3g.js";
|
|
2
|
+
import { h as c } from "./moment-h96o7c8I.js";
|
|
3
|
+
import { d as b } from "./index-BAlPThXB.js";
|
|
4
4
|
async function g(t) {
|
|
5
5
|
if (t.type !== "image/png") return t;
|
|
6
|
-
const a = await p(t),
|
|
7
|
-
|
|
8
|
-
const n =
|
|
6
|
+
const a = await p(t), e = document.createElement("canvas");
|
|
7
|
+
e.width = a.width, e.height = a.height;
|
|
8
|
+
const n = e.getContext("2d");
|
|
9
9
|
if (!n) throw new Error("Failed to get 2D canvas context");
|
|
10
10
|
return n.drawImage(a, 0, 0), new Promise((i, u) => {
|
|
11
|
-
|
|
11
|
+
e.toBlob((r) => {
|
|
12
12
|
if (!r) {
|
|
13
13
|
u(new Error("Canvas PNG export failed"));
|
|
14
14
|
return;
|
|
@@ -20,30 +20,30 @@ async function g(t) {
|
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
function p(t) {
|
|
23
|
-
return new Promise((a,
|
|
23
|
+
return new Promise((a, e) => {
|
|
24
24
|
const n = new Image();
|
|
25
25
|
n.onload = () => {
|
|
26
26
|
URL.revokeObjectURL(n.src), a(n);
|
|
27
27
|
}, n.onerror = () => {
|
|
28
|
-
URL.revokeObjectURL(n.src),
|
|
28
|
+
URL.revokeObjectURL(n.src), e(new Error("Failed to load image from File"));
|
|
29
29
|
}, n.src = URL.createObjectURL(t);
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
const $ = {
|
|
33
33
|
async read(t) {
|
|
34
|
-
return
|
|
35
|
-
await
|
|
34
|
+
return d(
|
|
35
|
+
await s().get("/payments/onboard-submissions", {
|
|
36
36
|
params: { ...t }
|
|
37
37
|
})
|
|
38
38
|
);
|
|
39
39
|
},
|
|
40
40
|
async readById(t) {
|
|
41
41
|
return o(
|
|
42
|
-
await
|
|
42
|
+
await s().get(`/payments/onboard-submissions/${t}`)
|
|
43
43
|
);
|
|
44
44
|
},
|
|
45
45
|
async previewDocument(t) {
|
|
46
|
-
const a = await
|
|
46
|
+
const a = await s().get(
|
|
47
47
|
`payments/onboard-submissions/${t}/document`,
|
|
48
48
|
{ responseType: "blob" }
|
|
49
49
|
);
|
|
@@ -51,61 +51,69 @@ const $ = {
|
|
|
51
51
|
},
|
|
52
52
|
async sendDocument(t) {
|
|
53
53
|
return o(
|
|
54
|
-
await
|
|
54
|
+
await s().post(
|
|
55
55
|
`payments/onboard-submissions/${t}/send`
|
|
56
56
|
)
|
|
57
57
|
);
|
|
58
58
|
},
|
|
59
59
|
async reviewById(t, a) {
|
|
60
60
|
return o(
|
|
61
|
-
await
|
|
61
|
+
await s().put(
|
|
62
62
|
`/payments/onboard-submissions/${t}`,
|
|
63
63
|
a
|
|
64
64
|
)
|
|
65
65
|
);
|
|
66
66
|
},
|
|
67
|
+
async addAdditionalDocuments(t, a) {
|
|
68
|
+
return o(
|
|
69
|
+
await s().post(
|
|
70
|
+
`/payments/onboard-submissions/${t}/additional-documents`,
|
|
71
|
+
{ documents: a }
|
|
72
|
+
)
|
|
73
|
+
);
|
|
74
|
+
},
|
|
67
75
|
async getById(t, a) {
|
|
68
76
|
return o(
|
|
69
|
-
await
|
|
77
|
+
await s().get(
|
|
70
78
|
`restaurants/${a}/onboard-submissions/${t}`
|
|
71
79
|
)
|
|
72
80
|
);
|
|
73
81
|
},
|
|
74
82
|
async getByRestaurant(t) {
|
|
75
83
|
return o(
|
|
76
|
-
await
|
|
84
|
+
await s().get(
|
|
77
85
|
`restaurants/${t}/onboard-submissions`
|
|
78
86
|
)
|
|
79
87
|
);
|
|
80
88
|
},
|
|
81
89
|
async getOnboardSubmissionTyroAuthUrl(t) {
|
|
82
90
|
return o(
|
|
83
|
-
await
|
|
91
|
+
await s().get(
|
|
84
92
|
`restaurants/${t}/onboard-submissions/tyro/auth`
|
|
85
93
|
)
|
|
86
94
|
);
|
|
87
95
|
},
|
|
88
96
|
async getTyroLocations(t) {
|
|
89
97
|
return o(
|
|
90
|
-
await
|
|
98
|
+
await s().get(
|
|
91
99
|
`restaurants/${t}/onboard-submissions/tyro/locations`
|
|
92
100
|
)
|
|
93
101
|
);
|
|
94
102
|
},
|
|
95
103
|
async bindTyroLocation(t, a) {
|
|
96
104
|
return o(
|
|
97
|
-
await
|
|
105
|
+
await s().put(
|
|
98
106
|
`restaurants/${t}/onboard-submissions/tyro/location`,
|
|
99
107
|
a
|
|
100
108
|
)
|
|
101
109
|
);
|
|
102
110
|
},
|
|
103
|
-
async uploadDocument(t, a,
|
|
111
|
+
async uploadDocument(t, a, e) {
|
|
104
112
|
var r;
|
|
105
|
-
const n = (r =
|
|
113
|
+
const n = (r = e.name.toLowerCase().match(/\.([a-z0-9]+)$/)) == null ? void 0 : r[1];
|
|
106
114
|
if (!n)
|
|
107
115
|
throw new Error("Unable to determine file extension from filename");
|
|
108
|
-
const i = n === "png" ? await g(
|
|
116
|
+
const i = n === "png" ? await g(e) : e, u = c().toISOString();
|
|
109
117
|
return await b.upload(
|
|
110
118
|
`restaurant/${t}/documents/${a}/${u}.${n}`,
|
|
111
119
|
i,
|
|
@@ -114,7 +122,7 @@ const $ = {
|
|
|
114
122
|
},
|
|
115
123
|
async updateSubmission(t) {
|
|
116
124
|
return o(
|
|
117
|
-
await
|
|
125
|
+
await s().put(
|
|
118
126
|
`restaurants/${t.restaurantId}/onboard-submissions`,
|
|
119
127
|
t
|
|
120
128
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { u as K } from "./index-C64vpG3g.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
const Q = ["id"], U = /* @__PURE__ */ q({
|
|
5
5
|
__name: "FmTableSelection",
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as E, B as st } from "./index-
|
|
2
|
-
import { v as it, w as at, _ as ut } from "./app-
|
|
1
|
+
import { p as E, B as st } from "./index-C64vpG3g.js";
|
|
2
|
+
import { v as it, w as at, _ as ut } from "./app-B5iKjZWK.js";
|
|
3
3
|
import { useCoreStore as ot } from "@feedmepos/mf-common";
|
|
4
|
-
import { d as H } from "./index-
|
|
4
|
+
import { d as H } from "./index-BAlPThXB.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|