@feedmepos/mf-payment 1.7.11-dev → 1.7.12-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-BK7eBqg8.js → Actions.vue_vue_type_script_setup_true_lang-DdBG90HC.js} +1 -1
- package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CJRHud1Y.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-C2J73WMk.js} +3 -3
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-kDEZmxJj.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-tYdz0j81.js} +18 -18
- package/dist/{Chargeback-B24AygKB.js → Chargeback-D_wFz2p4.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-ZTBItxH4.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CGNrd4fE.js} +484 -489
- package/dist/{OnboardForm-BoMXyBfu.js → OnboardForm-B102bmRL.js} +12 -11
- package/dist/{OnboardForm-DDtgBR70.js → OnboardForm-CMRWUCyg.js} +5 -5
- package/dist/{OnboardSubmission-NbKQg29f.js → OnboardSubmission-CPMns68t.js} +6 -6
- package/dist/{OnboardSubmission-FVa7wqyw.js → OnboardSubmission-DpkSlN4r.js} +3 -3
- package/dist/{PayoutAccount-B7uNxA-y.js → PayoutAccount-BNGyzqNn.js} +5 -5
- package/dist/{PayoutAccount-CbHUueB5.js → PayoutAccount-D6eA7HmO.js} +7 -7
- package/dist/{PayoutAccountSetting-Bi8us59u.js → PayoutAccountSetting-DS78fsR3.js} +6 -6
- package/dist/{Restaurant-ZKH4-27k.js → Restaurant-Cio7VUkb.js} +4 -4
- package/dist/{RestaurantSetting-5Ucv0fuX.js → RestaurantSetting-B6gL7KQL.js} +3 -3
- package/dist/{Settlement-Cs3498YL.js → Settlement-DeFs2PQv.js} +3 -3
- package/dist/{Settlement-D8Yoyler.js → Settlement-Dp5vZd70.js} +4 -4
- package/dist/{SettlementTransactions-CsLXxKAk.js → SettlementTransactions-CIxhmKO6.js} +5 -5
- package/dist/{SettlementTransactions-Lsb17Lxv.js → SettlementTransactions-Dp8voo7Z.js} +5 -5
- package/dist/{Status.vue_vue_type_script_setup_true_lang-eL7XwWJ3.js → Status.vue_vue_type_script_setup_true_lang-pJqWxDgv.js} +1 -1
- package/dist/{Terminal-BPh2BCua.js → Terminal-l_eDclB4.js} +5 -5
- package/dist/TerminalSetting-xEgYGJQR.js +6863 -0
- package/dist/{Transaction-DR2gQCKA.js → Transaction-CY7_Dise.js} +10 -10
- package/dist/{Transaction-DjLL4UN4.js → Transaction-Cquf2CrF.js} +11 -11
- package/dist/{TransactionOld-B5s1qngv.js → TransactionOld-BP_TbT0Z.js} +7 -7
- package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-B8mW53hn.js → TransactionStatus.vue_vue_type_script_setup_true_lang-C949IMDd.js} +1 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-D3wofEOS.js → app-C1R-s4Ra.js} +36 -36
- package/dist/app.js +1 -1
- package/dist/{assets-_mNJ5BSj.js → assets-C0Lm2EH8.js} +1 -1
- package/dist/{grafana-DG-OOrc6.js → grafana-B85M84CD.js} +1 -1
- package/dist/{index-zQrKAzs3.js → index-BBVX5lcY.js} +1 -1
- package/dist/{index-k8hRO-Tp.js → index-DW5Pjtqn.js} +1 -1
- package/dist/{index-zND3az_w.js → index-DYGKTL5K.js} +2 -2
- package/dist/{index-Bnlv9uae.js → index-DjwoAOnA.js} +16 -8
- package/dist/{index-COfZw5dL.js → index-DpHk2KjO.js} +1 -1
- package/dist/{index-BkLu8qJc.js → index-DrvpGxk3.js} +1 -1
- package/dist/{index-NX5RT8X0.js → index-OIrlcwQj.js} +1 -1
- package/dist/{index-C1BlMUKC.js → index-Oou8q_A6.js} +1 -1
- package/dist/{index-BqgiQOtT.js → index-llYeDBcp.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B6UiGJ2f.js → index.vue_vue_type_script_setup_true_lang-7YqB76ok.js} +1 -1
- package/dist/{onboard-submission-CCpAeH6U.js → onboard-submission-BvMXI4-2.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-ae78i0IG.js → payout-account-DS6DzoQ6.js} +19 -19
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +16 -8
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +16 -8
- package/dist/views/settlement/SettlementTable.vue.d.ts +4 -4
- package/package.json +2 -2
- package/dist/TerminalSetting-B79qs4mL.js +0 -2406
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, resolveComponent as o, openBlock as a, createBlock as s, withCtx as r, createElementVNode as d, unref as p, computed as g, createElementBlock as u, createVNode as m, Fragment as w, renderList as h } from "vue";
|
|
2
|
-
import { g as y, a as F } from "./assets-
|
|
2
|
+
import { g as y, a as F } from "./assets-C0Lm2EH8.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
const k = ["src"], M = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Gateway",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as T, useModel as U, ref as w, watch as j, computed as l, resolveComponent as i, openBlock as o, createBlock as c, withCtx as b, createVNode as g, createElementVNode as d, unref as _, createElementBlock as M, Fragment as Q, renderList as R, toDisplayString as I, createCommentVNode as H, withModifiers as J, mergeModels as X } from "vue";
|
|
2
|
-
import { g as Y, b as L } from "./index-
|
|
2
|
+
import { g as Y, b as L } from "./index-DjwoAOnA.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
|
-
import { k as ee } from "./app-
|
|
5
|
-
import { u as f } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { k as ee } from "./app-C1R-s4Ra.js";
|
|
5
|
+
import { u as f } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-tYdz0j81.js";
|
|
6
6
|
const k = {
|
|
7
7
|
async readBusinessesWithPagination(n) {
|
|
8
8
|
return (await L().get("/payments/businesses", {
|
|
@@ -3,11 +3,11 @@ var Se = (i) => {
|
|
|
3
3
|
};
|
|
4
4
|
var le = (i, e, t) => e.has(i) || Se("Cannot " + t);
|
|
5
5
|
var s = (i, e, t) => (le(i, e, "read from private field"), t ? t.call(i) : e.get(i)), m = (i, e, t) => e.has(i) ? Se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), d = (i, e, t, n) => (le(i, e, "write to private field"), n ? n.call(i, t) : e.set(i, t), t), f = (i, e, t) => (le(i, e, "access private method"), t);
|
|
6
|
-
import { hasInjectionContext as Ve, inject as je, getCurrentScope as ze, computed as _, shallowReactive as Ae, reactive as Be, watch as $, onScopeDispose as Ne, shallowReadonly as We, readonly as Ke, toRefs as $e, defineComponent as
|
|
7
|
-
import { r as de } from "./index-
|
|
6
|
+
import { hasInjectionContext as Ve, inject as je, getCurrentScope as ze, computed as _, shallowReactive as Ae, reactive as Be, watch as $, onScopeDispose as Ne, shallowReadonly as We, readonly as Ke, toRefs as $e, defineComponent as qe, useModel as Ge, toRef as He, ref as Fe, resolveComponent as K, openBlock as V, createBlock as Y, withCtx as ue, createVNode as ce, createElementVNode as re, unref as he, createElementBlock as Ie, Fragment as Je, renderList as Xe, toDisplayString as _e, createCommentVNode as Ye, withModifiers as Ze, mergeModels as et } from "vue";
|
|
7
|
+
import { r as de } from "./index-DpHk2KjO.js";
|
|
8
8
|
import { useI18n as tt } from "@feedmepos/mf-common";
|
|
9
|
-
import { S as st, p as ke, r as S, s as pe,
|
|
10
|
-
var R, o, te, y, j,
|
|
9
|
+
import { S as st, p as ke, r as S, s as pe, b as ee, n as it, e as xe, i as Ee, t as nt, d as oe, f as at, j as rt, l as Qe, m as ot, o as lt, q as ut, u as De, v as Me, k as ct } from "./app-C1R-s4Ra.js";
|
|
10
|
+
var R, o, te, y, j, q, Q, P, se, G, H, z, A, T, J, u, Z, me, ve, be, ye, ge, Re, Ce, Ue, Le, ht = (Le = class extends st {
|
|
11
11
|
constructor(e, t) {
|
|
12
12
|
super();
|
|
13
13
|
m(this, u);
|
|
@@ -16,14 +16,14 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
16
16
|
m(this, te);
|
|
17
17
|
m(this, y);
|
|
18
18
|
m(this, j);
|
|
19
|
-
m(this,
|
|
19
|
+
m(this, q);
|
|
20
20
|
m(this, Q);
|
|
21
21
|
m(this, P);
|
|
22
22
|
m(this, se);
|
|
23
|
-
m(this,
|
|
23
|
+
m(this, G);
|
|
24
24
|
// This property keeps track of the last query with defined data.
|
|
25
25
|
// It will be used to pass the previous data and query to the placeholder function between renders.
|
|
26
|
-
m(this,
|
|
26
|
+
m(this, H);
|
|
27
27
|
m(this, z);
|
|
28
28
|
m(this, A);
|
|
29
29
|
m(this, T);
|
|
@@ -79,7 +79,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
79
79
|
}
|
|
80
80
|
getOptimisticResult(e) {
|
|
81
81
|
const t = s(this, R).getQueryCache().build(s(this, R), e), n = this.createResult(t, e);
|
|
82
|
-
return ft(this, n) && (d(this, y, n), d(this,
|
|
82
|
+
return ft(this, n) && (d(this, y, n), d(this, q, this.options), d(this, j, s(this, o).state)), n;
|
|
83
83
|
}
|
|
84
84
|
getCurrentResult() {
|
|
85
85
|
return s(this, y);
|
|
@@ -116,7 +116,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
116
116
|
}
|
|
117
117
|
createResult(e, t) {
|
|
118
118
|
var ne;
|
|
119
|
-
const n = s(this, o), l = this.options, a = s(this, y), h = s(this, j), C = s(this,
|
|
119
|
+
const n = s(this, o), l = this.options, a = s(this, y), h = s(this, j), C = s(this, q), D = e !== n ? e.state : s(this, te), { state: L } = e;
|
|
120
120
|
let p = { ...L }, x = !1, r;
|
|
121
121
|
if (t._optimisticResults) {
|
|
122
122
|
const g = this.hasListeners(), U = !g && Pe(e, t), N = g && Te(e, n, t, l);
|
|
@@ -131,8 +131,8 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
131
131
|
if (t.placeholderData !== void 0 && r === void 0 && v === "pending") {
|
|
132
132
|
let g;
|
|
133
133
|
a != null && a.isPlaceholderData && t.placeholderData === (C == null ? void 0 : C.placeholderData) ? (g = a.data, M = !0) : g = typeof t.placeholderData == "function" ? t.placeholderData(
|
|
134
|
-
(ne = s(this,
|
|
135
|
-
s(this,
|
|
134
|
+
(ne = s(this, H)) == null ? void 0 : ne.state.data,
|
|
135
|
+
s(this, H)
|
|
136
136
|
) : t.placeholderData, g !== void 0 && (v = "success", r = Qe(
|
|
137
137
|
a == null ? void 0 : a.data,
|
|
138
138
|
g,
|
|
@@ -141,14 +141,14 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
141
141
|
}
|
|
142
142
|
if (t.select && r !== void 0 && !M)
|
|
143
143
|
if (a && r === (h == null ? void 0 : h.data) && t.select === s(this, se))
|
|
144
|
-
r = s(this,
|
|
144
|
+
r = s(this, G);
|
|
145
145
|
else
|
|
146
146
|
try {
|
|
147
|
-
d(this, se, t.select), r = t.select(r), r = Qe(a == null ? void 0 : a.data, r, t), d(this,
|
|
147
|
+
d(this, se, t.select), r = t.select(r), r = Qe(a == null ? void 0 : a.data, r, t), d(this, G, r), d(this, P, null);
|
|
148
148
|
} catch (g) {
|
|
149
149
|
d(this, P, g);
|
|
150
150
|
}
|
|
151
|
-
s(this, P) && (O = s(this, P), r = s(this,
|
|
151
|
+
s(this, P) && (O = s(this, P), r = s(this, G), I = Date.now(), v = "error");
|
|
152
152
|
const E = p.fetchStatus === "fetching", B = v === "pending", X = v === "error", ie = B && E, c = r !== void 0, w = {
|
|
153
153
|
status: v,
|
|
154
154
|
fetchStatus: p.fetchStatus,
|
|
@@ -200,7 +200,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
200
200
|
}
|
|
201
201
|
updateResult() {
|
|
202
202
|
const e = s(this, y), t = this.createResult(s(this, o), this.options);
|
|
203
|
-
if (d(this, j, s(this, o).state), d(this,
|
|
203
|
+
if (d(this, j, s(this, o).state), d(this, q, this.options), s(this, j).data !== void 0 && d(this, H, s(this, o)), pe(t, e))
|
|
204
204
|
return;
|
|
205
205
|
d(this, y, t);
|
|
206
206
|
const n = () => {
|
|
@@ -222,7 +222,7 @@ var R, o, te, y, j, G, Q, P, se, H, q, z, A, T, J, u, Z, me, ve, be, ye, ge, Re,
|
|
|
222
222
|
onQueryUpdate() {
|
|
223
223
|
this.updateResult(), this.hasListeners() && f(this, u, ye).call(this);
|
|
224
224
|
}
|
|
225
|
-
}, R = new WeakMap(), o = new WeakMap(), te = new WeakMap(), y = new WeakMap(), j = new WeakMap(),
|
|
225
|
+
}, R = new WeakMap(), o = new WeakMap(), te = new WeakMap(), y = new WeakMap(), j = new WeakMap(), q = new WeakMap(), Q = new WeakMap(), P = new WeakMap(), se = new WeakMap(), G = new WeakMap(), H = new WeakMap(), z = new WeakMap(), A = new WeakMap(), T = new WeakMap(), J = new WeakMap(), u = new WeakSet(), Z = function(e) {
|
|
226
226
|
f(this, u, Ce).call(this);
|
|
227
227
|
let t = s(this, o).fetch(
|
|
228
228
|
this.options,
|
|
@@ -375,7 +375,7 @@ function fe(i, e) {
|
|
|
375
375
|
const vt = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer" }, bt = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, yt = { class: "relative min-w-[280px]" }, gt = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, Rt = {
|
|
376
376
|
key: 0,
|
|
377
377
|
class: "px-8 py-12 text-center fm-typo-en-body-md-400 text-fm-color-neutral-gray-500"
|
|
378
|
-
}, It = /* @__PURE__ */
|
|
378
|
+
}, It = /* @__PURE__ */ qe({
|
|
379
379
|
__name: "AdminRestaurantSelector",
|
|
380
380
|
props: /* @__PURE__ */ et({
|
|
381
381
|
label: {},
|
|
@@ -390,7 +390,7 @@ const vt = { class: "inline-flex rounded-md items-center gap-4 justify-center h-
|
|
|
390
390
|
}),
|
|
391
391
|
emits: ["update:modelValue"],
|
|
392
392
|
setup(i) {
|
|
393
|
-
const e = i, t =
|
|
393
|
+
const e = i, t = Ge(i, "modelValue"), { t: n } = tt(), l = He(e, "businessId"), a = Fe(""), h = Fe("");
|
|
394
394
|
let C = null;
|
|
395
395
|
$(a, (c) => {
|
|
396
396
|
C && clearTimeout(C), C = setTimeout(() => h.value = c, 300);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as D, ref as C, resolveComponent as i, openBlock as k, createBlock as $, withCtx as v, createVNode as s, unref as b, createElementVNode as y, createElementBlock as Y, Fragment as B, renderList as K, watch as M, isRef as T, h as V } from "vue";
|
|
2
|
-
import { t as S } from "./index-
|
|
2
|
+
import { t as S } from "./index-DrvpGxk3.js";
|
|
3
3
|
import { h as f } from "./moment-h96o7c8I.js";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-DjwoAOnA.js";
|
|
5
5
|
import { d as A } from "./dinero-CIVmXLL-.js";
|
|
6
|
-
import { u as P } from "./index-
|
|
6
|
+
import { u as P } from "./index-llYeDBcp.js";
|
|
7
7
|
import { _ as q } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
8
8
|
import { _ as O } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
|
9
9
|
import { useDialogChild as U, useSnackbar as N, useDialog as x } from "@feedmepos/ui-library";
|
|
10
10
|
import { _ as E } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
|
|
11
|
-
import { _ as j } from "./index.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as j } from "./index.vue_vue_type_script_setup_true_lang-7YqB76ok.js";
|
|
12
12
|
import { _ as w } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
13
|
-
import { _ as z } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as z } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-tYdz0j81.js";
|
|
14
14
|
import { z as F, a as I, s as G } from "./validator-CTlVogBQ.js";
|
|
15
15
|
import { u as R } from "./error-K1CakhA9.js";
|
|
16
16
|
function H(a) {
|