@feedmepos/mf-payment 1.1.3 → 1.1.5-beta.1
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/{PayoutAccount-QN56UYcn.js → PayoutAccount--j-jJWMQ.js} +5 -5
- package/dist/{PayoutAccount-R63Nclyl.js → PayoutAccount-BERFCsMv.js} +3 -3
- package/dist/{PayoutAccountSetting-BZLLqj9W.js → PayoutAccountSetting-ChxkU61V.js} +3 -3
- package/dist/{Restaurant-DPtLZz_t.js → Restaurant-DQjoEvF_.js} +4 -4
- package/dist/{RestaurantSetting-BKEXfi-2.js → RestaurantSetting-Gr65NXud.js} +3 -3
- package/dist/{Settlement-FrNSATfN.js → Settlement-B-3O3EId.js} +3 -3
- package/dist/{Settlement-C9XlPvOC.js → Settlement-Cq_4_1ua.js} +3 -3
- package/dist/{SettlementTransactions-vIaQzZLb.js → SettlementTransactions-CJbf1zL2.js} +3 -3
- package/dist/{SettlementTransactions-B97pfd3e.js → SettlementTransactions-Db6_Nv3v.js} +3 -3
- package/dist/{Terminal-CJNtq_6a.js → Terminal-xSZCzDZn.js} +6 -6
- package/dist/TerminalSetting-BVojWrSJ.js +489 -0
- package/dist/{Transaction-C0sBCFLp.js → Transaction-BFgu4Xnf.js} +105 -95
- package/dist/{Transaction-DYXeI4Ja.js → Transaction-CEh4Gnt5.js} +6 -6
- package/dist/{TransactionOld-BbmFHV9b.js → TransactionOld-DH8MUGCs.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-B2WaeKlW.js → TransactionTable.vue_vue_type_script_setup_true_lang-CIqrGHo8.js} +3 -3
- package/dist/api/terminal/index.d.ts +4 -0
- package/dist/{app-BZBrPMGI.js → app-D8ewtGn5.js} +220 -220
- package/dist/app.js +1 -1
- package/dist/{assets-DK8qcvvE.js → assets-DcSn4sMG.js} +4 -6
- package/dist/components/CursorTable/index.vue.d.ts +3 -3
- package/dist/components/PagingTable/index.vue.d.ts +3 -3
- package/dist/{grafana-D9CUCenW.js → grafana-DW4fh2g4.js} +4 -4
- package/dist/{index-BJG6JQZI.js → index-Bg1fv5AY.js} +7053 -6995
- package/dist/{index-CsecEOgx.js → index-D3XaYCNd.js} +1 -1
- package/dist/{index-1ek_J3MH.js → index-DcT1Yiz4.js} +1 -1
- package/dist/{index-DzKrZEv8.js → index-JEYJrs6t.js} +9 -1
- package/dist/{index-Ba92Mso-.js → index-Z5ts1fWJ.js} +1 -1
- package/dist/{index-c7WpvZdX.js → index-uRv2m4ys.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CrVUe88c.js → index.vue_vue_type_script_setup_true_lang-BkqD1rLK.js} +1 -1
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-DJwjD_DL.js → payout-account-4XGG8dyO.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +4 -4
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
- package/package.json +2 -2
- package/dist/TerminalSetting-CZz6PeyG.js +0 -389
@@ -1,16 +1,16 @@
|
|
1
|
-
import { defineComponent as b, resolveComponent as h, openBlock as m, createBlock as F, normalizeClass as
|
2
|
-
import { g as P, a as U, t as g, b as B, c as N } from "./assets-
|
3
|
-
import { h as
|
4
|
-
import { u as G } from "./index-
|
1
|
+
import { defineComponent as b, resolveComponent as h, openBlock as m, createBlock as F, normalizeClass as R, withCtx as w, createElementVNode as _, toDisplayString as V, createElementBlock as S, unref as d, createVNode as f, Fragment as Y, renderList as C, ref as O, watch as v, isRef as I, h as y } from "vue";
|
2
|
+
import { g as P, a as U, t as g, b as B, c as N } from "./assets-DcSn4sMG.js";
|
3
|
+
import { h as T } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as G } from "./index-Z5ts1fWJ.js";
|
5
5
|
import { _ as L } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
6
6
|
import { _ as j } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
7
7
|
import { useSnackbar as Q, useDialog as z } from "@feedmepos/ui-library";
|
8
8
|
import { w as k } from "./Modal-DB8M9o1T.js";
|
9
|
-
import { u as
|
9
|
+
import { u as x } from "./error-K1CakhA9.js";
|
10
10
|
import { _ as H } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
11
|
-
import { g as J } from "./grafana-
|
12
|
-
import { _ as W } from "./index.vue_vue_type_script_setup_true_lang-
|
13
|
-
import { e as
|
11
|
+
import { g as J } from "./grafana-DW4fh2g4.js";
|
12
|
+
import { _ as W } from "./index.vue_vue_type_script_setup_true_lang-BkqD1rLK.js";
|
13
|
+
import { e as D } from "./index-Bg1fv5AY.js";
|
14
14
|
import { _ as X } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
15
15
|
const Z = /* @__PURE__ */ b({
|
16
16
|
__name: "Status",
|
@@ -21,16 +21,16 @@ const Z = /* @__PURE__ */ b({
|
|
21
21
|
setup(u) {
|
22
22
|
const a = u;
|
23
23
|
function o() {
|
24
|
-
return a.data ===
|
24
|
+
return a.data === D.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === D.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : a.data === D.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
25
25
|
}
|
26
|
-
return (
|
26
|
+
return (i, s) => {
|
27
27
|
const p = h("FmBadge");
|
28
28
|
return m(), F(p, {
|
29
29
|
inline: "",
|
30
|
-
class:
|
30
|
+
class: R(o())
|
31
31
|
}, {
|
32
|
-
default:
|
33
|
-
_("div", null,
|
32
|
+
default: w(() => [
|
33
|
+
_("div", null, V(i.data), 1)
|
34
34
|
]),
|
35
35
|
_: 1
|
36
36
|
}, 8, ["class"]);
|
@@ -43,7 +43,7 @@ const Z = /* @__PURE__ */ b({
|
|
43
43
|
data: {}
|
44
44
|
},
|
45
45
|
setup(u) {
|
46
|
-
return (a, o) => (m(),
|
46
|
+
return (a, o) => (m(), S("img", {
|
47
47
|
class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
|
48
48
|
src: d(P)(a.row.original.gateway)
|
49
49
|
}, null, 8, ee));
|
@@ -55,7 +55,7 @@ const Z = /* @__PURE__ */ b({
|
|
55
55
|
data: {}
|
56
56
|
},
|
57
57
|
setup(u) {
|
58
|
-
return (a, o) => (m(),
|
58
|
+
return (a, o) => (m(), S("img", {
|
59
59
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
60
60
|
src: d(U)(a.row.original.method.issuer, a.row.original.method.variant)
|
61
61
|
}, null, 8, ae));
|
@@ -93,25 +93,25 @@ const Z = /* @__PURE__ */ b({
|
|
93
93
|
action: "history"
|
94
94
|
}
|
95
95
|
];
|
96
|
-
return (o,
|
97
|
-
const s = h("FmIcon"), p = h("FmMenuItem"),
|
98
|
-
return m(),
|
99
|
-
onClick:
|
100
|
-
|
96
|
+
return (o, i) => {
|
97
|
+
const s = h("FmIcon"), p = h("FmMenuItem"), A = h("FmMenu");
|
98
|
+
return m(), S("div", {
|
99
|
+
onClick: i[0] || (i[0] = (c) => {
|
100
|
+
c.stopPropagation();
|
101
101
|
})
|
102
102
|
}, [
|
103
|
-
f(
|
104
|
-
"menu-button":
|
103
|
+
f(A, null, {
|
104
|
+
"menu-button": w(() => [
|
105
105
|
f(s, { name: "settings" })
|
106
106
|
]),
|
107
|
-
default:
|
108
|
-
(m(!0),
|
107
|
+
default: w(() => [
|
108
|
+
(m(!0), S(Y, null, C(a.filter((c) => !!c), (c) => (m(), F(p, {
|
109
109
|
selectable: !0,
|
110
|
-
key:
|
111
|
-
sublabel:
|
112
|
-
label:
|
113
|
-
icon:
|
114
|
-
onclick: () => o.onAction(
|
110
|
+
key: c.label,
|
111
|
+
sublabel: c.sublabel,
|
112
|
+
label: c.label,
|
113
|
+
icon: c.icon,
|
114
|
+
onclick: () => o.onAction(c.action)
|
115
115
|
}, null, 8, ["sublabel", "label", "icon", "onclick"]))), 128))
|
116
116
|
]),
|
117
117
|
_: 1
|
@@ -119,25 +119,25 @@ const Z = /* @__PURE__ */ b({
|
|
119
119
|
]);
|
120
120
|
};
|
121
121
|
}
|
122
|
-
}), oe = { class: "flex justify-between mb-6 items-center" }, se = { class: "flex space-x-4" },
|
122
|
+
}), oe = { class: "flex justify-between mb-6 items-center" }, se = { class: "flex space-x-4" }, ce = { class: "flex space-x-4 self-center" }, ie = { class: "mb-6" }, Ae = /* @__PURE__ */ b({
|
123
123
|
__name: "Transaction",
|
124
124
|
setup(u) {
|
125
|
-
const a = O(), { dateRange: o, searchKey:
|
125
|
+
const a = O(), { dateRange: o, searchKey: i } = G({
|
126
126
|
searchKey: "",
|
127
127
|
dateRange: {
|
128
|
-
startDate:
|
129
|
-
endDate:
|
128
|
+
startDate: T().startOf("day").format("YYYY-MM-DD"),
|
129
|
+
endDate: T().endOf("day").format("YYYY-MM-DD")
|
130
130
|
}
|
131
|
-
}), s = Q(), p = z(),
|
132
|
-
let r = parseInt(
|
131
|
+
}), s = Q(), p = z(), A = async (t, e) => {
|
132
|
+
let r = parseInt(e);
|
133
133
|
Number.isNaN(r) && (r = 1);
|
134
134
|
const n = await g.readTransactions({
|
135
|
-
start:
|
136
|
-
end:
|
137
|
-
limit:
|
138
|
-
skip: (r - 1) *
|
139
|
-
search:
|
140
|
-
}), l = n.length ==
|
135
|
+
start: T(o.value.startDate).startOf("day").toISOString(),
|
136
|
+
end: T(o.value.endDate).endOf("day").toISOString(),
|
137
|
+
limit: t,
|
138
|
+
skip: (r - 1) * t,
|
139
|
+
search: i.value
|
140
|
+
}), l = n.length == t;
|
141
141
|
return {
|
142
142
|
data: B(n),
|
143
143
|
meta: {
|
@@ -146,20 +146,20 @@ const Z = /* @__PURE__ */ b({
|
|
146
146
|
};
|
147
147
|
};
|
148
148
|
v(o, async () => {
|
149
|
-
var
|
150
|
-
(
|
149
|
+
var t;
|
150
|
+
(t = a.value) == null || t.reset();
|
151
151
|
});
|
152
|
-
let
|
153
|
-
v(
|
154
|
-
|
155
|
-
var
|
156
|
-
(
|
152
|
+
let c;
|
153
|
+
v(i, async () => {
|
154
|
+
c && clearTimeout(c), c = setTimeout(() => {
|
155
|
+
var t;
|
156
|
+
(t = a.value) == null || t.reset();
|
157
157
|
}, 700);
|
158
158
|
});
|
159
|
-
async function q(
|
159
|
+
async function q(t) {
|
160
160
|
var r, n;
|
161
|
-
const
|
162
|
-
if (!
|
161
|
+
const e = (r = a.value) == null ? void 0 : r.pageData().at(t);
|
162
|
+
if (!e) {
|
163
163
|
s.open({
|
164
164
|
type: "error",
|
165
165
|
title: "Something went wrong",
|
@@ -168,8 +168,8 @@ const Z = /* @__PURE__ */ b({
|
|
168
168
|
return;
|
169
169
|
}
|
170
170
|
try {
|
171
|
-
const l = await g.refetchTransaction({ transactionId:
|
172
|
-
(n = a.value) == null || n.replaceData(
|
171
|
+
const l = await g.refetchTransaction({ transactionId: e.id });
|
172
|
+
(n = a.value) == null || n.replaceData(t, N(l)), s.open({
|
173
173
|
type: "success",
|
174
174
|
title: "Transaction queried and updated successfully."
|
175
175
|
});
|
@@ -177,14 +177,14 @@ const Z = /* @__PURE__ */ b({
|
|
177
177
|
s.open({
|
178
178
|
type: "error",
|
179
179
|
title: "Fail to query transaction.",
|
180
|
-
message:
|
180
|
+
message: x(l)
|
181
181
|
});
|
182
182
|
}
|
183
183
|
}
|
184
|
-
async function E(
|
184
|
+
async function E(t) {
|
185
185
|
var r;
|
186
|
-
const
|
187
|
-
if (!
|
186
|
+
const e = (r = a.value) == null ? void 0 : r.pageData().at(t);
|
187
|
+
if (!e) {
|
188
188
|
s.open({
|
189
189
|
type: "error",
|
190
190
|
title: "Something went wrong",
|
@@ -200,11 +200,11 @@ const Z = /* @__PURE__ */ b({
|
|
200
200
|
var n;
|
201
201
|
try {
|
202
202
|
const l = await g.refundTransaction({
|
203
|
-
transactionId:
|
203
|
+
transactionId: e.id,
|
204
204
|
reason: "portal transaction refund",
|
205
|
-
amount:
|
205
|
+
amount: e.fdoAmount
|
206
206
|
});
|
207
|
-
(n = a.value) == null || n.replaceData(
|
207
|
+
(n = a.value) == null || n.replaceData(t, N(l)), s.open({
|
208
208
|
type: "success",
|
209
209
|
title: "Transaction refund request initiated."
|
210
210
|
});
|
@@ -212,16 +212,16 @@ const Z = /* @__PURE__ */ b({
|
|
212
212
|
s.open({
|
213
213
|
type: "error",
|
214
214
|
title: "Fail to request refund transaction.",
|
215
|
-
message:
|
215
|
+
message: x(l)
|
216
216
|
});
|
217
217
|
}
|
218
218
|
}
|
219
219
|
);
|
220
220
|
}
|
221
|
-
async function
|
221
|
+
async function K(t) {
|
222
222
|
var r;
|
223
|
-
const
|
224
|
-
if (!
|
223
|
+
const e = (r = a.value) == null ? void 0 : r.pageData().at(t);
|
224
|
+
if (!e) {
|
225
225
|
s.open({
|
226
226
|
type: "error",
|
227
227
|
title: "Something went wrong",
|
@@ -235,7 +235,7 @@ const Z = /* @__PURE__ */ b({
|
|
235
235
|
"Are you sure to perform notify transaction?",
|
236
236
|
async () => {
|
237
237
|
try {
|
238
|
-
await g.renotifyTransaction(
|
238
|
+
await g.renotifyTransaction(e.id), s.open({
|
239
239
|
type: "success",
|
240
240
|
title: "Transaction notify successfully."
|
241
241
|
});
|
@@ -243,16 +243,16 @@ const Z = /* @__PURE__ */ b({
|
|
243
243
|
s.open({
|
244
244
|
type: "error",
|
245
245
|
title: "Fail to notify transaction.",
|
246
|
-
message:
|
246
|
+
message: x(n)
|
247
247
|
});
|
248
248
|
}
|
249
249
|
}
|
250
250
|
);
|
251
251
|
}
|
252
|
-
async function
|
252
|
+
async function M(t) {
|
253
253
|
var n;
|
254
|
-
const
|
255
|
-
if (!
|
254
|
+
const e = (n = a.value) == null ? void 0 : n.pageData().at(t);
|
255
|
+
if (!e) {
|
256
256
|
s.open({
|
257
257
|
type: "error",
|
258
258
|
title: "Something went wrong",
|
@@ -264,16 +264,16 @@ const Z = /* @__PURE__ */ b({
|
|
264
264
|
{
|
265
265
|
type: "span",
|
266
266
|
queryKey: "transaction.id",
|
267
|
-
queryValue:
|
267
|
+
queryValue: e.id
|
268
268
|
}
|
269
|
-
],
|
269
|
+
], e.transactionAt);
|
270
270
|
window.open(r, "_blank");
|
271
271
|
}
|
272
|
-
const
|
272
|
+
const $ = [
|
273
273
|
{
|
274
274
|
header: () => "Transaction ID",
|
275
275
|
accessorKey: "id",
|
276
|
-
cell: ({ cell:
|
276
|
+
cell: ({ cell: t }) => y(X, { data: t.getValue() })
|
277
277
|
},
|
278
278
|
{
|
279
279
|
header: () => "Pay ID",
|
@@ -289,7 +289,7 @@ const Z = /* @__PURE__ */ b({
|
|
289
289
|
meta: {
|
290
290
|
textAlign: "center"
|
291
291
|
},
|
292
|
-
cell: ({ cell:
|
292
|
+
cell: ({ cell: t, row: e }) => e.original.method ? y(te, { row: e, data: t.getValue() }) : ""
|
293
293
|
},
|
294
294
|
{
|
295
295
|
header: () => "Method",
|
@@ -297,12 +297,12 @@ const Z = /* @__PURE__ */ b({
|
|
297
297
|
meta: {
|
298
298
|
textAlign: "center"
|
299
299
|
},
|
300
|
-
cell: ({ cell:
|
300
|
+
cell: ({ cell: t, row: e }) => e.original.method ? y(ne, { row: e, data: t.getValue() }) : ""
|
301
301
|
},
|
302
302
|
{
|
303
303
|
header: () => "Gateway ID",
|
304
304
|
accessorKey: "gatewayTransactionId",
|
305
|
-
cell: ({ cell:
|
305
|
+
cell: ({ cell: t, row: e }) => e.original.status === "REFUNDED" ? e.original.gatewayRefundId : e.original.gatewayTransactionId
|
306
306
|
},
|
307
307
|
{
|
308
308
|
header: () => "Type",
|
@@ -314,7 +314,17 @@ const Z = /* @__PURE__ */ b({
|
|
314
314
|
{
|
315
315
|
header: () => "Status",
|
316
316
|
accessorKey: "status",
|
317
|
-
cell: ({ cell:
|
317
|
+
cell: ({ cell: t, row: e }) => y(Z, { row: e, data: t.getValue() })
|
318
|
+
},
|
319
|
+
{
|
320
|
+
header: () => "Source",
|
321
|
+
accessorKey: "source",
|
322
|
+
cell: ({ cell: t, row: e }) => `(${e.original.sourceType}) ${e.original.source}`
|
323
|
+
},
|
324
|
+
{
|
325
|
+
header: () => "Source",
|
326
|
+
accessorKey: "source",
|
327
|
+
cell: ({ cell: t, row: e }) => `(${e.original.sourceType}) ${e.original.source}`
|
318
328
|
},
|
319
329
|
{
|
320
330
|
header: () => "Transaction At",
|
@@ -330,10 +340,10 @@ const Z = /* @__PURE__ */ b({
|
|
330
340
|
{
|
331
341
|
header: () => "Actions",
|
332
342
|
accessorKey: "actions",
|
333
|
-
cell: ({ row:
|
343
|
+
cell: ({ row: t }) => {
|
334
344
|
var r;
|
335
|
-
const
|
336
|
-
if (!
|
345
|
+
const e = (r = a.value) == null ? void 0 : r.pageData().at(t.index);
|
346
|
+
if (!e) {
|
337
347
|
s.open({
|
338
348
|
type: "error",
|
339
349
|
title: "Something went wrong",
|
@@ -342,41 +352,41 @@ const Z = /* @__PURE__ */ b({
|
|
342
352
|
return;
|
343
353
|
}
|
344
354
|
return y(re, {
|
345
|
-
transaction:
|
355
|
+
transaction: e,
|
346
356
|
onAction: (n) => {
|
347
357
|
switch (n) {
|
348
358
|
case "notify":
|
349
|
-
return
|
359
|
+
return K(t.index);
|
350
360
|
case "query":
|
351
|
-
return q(
|
361
|
+
return q(t.index);
|
352
362
|
case "refund":
|
353
|
-
return E(
|
363
|
+
return E(t.index);
|
354
364
|
case "history":
|
355
|
-
return
|
365
|
+
return M(t.index);
|
356
366
|
}
|
357
367
|
}
|
358
368
|
});
|
359
369
|
}
|
360
370
|
}
|
361
371
|
];
|
362
|
-
return (
|
372
|
+
return (t, e) => {
|
363
373
|
const r = h("FmSearch");
|
364
374
|
return m(), F(L, {
|
365
375
|
title: "Transactions",
|
366
376
|
loading: !1
|
367
377
|
}, {
|
368
|
-
default:
|
378
|
+
default: w(() => [
|
369
379
|
_("div", oe, [
|
370
380
|
_("div", se, [
|
371
381
|
f(r, {
|
372
|
-
"model-value": d(
|
373
|
-
"onUpdate:modelValue":
|
382
|
+
"model-value": d(i),
|
383
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => I(i) ? i.value = n : null),
|
374
384
|
class: "mr-8",
|
375
385
|
label: "Search",
|
376
386
|
placeholder: "Search Transactions ..."
|
377
387
|
}, null, 8, ["model-value"])
|
378
388
|
]),
|
379
|
-
_("div",
|
389
|
+
_("div", ce, [
|
380
390
|
f(j, {
|
381
391
|
button: {
|
382
392
|
appendIcon: "file_download",
|
@@ -392,18 +402,18 @@ const Z = /* @__PURE__ */ b({
|
|
392
402
|
}, null, 8, ["handler"])
|
393
403
|
])
|
394
404
|
]),
|
395
|
-
_("div",
|
405
|
+
_("div", ie, [
|
396
406
|
f(H, {
|
397
407
|
modelValue: d(o),
|
398
|
-
"onUpdate:modelValue":
|
408
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => I(o) ? o.value = n : null)
|
399
409
|
}, null, 8, ["modelValue"])
|
400
410
|
]),
|
401
411
|
f(W, {
|
402
412
|
ref_key: "controller",
|
403
413
|
ref: a,
|
404
|
-
"column-defs":
|
414
|
+
"column-defs": $,
|
405
415
|
"rows-defs": (n) => n,
|
406
|
-
paginate:
|
416
|
+
paginate: A
|
407
417
|
}, null, 8, ["rows-defs"])
|
408
418
|
]),
|
409
419
|
_: 1
|
@@ -412,5 +422,5 @@ const Z = /* @__PURE__ */ b({
|
|
412
422
|
}
|
413
423
|
});
|
414
424
|
export {
|
415
|
-
|
425
|
+
Ae as default
|
416
426
|
};
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { defineComponent as B, ref as g, watch as E, computed as I, onMounted as J, resolveComponent as y, openBlock as v, createElementBlock as P, Fragment as Y, unref as t, createBlock as N, createCommentVNode as O, withCtx as T, createVNode as i, renderList as k, createElementVNode as V, isRef as b } from "vue";
|
2
|
-
import { t as L, b as G } from "./assets-
|
3
|
-
import { u as K, _ as C } from "./index-
|
4
|
-
import { _ as Q } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { t as L, b as G } from "./assets-DcSn4sMG.js";
|
3
|
+
import { u as K, _ as C } from "./index-Bg1fv5AY.js";
|
4
|
+
import { _ as Q } from "./TransactionTable.vue_vue_type_script_setup_true_lang-CIqrGHo8.js";
|
5
5
|
import { h as $ } from "./moment-h96o7c8I.js";
|
6
6
|
import { useI18n as j, useCoreStore as q } from "@feedmepos/mf-common";
|
7
7
|
import { _ as H } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as W } from "./index-
|
8
|
+
import { u as W } from "./index-Z5ts1fWJ.js";
|
9
9
|
import { _ as X } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
10
|
import { _ as Z } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
|
11
11
|
import { _ as ee } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
12
|
-
import { p as te } from "./index-
|
13
|
-
import { t as ae } from "./index-
|
12
|
+
import { p as te } from "./index-DcT1Yiz4.js";
|
13
|
+
import { t as ae } from "./index-JEYJrs6t.js";
|
14
14
|
const ne = /* @__PURE__ */ B({
|
15
15
|
__name: "SourceSelector",
|
16
16
|
props: {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as T, ref as h, onMounted as Y, watch as f, resolveComponent as V, openBlock as C, createBlock as M, unref as t, withCtx as O, createElementVNode as u, createVNode as i, isRef as y } from "vue";
|
2
|
-
import { t as g, b as S } from "./assets-
|
3
|
-
import { u as $ } from "./index-
|
4
|
-
import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { t as g, b as S } from "./assets-DcSn4sMG.js";
|
3
|
+
import { u as $ } from "./index-Bg1fv5AY.js";
|
4
|
+
import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-CIqrGHo8.js";
|
5
5
|
import { h as x } from "./moment-h96o7c8I.js";
|
6
6
|
import { useCoreStore as k, useI18n as E } from "@feedmepos/mf-common";
|
7
7
|
import { _ as L } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as P } from "./index-
|
8
|
+
import { u as P } from "./index-Z5ts1fWJ.js";
|
9
9
|
import { _ as A } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
10
|
import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js";
|
11
11
|
import { _ as F } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as m, resolveComponent as d, openBlock as l, createBlock as f, normalizeClass as v, withCtx as y, createElementVNode as x, toDisplayString as P, createElementBlock as w, unref as E, createVNode as I, Fragment as R, renderList as V, ref as D, h as p } from "vue";
|
2
2
|
import { useSnackbar as U, useDialog as B } from "@feedmepos/ui-library";
|
3
|
-
import { g as $, a as L, t as b, c as N } from "./assets-
|
4
|
-
import { e as h } from "./index-
|
5
|
-
import { g as G } from "./grafana-
|
3
|
+
import { g as $, a as L, t as b, c as N } from "./assets-DcSn4sMG.js";
|
4
|
+
import { e as h } from "./index-Bg1fv5AY.js";
|
5
|
+
import { g as G } from "./grafana-DW4fh2g4.js";
|
6
6
|
import { w as k } from "./Modal-DB8M9o1T.js";
|
7
7
|
import { u as T } from "./error-K1CakhA9.js";
|
8
8
|
import { useCoreStore as O, useI18n as Y } from "@feedmepos/mf-common";
|
@@ -17,4 +17,8 @@ export declare const temrinalApi: {
|
|
17
17
|
delete(id: string): Promise<any>;
|
18
18
|
getBusinessTerminals(): Promise<FdoPortalTerminal[]>;
|
19
19
|
getRestaurantTerminals(restaurantId: string): Promise<FdoPortalTerminal[]>;
|
20
|
+
kioskModeRequest(id: string, payload: {
|
21
|
+
enable: boolean;
|
22
|
+
password?: string;
|
23
|
+
}): Promise<FdoPortalTerminal>;
|
20
24
|
};
|