@feedmepos/mf-payment 1.10.7 → 1.10.9-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-Cb4w7Its.js → Actions.vue_vue_type_script_setup_true_lang-BlRSHTGm.js} +1 -1
- package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-B_-olj-A.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-e6WXRYGH.js} +3 -3
- package/dist/AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-qbJr0Fpx.js +135 -0
- package/dist/{Chargeback-B5MXERko.js → Chargeback-Bf8X5DpJ.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DNrsl1TX.js → DocumentViewer.vue_vue_type_script_setup_true_lang-tvzC2-AN.js} +1 -1
- package/dist/{ExternalTerminal-bjMJ7qr-.js → ExternalTerminal-CJKc9YQu.js} +6 -6
- package/dist/{OnboardForm-CE0weADC.js → OnboardForm-Bc7PyOQu.js} +6 -6
- package/dist/{OnboardForm-BwFlXqV5.js → OnboardForm-Cs2frDsX.js} +6 -6
- package/dist/{OnboardSubmission-2s5PtLcm.js → OnboardSubmission-AzEqvWcF.js} +3 -3
- package/dist/{OnboardSubmission-C60-dPdV.js → OnboardSubmission-DLlDZDTp.js} +6 -6
- package/dist/PaymentCheckout-DmAAyMaB.js +1939 -0
- package/dist/{PayoutAccount-DnE00Tpx.js → PayoutAccount-CUNtHkkq.js} +5 -5
- package/dist/{PayoutAccount-PGN4vUiE.js → PayoutAccount-h9At-pUs.js} +7 -7
- package/dist/{PayoutAccountSetting-UxgmC_It.js → PayoutAccountSetting-DoxzEZrk.js} +6 -6
- package/dist/{Restaurant-DWs8l6IN.js → Restaurant-BQSBQlXV.js} +4 -4
- package/dist/{RestaurantSetting-CghN3Qij.js → RestaurantSetting-BWd81Nvi.js} +3 -3
- package/dist/{Settlement-DSAWgf1q.js → Settlement-BgDLErY_.js} +3 -3
- package/dist/{Settlement-BZG0nEhU.js → Settlement-DI1v2Lpr.js} +4 -4
- package/dist/{SettlementTransactions-5l9xe_rQ.js → SettlementTransactions-Btfe8TCX.js} +5 -5
- package/dist/{SettlementTransactions-dSH6mKX9.js → SettlementTransactions-sK3LTE7Z.js} +5 -5
- package/dist/{Status.vue_vue_type_script_setup_true_lang-CSz0sfMv.js → Status.vue_vue_type_script_setup_true_lang-CovSVk33.js} +1 -1
- package/dist/{Terminal-CU70aAqI.js → Terminal-DoTN1jZW.js} +6 -6
- package/dist/TerminalSetting-Bl0bfFAS.js +2785 -0
- package/dist/TerminalTemplate-BNHEOCY_.js +322 -0
- package/dist/TerminalTemplateSetting-BZ7K254Z.js +262 -0
- package/dist/{Transaction-9yHZiRAp.js → Transaction-4uK6M4p6.js} +10 -10
- package/dist/{Transaction-CHL7HVtl.js → Transaction-Ecs5btUl.js} +20 -19
- package/dist/{TransactionOld-Dk_5TVXm.js → TransactionOld-B3X3h7jS.js} +7 -7
- package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-D4A7Hfk7.js → TransactionStatus.vue_vue_type_script_setup_true_lang-DA1zB5A4.js} +1 -1
- package/dist/api/terminal/index.d.ts +1 -0
- package/dist/api/terminal-template/index.d.ts +15 -0
- package/dist/{app-WOQvK6eu.js → app-dDZS3WjU.js} +389 -353
- package/dist/app.js +1 -1
- package/dist/assets-qEh2VGg_.js +96 -0
- package/dist/{grafana-BqnbcwyU.js → grafana-DiwfCX5L.js} +1 -1
- package/dist/index-BICW93bZ.js +43 -0
- package/dist/{index-Cwbpxr-3.js → index-BMpISrhv.js} +1 -1
- package/dist/{index--Svzj_Uq.js → index-BpmTCNi5.js} +1 -1
- package/dist/{index-DiYIJH8n.js → index-CFJQ_HmA.js} +2 -2
- package/dist/{index-BRCt0Wjb.js → index-CHinJgjY.js} +3073 -3030
- package/dist/{index-Cc7BGx40.js → index-Cajpi2wX.js} +1 -1
- package/dist/{index-Jo4g2Fvl.js → index-D8zuI51D.js} +1 -1
- package/dist/{index-BPTPINow.js → index-DErywACZ.js} +1 -1
- package/dist/{index-BSUOKl_R.js → index-DGAk2CT0.js} +1 -1
- package/dist/{index-XucAJsGV.js → index-DoobQn7j.js} +1 -1
- package/dist/index-abg_ZrfF.js +71 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CQwRJloj.js → index.vue_vue_type_script_setup_true_lang-Gth5Pyzm.js} +1 -1
- package/dist/{onboard-submission-B7IRbUGm.js → onboard-submission-BC1A-2DE.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-v0EWhJ79.js → payout-account-CR-f3mDu.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/useQuery-B-FVTG9E.js +375 -0
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/BeamGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.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/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/BeamGateway.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 +8 -8
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
- 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 +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +8 -8
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/TerminalApplyTemplateDialog.vue.d.ts +6 -0
- package/dist/views/admin/terminal/TerminalSaveTemplateDialog.vue.d.ts +2 -0
- package/dist/views/admin/terminal-template/TerminalTemplate.vue.d.ts +2 -0
- package/dist/views/admin/terminal-template/TerminalTemplateSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal-template/TerminalTemplateSideSheet.vue.d.ts +174 -0
- package/dist/views/admin/terminal-template/cell/Actions.vue.d.ts +12 -0
- package/dist/views/admin/terminal-template/cell/Default.vue.d.ts +5 -0
- package/dist/views/admin/terminal-template/tabs/EcrGateways.vue.d.ts +104 -0
- package/dist/views/admin/terminal-template/tabs/Information.vue.d.ts +95 -0
- package/package.json +2 -2
- package/dist/AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-KddyORH2.js +0 -505
- package/dist/TerminalSetting-Bc6HJqCW.js +0 -4521
- package/dist/assets-B_Ilda1K.js +0 -96
- package/dist/index-BR7n0dkV.js +0 -63
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
var ft = (i) => {
|
|
2
|
+
throw TypeError(i);
|
|
3
|
+
};
|
|
4
|
+
var $ = (i, t, s) => t.has(i) || ft("Cannot " + s);
|
|
5
|
+
var e = (i, t, s) => ($(i, t, "read from private field"), s ? s.call(i) : t.get(i)), f = (i, t, s) => t.has(i) ? ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), u = (i, t, s, r) => ($(i, t, "write to private field"), r ? r.call(i, s) : t.set(i, s), s), c = (i, t, s) => ($(i, t, "access private method"), s);
|
|
6
|
+
import { S as St, p as pt, r as g, s as q, a as W, n as Qt, e as bt, i as vt, t as It, b as J, f as Et, c as Dt, d as yt, g as Tt, j as Ft, l as Ut, u as mt, m as gt } from "./app-dDZS3WjU.js";
|
|
7
|
+
import { hasInjectionContext as xt, inject as Mt, getCurrentScope as Pt, computed as jt, shallowReactive as kt, reactive as Lt, watch as X, onScopeDispose as _t, shallowReadonly as At, readonly as Vt, toRefs as Wt } from "vue";
|
|
8
|
+
var v, n, z, b, T, M, w, Q, B, P, j, F, U, I, k, h, V, tt, et, st, it, nt, rt, at, wt, Ct, zt = (Ct = class extends St {
|
|
9
|
+
constructor(t, s) {
|
|
10
|
+
super();
|
|
11
|
+
f(this, h);
|
|
12
|
+
f(this, v);
|
|
13
|
+
f(this, n);
|
|
14
|
+
f(this, z);
|
|
15
|
+
f(this, b);
|
|
16
|
+
f(this, T);
|
|
17
|
+
f(this, M);
|
|
18
|
+
f(this, w);
|
|
19
|
+
f(this, Q);
|
|
20
|
+
f(this, B);
|
|
21
|
+
f(this, P);
|
|
22
|
+
// This property keeps track of the last query with defined data.
|
|
23
|
+
// It will be used to pass the previous data and query to the placeholder function between renders.
|
|
24
|
+
f(this, j);
|
|
25
|
+
f(this, F);
|
|
26
|
+
f(this, U);
|
|
27
|
+
f(this, I);
|
|
28
|
+
f(this, k, /* @__PURE__ */ new Set());
|
|
29
|
+
this.options = s, u(this, v, t), u(this, Q, null), u(this, w, pt()), this.bindMethods(), this.setOptions(s);
|
|
30
|
+
}
|
|
31
|
+
bindMethods() {
|
|
32
|
+
this.refetch = this.refetch.bind(this);
|
|
33
|
+
}
|
|
34
|
+
onSubscribe() {
|
|
35
|
+
this.listeners.size === 1 && (e(this, n).addObserver(this), Rt(e(this, n), this.options) ? c(this, h, V).call(this) : this.updateResult(), c(this, h, it).call(this));
|
|
36
|
+
}
|
|
37
|
+
onUnsubscribe() {
|
|
38
|
+
this.hasListeners() || this.destroy();
|
|
39
|
+
}
|
|
40
|
+
shouldFetchOnReconnect() {
|
|
41
|
+
return ot(
|
|
42
|
+
e(this, n),
|
|
43
|
+
this.options,
|
|
44
|
+
this.options.refetchOnReconnect
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
shouldFetchOnWindowFocus() {
|
|
48
|
+
return ot(
|
|
49
|
+
e(this, n),
|
|
50
|
+
this.options,
|
|
51
|
+
this.options.refetchOnWindowFocus
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
destroy() {
|
|
55
|
+
this.listeners = /* @__PURE__ */ new Set(), c(this, h, nt).call(this), c(this, h, rt).call(this), e(this, n).removeObserver(this);
|
|
56
|
+
}
|
|
57
|
+
setOptions(t) {
|
|
58
|
+
const s = this.options, r = e(this, n);
|
|
59
|
+
if (this.options = e(this, v).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof g(this.options.enabled, e(this, n)) != "boolean")
|
|
60
|
+
throw new Error(
|
|
61
|
+
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
62
|
+
);
|
|
63
|
+
c(this, h, at).call(this), e(this, n).setOptions(this.options), s._defaulted && !q(this.options, s) && e(this, v).getQueryCache().notify({
|
|
64
|
+
type: "observerOptionsUpdated",
|
|
65
|
+
query: e(this, n),
|
|
66
|
+
observer: this
|
|
67
|
+
});
|
|
68
|
+
const l = this.hasListeners();
|
|
69
|
+
l && Ot(
|
|
70
|
+
e(this, n),
|
|
71
|
+
r,
|
|
72
|
+
this.options,
|
|
73
|
+
s
|
|
74
|
+
) && c(this, h, V).call(this), this.updateResult(), l && (e(this, n) !== r || g(this.options.enabled, e(this, n)) !== g(s.enabled, e(this, n)) || W(this.options.staleTime, e(this, n)) !== W(s.staleTime, e(this, n))) && c(this, h, tt).call(this);
|
|
75
|
+
const o = c(this, h, et).call(this);
|
|
76
|
+
l && (e(this, n) !== r || g(this.options.enabled, e(this, n)) !== g(s.enabled, e(this, n)) || o !== e(this, I)) && c(this, h, st).call(this, o);
|
|
77
|
+
}
|
|
78
|
+
getOptimisticResult(t) {
|
|
79
|
+
const s = e(this, v).getQueryCache().build(e(this, v), t), r = this.createResult(s, t);
|
|
80
|
+
return Nt(this, r) && (u(this, b, r), u(this, M, this.options), u(this, T, e(this, n).state)), r;
|
|
81
|
+
}
|
|
82
|
+
getCurrentResult() {
|
|
83
|
+
return e(this, b);
|
|
84
|
+
}
|
|
85
|
+
trackResult(t, s) {
|
|
86
|
+
return new Proxy(t, {
|
|
87
|
+
get: (r, l) => (this.trackProp(l), s == null || s(l), l === "promise" && (this.trackProp("data"), !this.options.experimental_prefetchInRender && e(this, w).status === "pending" && e(this, w).reject(
|
|
88
|
+
new Error(
|
|
89
|
+
"experimental_prefetchInRender feature flag is not enabled"
|
|
90
|
+
)
|
|
91
|
+
)), Reflect.get(r, l))
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
trackProp(t) {
|
|
95
|
+
e(this, k).add(t);
|
|
96
|
+
}
|
|
97
|
+
getCurrentQuery() {
|
|
98
|
+
return e(this, n);
|
|
99
|
+
}
|
|
100
|
+
refetch({ ...t } = {}) {
|
|
101
|
+
return this.fetch({
|
|
102
|
+
...t
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
fetchOptimistic(t) {
|
|
106
|
+
const s = e(this, v).defaultQueryOptions(t), r = e(this, v).getQueryCache().build(e(this, v), s);
|
|
107
|
+
return r.fetch().then(() => this.createResult(r, s));
|
|
108
|
+
}
|
|
109
|
+
fetch(t) {
|
|
110
|
+
return c(this, h, V).call(this, {
|
|
111
|
+
...t,
|
|
112
|
+
cancelRefetch: t.cancelRefetch ?? !0
|
|
113
|
+
}).then(() => (this.updateResult(), e(this, b)));
|
|
114
|
+
}
|
|
115
|
+
createResult(t, s) {
|
|
116
|
+
var ct;
|
|
117
|
+
const r = e(this, n), l = this.options, o = e(this, b), d = e(this, T), O = e(this, M), L = t !== r ? t.state : e(this, z), { state: N } = t;
|
|
118
|
+
let p = { ...N }, D = !1, a;
|
|
119
|
+
if (s._optimisticResults) {
|
|
120
|
+
const m = this.hasListeners(), A = !m && Rt(t, s), H = m && Ot(t, r, s, l);
|
|
121
|
+
(A || H) && (p = {
|
|
122
|
+
...p,
|
|
123
|
+
...Dt(N.data, t.options)
|
|
124
|
+
}), s._optimisticResults === "isRestoring" && (p.fetchStatus = "idle");
|
|
125
|
+
}
|
|
126
|
+
let { error: R, errorUpdatedAt: C, status: y } = p;
|
|
127
|
+
a = p.data;
|
|
128
|
+
let _ = !1;
|
|
129
|
+
if (s.placeholderData !== void 0 && a === void 0 && y === "pending") {
|
|
130
|
+
let m;
|
|
131
|
+
o != null && o.isPlaceholderData && s.placeholderData === (O == null ? void 0 : O.placeholderData) ? (m = o.data, _ = !0) : m = typeof s.placeholderData == "function" ? s.placeholderData(
|
|
132
|
+
(ct = e(this, j)) == null ? void 0 : ct.state.data,
|
|
133
|
+
e(this, j)
|
|
134
|
+
) : s.placeholderData, m !== void 0 && (y = "success", a = yt(
|
|
135
|
+
o == null ? void 0 : o.data,
|
|
136
|
+
m,
|
|
137
|
+
s
|
|
138
|
+
), D = !0);
|
|
139
|
+
}
|
|
140
|
+
if (s.select && a !== void 0 && !_)
|
|
141
|
+
if (o && a === (d == null ? void 0 : d.data) && s.select === e(this, B))
|
|
142
|
+
a = e(this, P);
|
|
143
|
+
else
|
|
144
|
+
try {
|
|
145
|
+
u(this, B, s.select), a = s.select(a), a = yt(o == null ? void 0 : o.data, a, s), u(this, P, a), u(this, Q, null);
|
|
146
|
+
} catch (m) {
|
|
147
|
+
u(this, Q, m);
|
|
148
|
+
}
|
|
149
|
+
e(this, Q) && (R = e(this, Q), a = e(this, P), C = Date.now(), y = "error");
|
|
150
|
+
const x = p.fetchStatus === "fetching", Y = y === "pending", Z = y === "error", lt = Y && x, ut = a !== void 0, S = {
|
|
151
|
+
status: y,
|
|
152
|
+
fetchStatus: p.fetchStatus,
|
|
153
|
+
isPending: Y,
|
|
154
|
+
isSuccess: y === "success",
|
|
155
|
+
isError: Z,
|
|
156
|
+
isInitialLoading: lt,
|
|
157
|
+
isLoading: lt,
|
|
158
|
+
data: a,
|
|
159
|
+
dataUpdatedAt: p.dataUpdatedAt,
|
|
160
|
+
error: R,
|
|
161
|
+
errorUpdatedAt: C,
|
|
162
|
+
failureCount: p.fetchFailureCount,
|
|
163
|
+
failureReason: p.fetchFailureReason,
|
|
164
|
+
errorUpdateCount: p.errorUpdateCount,
|
|
165
|
+
isFetched: t.isFetched(),
|
|
166
|
+
isFetchedAfterMount: p.dataUpdateCount > L.dataUpdateCount || p.errorUpdateCount > L.errorUpdateCount,
|
|
167
|
+
isFetching: x,
|
|
168
|
+
isRefetching: x && !Y,
|
|
169
|
+
isLoadingError: Z && !ut,
|
|
170
|
+
isPaused: p.fetchStatus === "paused",
|
|
171
|
+
isPlaceholderData: D,
|
|
172
|
+
isRefetchError: Z && ut,
|
|
173
|
+
isStale: ht(t, s),
|
|
174
|
+
refetch: this.refetch,
|
|
175
|
+
promise: e(this, w),
|
|
176
|
+
isEnabled: g(s.enabled, t) !== !1
|
|
177
|
+
};
|
|
178
|
+
if (this.options.experimental_prefetchInRender) {
|
|
179
|
+
const m = S.data !== void 0, A = S.status === "error" && !m, H = (G) => {
|
|
180
|
+
A ? G.reject(S.error) : m && G.resolve(S.data);
|
|
181
|
+
}, dt = () => {
|
|
182
|
+
const G = u(this, w, S.promise = pt());
|
|
183
|
+
H(G);
|
|
184
|
+
}, K = e(this, w);
|
|
185
|
+
switch (K.status) {
|
|
186
|
+
case "pending":
|
|
187
|
+
t.queryHash === r.queryHash && H(K);
|
|
188
|
+
break;
|
|
189
|
+
case "fulfilled":
|
|
190
|
+
(A || S.data !== K.value) && dt();
|
|
191
|
+
break;
|
|
192
|
+
case "rejected":
|
|
193
|
+
(!A || S.error !== K.reason) && dt();
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
return S;
|
|
198
|
+
}
|
|
199
|
+
updateResult() {
|
|
200
|
+
const t = e(this, b), s = this.createResult(e(this, n), this.options);
|
|
201
|
+
if (u(this, T, e(this, n).state), u(this, M, this.options), e(this, T).data !== void 0 && u(this, j, e(this, n)), q(s, t))
|
|
202
|
+
return;
|
|
203
|
+
u(this, b, s);
|
|
204
|
+
const r = () => {
|
|
205
|
+
if (!t)
|
|
206
|
+
return !0;
|
|
207
|
+
const { notifyOnChangeProps: l } = this.options, o = typeof l == "function" ? l() : l;
|
|
208
|
+
if (o === "all" || !o && !e(this, k).size)
|
|
209
|
+
return !0;
|
|
210
|
+
const d = new Set(
|
|
211
|
+
o ?? e(this, k)
|
|
212
|
+
);
|
|
213
|
+
return this.options.throwOnError && d.add("error"), Object.keys(e(this, b)).some((O) => {
|
|
214
|
+
const E = O;
|
|
215
|
+
return e(this, b)[E] !== t[E] && d.has(E);
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
c(this, h, wt).call(this, { listeners: r() });
|
|
219
|
+
}
|
|
220
|
+
onQueryUpdate() {
|
|
221
|
+
this.updateResult(), this.hasListeners() && c(this, h, it).call(this);
|
|
222
|
+
}
|
|
223
|
+
}, v = new WeakMap(), n = new WeakMap(), z = new WeakMap(), b = new WeakMap(), T = new WeakMap(), M = new WeakMap(), w = new WeakMap(), Q = new WeakMap(), B = new WeakMap(), P = new WeakMap(), j = new WeakMap(), F = new WeakMap(), U = new WeakMap(), I = new WeakMap(), k = new WeakMap(), h = new WeakSet(), V = function(t) {
|
|
224
|
+
c(this, h, at).call(this);
|
|
225
|
+
let s = e(this, n).fetch(
|
|
226
|
+
this.options,
|
|
227
|
+
t
|
|
228
|
+
);
|
|
229
|
+
return t != null && t.throwOnError || (s = s.catch(Qt)), s;
|
|
230
|
+
}, tt = function() {
|
|
231
|
+
c(this, h, nt).call(this);
|
|
232
|
+
const t = W(
|
|
233
|
+
this.options.staleTime,
|
|
234
|
+
e(this, n)
|
|
235
|
+
);
|
|
236
|
+
if (bt.isServer() || e(this, b).isStale || !vt(t))
|
|
237
|
+
return;
|
|
238
|
+
const r = It(e(this, b).dataUpdatedAt, t) + 1;
|
|
239
|
+
u(this, F, J.setTimeout(() => {
|
|
240
|
+
e(this, b).isStale || this.updateResult();
|
|
241
|
+
}, r));
|
|
242
|
+
}, et = function() {
|
|
243
|
+
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(e(this, n)) : this.options.refetchInterval) ?? !1;
|
|
244
|
+
}, st = function(t) {
|
|
245
|
+
c(this, h, rt).call(this), u(this, I, t), !(bt.isServer() || g(this.options.enabled, e(this, n)) === !1 || !vt(e(this, I)) || e(this, I) === 0) && u(this, U, J.setInterval(() => {
|
|
246
|
+
(this.options.refetchIntervalInBackground || Et.isFocused()) && c(this, h, V).call(this);
|
|
247
|
+
}, e(this, I)));
|
|
248
|
+
}, it = function() {
|
|
249
|
+
c(this, h, tt).call(this), c(this, h, st).call(this, c(this, h, et).call(this));
|
|
250
|
+
}, nt = function() {
|
|
251
|
+
e(this, F) !== void 0 && (J.clearTimeout(e(this, F)), u(this, F, void 0));
|
|
252
|
+
}, rt = function() {
|
|
253
|
+
e(this, U) !== void 0 && (J.clearInterval(e(this, U)), u(this, U, void 0));
|
|
254
|
+
}, at = function() {
|
|
255
|
+
const t = e(this, v).getQueryCache().build(e(this, v), this.options);
|
|
256
|
+
if (t === e(this, n))
|
|
257
|
+
return;
|
|
258
|
+
const s = e(this, n);
|
|
259
|
+
u(this, n, t), u(this, z, t.state), this.hasListeners() && (s == null || s.removeObserver(this), t.addObserver(this));
|
|
260
|
+
}, wt = function(t) {
|
|
261
|
+
Tt.batch(() => {
|
|
262
|
+
t.listeners && this.listeners.forEach((s) => {
|
|
263
|
+
s(e(this, b));
|
|
264
|
+
}), e(this, v).getQueryCache().notify({
|
|
265
|
+
query: e(this, n),
|
|
266
|
+
type: "observerResultsUpdated"
|
|
267
|
+
});
|
|
268
|
+
});
|
|
269
|
+
}, Ct);
|
|
270
|
+
function Bt(i, t) {
|
|
271
|
+
return g(t.enabled, i) !== !1 && i.state.data === void 0 && !(i.state.status === "error" && g(t.retryOnMount, i) === !1);
|
|
272
|
+
}
|
|
273
|
+
function Rt(i, t) {
|
|
274
|
+
return Bt(i, t) || i.state.data !== void 0 && ot(i, t, t.refetchOnMount);
|
|
275
|
+
}
|
|
276
|
+
function ot(i, t, s) {
|
|
277
|
+
if (g(t.enabled, i) !== !1 && W(t.staleTime, i) !== "static") {
|
|
278
|
+
const r = typeof s == "function" ? s(i) : s;
|
|
279
|
+
return r === "always" || r !== !1 && ht(i, t);
|
|
280
|
+
}
|
|
281
|
+
return !1;
|
|
282
|
+
}
|
|
283
|
+
function Ot(i, t, s, r) {
|
|
284
|
+
return (i !== t || g(r.enabled, i) === !1) && (!s.suspense || i.state.status !== "error") && ht(i, s);
|
|
285
|
+
}
|
|
286
|
+
function ht(i, t) {
|
|
287
|
+
return g(t.enabled, i) !== !1 && i.isStaleByTime(W(t.staleTime, i));
|
|
288
|
+
}
|
|
289
|
+
function Nt(i, t) {
|
|
290
|
+
return !q(i.getCurrentResult(), t);
|
|
291
|
+
}
|
|
292
|
+
function Ht(i = "") {
|
|
293
|
+
if (!xt())
|
|
294
|
+
throw new Error(
|
|
295
|
+
"vue-query hooks can only be used inside setup() function or functions that support injection context."
|
|
296
|
+
);
|
|
297
|
+
const t = Ft(i), s = Mt(t);
|
|
298
|
+
if (!s)
|
|
299
|
+
throw new Error(
|
|
300
|
+
"No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library."
|
|
301
|
+
);
|
|
302
|
+
return s;
|
|
303
|
+
}
|
|
304
|
+
function Kt(i, t, s) {
|
|
305
|
+
process.env.NODE_ENV === "development" && (Pt() || console.warn(
|
|
306
|
+
'vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.'
|
|
307
|
+
));
|
|
308
|
+
const r = Ht(), l = jt(() => {
|
|
309
|
+
var y;
|
|
310
|
+
let a = t;
|
|
311
|
+
typeof a == "function" && (a = a());
|
|
312
|
+
const R = Ut(a);
|
|
313
|
+
typeof R.enabled == "function" && (R.enabled = R.enabled());
|
|
314
|
+
const C = r.defaultQueryOptions(R);
|
|
315
|
+
return C._optimisticResults = (y = r.isRestoring) != null && y.value ? "isRestoring" : "optimistic", C;
|
|
316
|
+
}), o = new i(r, l.value), d = l.value.shallow ? kt(o.getCurrentResult()) : Lt(o.getCurrentResult());
|
|
317
|
+
let O = () => {
|
|
318
|
+
};
|
|
319
|
+
r.isRestoring && X(
|
|
320
|
+
r.isRestoring,
|
|
321
|
+
(a) => {
|
|
322
|
+
a || (O(), O = o.subscribe((R) => {
|
|
323
|
+
mt(d, R);
|
|
324
|
+
}));
|
|
325
|
+
},
|
|
326
|
+
{ immediate: !0 }
|
|
327
|
+
);
|
|
328
|
+
const E = () => {
|
|
329
|
+
o.setOptions(l.value), mt(d, o.getCurrentResult());
|
|
330
|
+
};
|
|
331
|
+
X(l, E), _t(() => {
|
|
332
|
+
O();
|
|
333
|
+
});
|
|
334
|
+
const L = (...a) => (E(), d.refetch(...a)), N = () => new Promise(
|
|
335
|
+
(a, R) => {
|
|
336
|
+
let C = () => {
|
|
337
|
+
};
|
|
338
|
+
const y = () => {
|
|
339
|
+
if (l.value.enabled !== !1) {
|
|
340
|
+
o.setOptions(l.value);
|
|
341
|
+
const _ = o.getOptimisticResult(
|
|
342
|
+
l.value
|
|
343
|
+
);
|
|
344
|
+
_.isStale ? (C(), o.fetchOptimistic(l.value).then(a, (x) => {
|
|
345
|
+
gt(l.value.throwOnError, [
|
|
346
|
+
x,
|
|
347
|
+
o.getCurrentQuery()
|
|
348
|
+
]) ? R(x) : a(o.getCurrentResult());
|
|
349
|
+
})) : (C(), a(_));
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
y(), C = X(l, y);
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
X(
|
|
356
|
+
() => d.error,
|
|
357
|
+
(a) => {
|
|
358
|
+
if (d.isError && !d.isFetching && gt(l.value.throwOnError, [
|
|
359
|
+
a,
|
|
360
|
+
o.getCurrentQuery()
|
|
361
|
+
]))
|
|
362
|
+
throw a;
|
|
363
|
+
}
|
|
364
|
+
);
|
|
365
|
+
const p = l.value.shallow ? At(d) : Vt(d), D = Wt(p);
|
|
366
|
+
for (const a in d)
|
|
367
|
+
typeof d[a] == "function" && (D[a] = d[a]);
|
|
368
|
+
return D.suspense = N, D.refetch = L, D;
|
|
369
|
+
}
|
|
370
|
+
function Zt(i, t) {
|
|
371
|
+
return Kt(zt, i);
|
|
372
|
+
}
|
|
373
|
+
export {
|
|
374
|
+
Zt as u
|
|
375
|
+
};
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
statusBy?: string | null | undefined;
|
|
9
9
|
tokens?: {
|
|
10
10
|
type: "googlePay" | "applePay";
|
|
11
|
-
gateway: "
|
|
11
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
12
12
|
config: {
|
|
13
13
|
gateway: string;
|
|
14
14
|
gatewayMerchantId: string;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
conditionValue?: any;
|
|
83
83
|
}[] | null | undefined;
|
|
84
84
|
value: string;
|
|
85
|
-
gateway: "
|
|
85
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
86
86
|
icon: string;
|
|
87
87
|
label: string;
|
|
88
88
|
}[] | null | undefined;
|
|
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
135
|
statusBy?: string | null | undefined;
|
|
136
136
|
tokens?: {
|
|
137
137
|
type: "googlePay" | "applePay";
|
|
138
|
-
gateway: "
|
|
138
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
139
139
|
config: {
|
|
140
140
|
gateway: string;
|
|
141
141
|
gatewayMerchantId: string;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
209
|
conditionValue?: any;
|
|
210
210
|
}[] | null | undefined;
|
|
211
211
|
value: string;
|
|
212
|
-
gateway: "
|
|
212
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
213
213
|
icon: string;
|
|
214
214
|
label: string;
|
|
215
215
|
}[] | null | undefined;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
statusBy?: string | null | undefined;
|
|
9
9
|
tokens?: {
|
|
10
10
|
type: "googlePay" | "applePay";
|
|
11
|
-
gateway: "
|
|
11
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
12
12
|
config: {
|
|
13
13
|
gateway: string;
|
|
14
14
|
gatewayMerchantId: string;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
conditionValue?: any;
|
|
83
83
|
}[] | null | undefined;
|
|
84
84
|
value: string;
|
|
85
|
-
gateway: "
|
|
85
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
86
86
|
icon: string;
|
|
87
87
|
label: string;
|
|
88
88
|
}[] | null | undefined;
|
|
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
135
|
statusBy?: string | null | undefined;
|
|
136
136
|
tokens?: {
|
|
137
137
|
type: "googlePay" | "applePay";
|
|
138
|
-
gateway: "
|
|
138
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
139
139
|
config: {
|
|
140
140
|
gateway: string;
|
|
141
141
|
gatewayMerchantId: string;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
209
|
conditionValue?: any;
|
|
210
210
|
}[] | null | undefined;
|
|
211
211
|
value: string;
|
|
212
|
-
gateway: "
|
|
212
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
213
213
|
icon: string;
|
|
214
214
|
label: string;
|
|
215
215
|
}[] | null | undefined;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
statusBy?: string | null | undefined;
|
|
9
9
|
tokens?: {
|
|
10
10
|
type: "googlePay" | "applePay";
|
|
11
|
-
gateway: "
|
|
11
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
12
12
|
config: {
|
|
13
13
|
gateway: string;
|
|
14
14
|
gatewayMerchantId: string;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
conditionValue?: any;
|
|
83
83
|
}[] | null | undefined;
|
|
84
84
|
value: string;
|
|
85
|
-
gateway: "
|
|
85
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
86
86
|
icon: string;
|
|
87
87
|
label: string;
|
|
88
88
|
}[] | null | undefined;
|
|
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
135
|
statusBy?: string | null | undefined;
|
|
136
136
|
tokens?: {
|
|
137
137
|
type: "googlePay" | "applePay";
|
|
138
|
-
gateway: "
|
|
138
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
139
139
|
config: {
|
|
140
140
|
gateway: string;
|
|
141
141
|
gatewayMerchantId: string;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
209
|
conditionValue?: any;
|
|
210
210
|
}[] | null | undefined;
|
|
211
211
|
value: string;
|
|
212
|
-
gateway: "
|
|
212
|
+
gateway: "REVENUE_MONSTER" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "MACAU_PASS" | "GRAB" | "SOFTSPACE" | "DIGIO" | "ADYEN" | "KSHER" | "MAYBANK_QR" | "MONETAPAY" | "BEAM" | "GHL" | "FEEDME" | "CASH" | "KBANK" | "FEEDME_TERMINAL" | "GHL2" | "GHL3" | "MAYBANK" | "MAYBANK2" | "MAYBANK3" | "PBB" | "NETS" | "ADYEN_WECHATPAY" | "ADYEN_ALIPAY" | "KSHER_PROMPTPAY" | "KSHER_WECHATPAY" | "KSHER_ALIPAY" | "HLBB" | "GLOBAL_PAYMENTS" | "OMA" | "TYRO" | "REVENUE" | "BEAM_ALIPAY" | "BEAM_WECHATPAY" | "BEAM_SHOPEEPAY" | "BEAM_LINEPAY" | "BEAM_TRUEMONEY" | "BRI";
|
|
213
213
|
icon: string;
|
|
214
214
|
label: string;
|
|
215
215
|
}[] | null | undefined;
|
|
@@ -2,15 +2,15 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
gateway: {
|
|
4
4
|
type: PropType<{
|
|
5
|
+
paymentGateway: "ADYEN";
|
|
5
6
|
config: {
|
|
6
7
|
hmacKey?: string | null | undefined;
|
|
8
|
+
clientKey: string;
|
|
7
9
|
merchantAccount: string;
|
|
8
10
|
username: string;
|
|
9
11
|
apiKey: string;
|
|
10
|
-
clientKey: string;
|
|
11
12
|
endpoint: string;
|
|
12
13
|
};
|
|
13
|
-
paymentGateway: "ADYEN";
|
|
14
14
|
} | undefined>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
@@ -25,15 +25,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
gateway: {
|
|
27
27
|
type: PropType<{
|
|
28
|
+
paymentGateway: "ADYEN";
|
|
28
29
|
config: {
|
|
29
30
|
hmacKey?: string | null | undefined;
|
|
31
|
+
clientKey: string;
|
|
30
32
|
merchantAccount: string;
|
|
31
33
|
username: string;
|
|
32
34
|
apiKey: string;
|
|
33
|
-
clientKey: string;
|
|
34
35
|
endpoint: string;
|
|
35
36
|
};
|
|
36
|
-
paymentGateway: "ADYEN";
|
|
37
37
|
} | undefined>;
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
@@ -2,12 +2,12 @@ import type { PropType } from "vue";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
gateway: {
|
|
4
4
|
type: PropType<{
|
|
5
|
+
paymentGateway: "BEAM";
|
|
5
6
|
config: {
|
|
6
7
|
isDirect?: boolean | undefined;
|
|
7
8
|
merchantId: string;
|
|
8
9
|
apiKey: string;
|
|
9
10
|
};
|
|
10
|
-
paymentGateway: "BEAM";
|
|
11
11
|
} | undefined>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
@@ -22,12 +22,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
gateway: {
|
|
24
24
|
type: PropType<{
|
|
25
|
+
paymentGateway: "BEAM";
|
|
25
26
|
config: {
|
|
26
27
|
isDirect?: boolean | undefined;
|
|
27
28
|
merchantId: string;
|
|
28
29
|
apiKey: string;
|
|
29
30
|
};
|
|
30
|
-
paymentGateway: "BEAM";
|
|
31
31
|
} | undefined>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
@@ -2,11 +2,11 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
gateway: {
|
|
4
4
|
type: PropType<{
|
|
5
|
+
paymentGateway: "DIGIO";
|
|
5
6
|
config: {
|
|
6
7
|
merchantId: string;
|
|
7
8
|
cardMerchantId: string;
|
|
8
9
|
};
|
|
9
|
-
paymentGateway: "DIGIO";
|
|
10
10
|
} | undefined>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
@@ -21,11 +21,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
gateway: {
|
|
23
23
|
type: PropType<{
|
|
24
|
+
paymentGateway: "DIGIO";
|
|
24
25
|
config: {
|
|
25
26
|
merchantId: string;
|
|
26
27
|
cardMerchantId: string;
|
|
27
28
|
};
|
|
28
|
-
paymentGateway: "DIGIO";
|
|
29
29
|
} | undefined>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
@@ -2,12 +2,12 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
gateway: {
|
|
4
4
|
type: PropType<{
|
|
5
|
+
paymentGateway: "RAZER_MERCHANT_SERVICE";
|
|
5
6
|
config: {
|
|
6
7
|
merchantId: string;
|
|
7
|
-
secretKey: string;
|
|
8
8
|
verifyKey: string;
|
|
9
|
+
secretKey: string;
|
|
9
10
|
};
|
|
10
|
-
paymentGateway: "RAZER_MERCHANT_SERVICE";
|
|
11
11
|
} | undefined>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
@@ -22,12 +22,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
gateway: {
|
|
24
24
|
type: PropType<{
|
|
25
|
+
paymentGateway: "RAZER_MERCHANT_SERVICE";
|
|
25
26
|
config: {
|
|
26
27
|
merchantId: string;
|
|
27
|
-
secretKey: string;
|
|
28
28
|
verifyKey: string;
|
|
29
|
+
secretKey: string;
|
|
29
30
|
};
|
|
30
|
-
paymentGateway: "RAZER_MERCHANT_SERVICE";
|
|
31
31
|
} | undefined>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|