@feedmepos/mf-payment 1.4.47 → 1.5.0-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-sYaYPQ_s.js → Actions.vue_vue_type_script_setup_true_lang-DGbH2LsQ.js} +43 -43
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js → AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js} +13 -13
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-I9eO197f.js +47 -0
- package/dist/{Chargeback-BftBez0p.js → Chargeback-19afdT_4.js} +83 -83
- package/dist/{DateRangePicker.vue_vue_type_script_setup_true_lang-XZ7OzGau.js → DateRangePicker.vue_vue_type_script_setup_true_lang-kymnzYpd.js} +1 -1
- package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-CzwG5dCO.js +77 -0
- package/dist/Forbidden-CSTZjebc.js +38 -0
- package/dist/Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js +45 -0
- package/dist/{OnboardForm-Bk5eHmN0.js → OnboardForm-Cc6JOr09.js} +596 -528
- package/dist/{OnboardForm-DURv3s6I.js → OnboardForm-Do6ar3sx.js} +363 -347
- package/dist/{OnboardSubmission-BOiXSkVB.js → OnboardSubmission-B-leoVPo.js} +4 -4
- package/dist/{OnboardSubmission-Bjf_EOKq.js → OnboardSubmission-Dj8AGb69.js} +8 -8
- package/dist/PDFViewer-DgyyGDHl.js +23209 -0
- package/dist/{PayoutAccount-Ban4QG9e.js → PayoutAccount--1J5ubvX.js} +341 -312
- package/dist/{PayoutAccount-D-oQ4vID.js → PayoutAccount-ChGlsZ-O.js} +75 -75
- package/dist/{PayoutAccountSetting-YYswVooL.js → PayoutAccountSetting-BC0ANAqY.js} +281 -266
- package/dist/{Restaurant-26r7Q01z.js → Restaurant-ZiTHtFZJ.js} +79 -79
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-Bzj_sdSY.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DG3iyjkK.js} +3 -3
- package/dist/{RestaurantSetting-D1APrvzM.js → RestaurantSetting-M1jYaGwx.js} +5 -5
- package/dist/{SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js → SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js} +5 -5
- package/dist/{Settlement-CWX5RKwL.js → Settlement-Cj2W8VfH.js} +7 -7
- package/dist/{Settlement-Ix55QLVB.js → Settlement-D_nmqYEC.js} +12 -15
- package/dist/{SettlementTransactions-DYAlKO__.js → SettlementTransactions-Ch9jeQU6.js} +99 -99
- package/dist/{SettlementTransactions-BIodJ6DN.js → SettlementTransactions-DK1ONvn6.js} +55 -55
- package/dist/{Status.vue_vue_type_script_setup_true_lang-B5iI3OiL.js → Status.vue_vue_type_script_setup_true_lang-BP5m6Vic.js} +9 -9
- package/dist/Terminal-CoPPPePw.js +1135 -0
- package/dist/{TerminalSetting-BiaGvysm.js → TerminalSetting-PWs1fyFe.js} +549 -425
- package/dist/{Transaction-D51QiCaP.js → Transaction-BirTp8t6.js} +82 -82
- package/dist/{Transaction-ouagKBic.js → Transaction-CegzBK7m.js} +65 -65
- package/dist/{TransactionOld-CCzonxUD.js → TransactionOld-DqGMuWvL.js} +9 -9
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/document/index.d.ts +4 -0
- package/dist/{app-COvZzQVV.js → app-D6U0uODp.js} +426 -490
- package/dist/app.js +1 -1
- package/dist/{assets--JQWdCl5.js → assets-DtwUojcS.js} +1 -1
- package/dist/components/AdminLayout.vue.d.ts +3 -3
- package/dist/components/AutoCopyCell.vue.d.ts +1 -1
- package/dist/components/DocumentViewer.vue.d.ts +16 -0
- package/dist/components/ImagePreview.vue.d.ts +3 -3
- package/dist/components/Layout.vue.d.ts +3 -3
- package/dist/components/PDFViewer.vue.d.ts +4 -4
- package/dist/components/RestaurantSelector.vue.d.ts +1 -1
- package/dist/components/RouteCell.vue.d.ts +1 -1
- package/dist/{grafana-22PXAn1O.js → grafana-fZyobMgN.js} +1 -1
- package/dist/{index-B0uA-O38.js → index--K2ipr4H.js} +7 -7
- package/dist/{index-cCTvH31Z.js → index-BJNCcdvT.js} +22132 -24859
- package/dist/{index-Blb5YaYR.js → index-C-YBwRQp.js} +3 -3
- package/dist/{index-Ctn4LFui.js → index-CMN40t8e.js} +1 -1
- package/dist/{index-DR0voetw.js → index-CbONxZz2.js} +17 -13
- package/dist/{index-BLyx8ZQr.js → index-CtkwL_6R.js} +1 -1
- package/dist/{index-B9kHmV6p.js → index-D69RnDa7.js} +19 -19
- package/dist/index-_u7l8cO3.js +27 -0
- package/dist/{index-B0-Kn6Mw.js → index-eLZ3BErV.js} +12 -12
- package/dist/{index.vue_vue_type_script_setup_true_lang-NUicoOT2.js → index.vue_vue_type_script_setup_true_lang-zxkA_YTt.js} +50 -50
- package/dist/model/payout-account.d.ts +2 -2
- package/dist/{Forbidden-Dqw0MqyC.js → no-data-BRmo6XOO.js} +2 -35
- package/dist/package.json +13 -7
- package/dist/{payout-account-DQZ0J8Ds.js → payout-account-CVYMFqu9.js} +78 -77
- package/dist/plugins.d.ts +1 -5
- package/dist/stores/payoutAccount.d.ts +16 -16
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{validator-D5jtpt9A.js → validator-DzjyJnvv.js} +842 -763
- package/dist/views/Forbidden.vue.d.ts +1 -1
- package/dist/views/admin/chargeback/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/onboard-submission/cell/SignatureBoard.vue.d.ts +2 -1
- package/dist/views/admin/onboard-submission/cell/UploadButton.vue.d.ts +3 -2
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +1 -1
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +118 -244
- package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +28 -8
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/terminal/cell/ID.vue.d.ts +1 -1
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +29 -9
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +29 -9
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +250 -0
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +28 -8
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/transaction/cell/BillSeqNumber.vue.d.ts +1 -1
- package/dist/views/onboard-submission/cell/SignatureBoard.vue.d.ts +2 -1
- package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +6 -5
- package/dist/views/payout-account/PayoutAccountDialog.vue.d.ts +2 -2
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +68 -68
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +34 -34
- package/dist/views/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/transaction/cell/BillSeqNumber.vue.d.ts +1 -1
- package/package.json +26 -20
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DP8STuAT.js +0 -47
- package/dist/Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js +0 -45
- package/dist/PDFViewer-DHKBD99J.js +0 -22433
- package/dist/Terminal-CrM7EzkM.js +0 -1095
- package/dist/plugins-DuKITasE.js +0 -1366
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, useModel as V, ref as _, computed as g, watch as v, resolveComponent as f, openBlock as h, createBlock as k, unref as a, withCtx as b, createVNode as C } from "vue";
|
|
2
|
-
import { z as x, a as d } from "./validator-
|
|
2
|
+
import { z as x, a as d } from "./validator-DzjyJnvv.js";
|
|
3
3
|
import { h as l } from "./moment-h96o7c8I.js";
|
|
4
4
|
const y = /* @__PURE__ */ M({
|
|
5
5
|
__name: "DateRangePicker",
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineComponent as y, ref as n, computed as x, resolveComponent as m, openBlock as e, createElementBlock as t, createElementVNode as r, createVNode as g, createCommentVNode as h, createBlock as w, renderSlot as k } from "vue";
|
|
2
|
+
import { m as b } from "./no-data-BRmo6XOO.js";
|
|
3
|
+
import { d as C } from "./index-_u7l8cO3.js";
|
|
4
|
+
const B = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "max-w-[340px] bg-white border border-gray-200 rounded-md overflow-hidden shadow-sm flex flex-col font-sans"
|
|
7
|
+
}, D = { class: "relative aspect-video w-full bg-gray-50 flex items-center justify-center overflow-hidden" }, N = { key: 0 }, V = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "flex flex-col items-center gap-3 p-4"
|
|
10
|
+
}, F = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "text-xs text-red-500"
|
|
13
|
+
}, E = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "flex flex-col items-center gap-2 py-8"
|
|
16
|
+
}, P = { key: 1 }, j = ["src"], S = /* @__PURE__ */ y({
|
|
17
|
+
__name: "DocumentViewer",
|
|
18
|
+
props: {
|
|
19
|
+
document: {},
|
|
20
|
+
restaurantId: {}
|
|
21
|
+
},
|
|
22
|
+
setup(u) {
|
|
23
|
+
const o = u, l = n(!1), a = n(!1), i = n(!1), c = n(""), p = x(() => !!o.document), f = async () => {
|
|
24
|
+
if (o.document) {
|
|
25
|
+
a.value = !0;
|
|
26
|
+
try {
|
|
27
|
+
const s = await C.view(o.document, o.restaurantId);
|
|
28
|
+
c.value = s, l.value = !0;
|
|
29
|
+
} catch {
|
|
30
|
+
i.value = !0;
|
|
31
|
+
} finally {
|
|
32
|
+
a.value = !1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
return (s, d) => {
|
|
37
|
+
const v = m("FmButton"), _ = m("FmCircularProgress");
|
|
38
|
+
return l.value ? (e(), t("div", P, [
|
|
39
|
+
k(s.$slots, "default", { src: c.value }, () => [
|
|
40
|
+
r("img", {
|
|
41
|
+
src: c.value,
|
|
42
|
+
alt: "Document"
|
|
43
|
+
}, null, 8, j)
|
|
44
|
+
])
|
|
45
|
+
])) : (e(), t("div", B, [
|
|
46
|
+
r("div", D, [
|
|
47
|
+
p.value ? (e(), t("div", N, [
|
|
48
|
+
a.value ? (e(), w(_, {
|
|
49
|
+
key: 1,
|
|
50
|
+
size: "xl",
|
|
51
|
+
color: "primary"
|
|
52
|
+
})) : (e(), t("div", V, [
|
|
53
|
+
g(v, {
|
|
54
|
+
onClick: f,
|
|
55
|
+
label: "View Document",
|
|
56
|
+
"prepend-icon": "manage_accounts",
|
|
57
|
+
size: "md",
|
|
58
|
+
variant: "primary"
|
|
59
|
+
}),
|
|
60
|
+
i.value ? (e(), t("span", F, " Oops, something went wrong. Please try again. ")) : h("", !0)
|
|
61
|
+
]))
|
|
62
|
+
])) : (e(), t("div", E, [...d[0] || (d[0] = [
|
|
63
|
+
r("img", {
|
|
64
|
+
src: b,
|
|
65
|
+
alt: "No document",
|
|
66
|
+
class: "w-128 h-80 object-contain opacity-80"
|
|
67
|
+
}, null, -1),
|
|
68
|
+
r("span", { class: "text-xs text-gray-400 mt-2" }, "No document available.", -1)
|
|
69
|
+
])]))
|
|
70
|
+
])
|
|
71
|
+
]));
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
S as _
|
|
77
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as l, onMounted as n, resolveComponent as r, openBlock as i, createElementBlock as c, createElementVNode as e, unref as m, createVNode as a } from "vue";
|
|
2
|
+
import { m as d } from "./no-data-BRmo6XOO.js";
|
|
3
|
+
import { useRouter as u } from "vue-router";
|
|
4
|
+
const p = { class: "flex items-center justify-center min-h-[80vh]" }, _ = { class: "hidden mr-6 lg:block lg:w-1/6" }, f = ["src"], h = { class: "w-full max-w-lg text-left" }, g = { class: "flex items-center mb-2 mt-1" }, C = /* @__PURE__ */ l({
|
|
5
|
+
__name: "Forbidden",
|
|
6
|
+
setup(x) {
|
|
7
|
+
const t = u();
|
|
8
|
+
return n(() => {
|
|
9
|
+
setTimeout(() => {
|
|
10
|
+
t.push("/");
|
|
11
|
+
}, 5e3);
|
|
12
|
+
}), (v, o) => {
|
|
13
|
+
const s = r("FmCircularProgress");
|
|
14
|
+
return i(), c("div", p, [
|
|
15
|
+
e("div", _, [
|
|
16
|
+
e("img", {
|
|
17
|
+
src: m(d),
|
|
18
|
+
alt: "mascot",
|
|
19
|
+
class: "w-full h-auto"
|
|
20
|
+
}, null, 8, f)
|
|
21
|
+
]),
|
|
22
|
+
e("div", h, [
|
|
23
|
+
o[1] || (o[1] = e("h1", { class: "text-2xl font-bold mb-2" }, " Oops! It looks like you have no permission to access this page. ", -1)),
|
|
24
|
+
e("div", g, [
|
|
25
|
+
o[0] || (o[0] = e("p", null, " You'll be redirected to the homepage in 5 seconds. ", -1)),
|
|
26
|
+
a(s, {
|
|
27
|
+
class: "ml-6",
|
|
28
|
+
size: "lg"
|
|
29
|
+
})
|
|
30
|
+
])
|
|
31
|
+
])
|
|
32
|
+
]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
C as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as u, resolveComponent as i, openBlock as a, createElementBlock as s, createVNode as l, createElementVNode as k, renderSlot as b } from "vue";
|
|
2
|
+
import "@feedmepos/ui-library";
|
|
3
|
+
const f = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "flex items-center justify-center min-h-[80vh]"
|
|
6
|
+
}, g = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "m-6"
|
|
9
|
+
}, C = { class: "bg-white fm-corner-radius-md p-6" }, y = /* @__PURE__ */ u({
|
|
10
|
+
__name: "Layout",
|
|
11
|
+
props: {
|
|
12
|
+
loading: { type: Boolean },
|
|
13
|
+
title: {},
|
|
14
|
+
description: {},
|
|
15
|
+
onBack: { type: Function },
|
|
16
|
+
actions: {}
|
|
17
|
+
},
|
|
18
|
+
setup(t) {
|
|
19
|
+
return (r, o) => {
|
|
20
|
+
const m = i("FmCircularProgress"), d = i("FmPageHead");
|
|
21
|
+
return t.loading ? (a(), s("div", f, [
|
|
22
|
+
l(m, { size: "xxl" })
|
|
23
|
+
])) : (a(), s("div", g, [
|
|
24
|
+
l(d, {
|
|
25
|
+
class: "flex-grow mb-6",
|
|
26
|
+
title: t.title,
|
|
27
|
+
description: t.description,
|
|
28
|
+
"back-button": !!t.onBack,
|
|
29
|
+
actions: t.actions && t.actions.map((n, e) => ({ ...n, value: `cta-${e}` })),
|
|
30
|
+
"onClick:back": t.onBack,
|
|
31
|
+
"onClick:action": o[0] || (o[0] = (n) => {
|
|
32
|
+
var e, c;
|
|
33
|
+
return (c = (e = t.actions) == null ? void 0 : e.at(parseInt(n.substring(4)))) == null ? void 0 : c.fn();
|
|
34
|
+
})
|
|
35
|
+
}, null, 8, ["title", "description", "back-button", "actions", "onClick:back"]),
|
|
36
|
+
k("div", C, [
|
|
37
|
+
b(r.$slots, "default")
|
|
38
|
+
])
|
|
39
|
+
]));
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
y as _
|
|
45
|
+
};
|