@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
package/dist/app.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-
|
1
|
+
import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-Bg1fv5AY.js";
|
2
2
|
import { h as C } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as O } from "./dinero-CIVmXLL-.js";
|
4
4
|
const K = {
|
@@ -92,7 +92,7 @@ const K = {
|
|
92
92
|
fee: (w) => w.split(" ")[1],
|
93
93
|
payout: (w) => w.split(" ")[1],
|
94
94
|
transactionAt: (w) => C(w).format("YYYY-MM-DD HH:mm:ss"),
|
95
|
-
refundedAt: (w) => C(w).format("YYYY-MM-DD HH:mm:ss")
|
95
|
+
refundedAt: (w) => w ? C(w).format("YYYY-MM-DD HH:mm:ss") : "-"
|
96
96
|
}
|
97
97
|
});
|
98
98
|
},
|
@@ -122,7 +122,7 @@ function u(A) {
|
|
122
122
|
let Q = "", B = "";
|
123
123
|
switch (!0) {
|
124
124
|
case !!A.terminal:
|
125
|
-
B = "
|
125
|
+
B = A.terminalType ?? "Device", Q = A.terminal;
|
126
126
|
break;
|
127
127
|
case !!A.restaurant:
|
128
128
|
B = "Restaurant", Q = A.restaurant;
|
@@ -145,9 +145,7 @@ function u(A) {
|
|
145
145
|
transactionAt: C(A.callbackAt ?? A.createdAt).format(
|
146
146
|
"YYYY-MM-DD HH:mm:ss"
|
147
147
|
),
|
148
|
-
refundedAt:
|
149
|
-
"YYYY-MM-DD HH:mm:ss"
|
150
|
-
),
|
148
|
+
refundedAt: A.refundedAt ? C(A.refundedAt).format("YYYY-MM-DD HH:mm:ss") : "",
|
151
149
|
fdoAmount: A.gatewayAmount ?? A.amount,
|
152
150
|
amount: O(A.gatewayAmount ?? A.amount).toFormat("$0.00"),
|
153
151
|
fee: O(A.fee).toFormat("$0.00"),
|
@@ -23,20 +23,20 @@ export type CursorTableController<T> = {
|
|
23
23
|
replaceData: (index: number, value: T) => void;
|
24
24
|
};
|
25
25
|
declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
|
26
|
-
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
27
26
|
readonly columnDefs: ColumnDef<R>[];
|
28
27
|
readonly rowsDefs: (a: T) => R;
|
29
28
|
readonly paginate: (limit: number, cursor: string) => Promise<PaginatedResult<T>>;
|
29
|
+
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
30
30
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
31
31
|
attrs: any;
|
32
32
|
slots: {};
|
33
33
|
emit: (event: 'row-click', data: T) => any;
|
34
34
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<CursorTableController<T>>) => void) | undefined, __VLS_setup?: Promise<{
|
35
35
|
props: {
|
36
|
-
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
37
36
|
readonly columnDefs: ColumnDef<R>[];
|
38
37
|
readonly rowsDefs: (a: T) => R;
|
39
38
|
readonly paginate: (limit: number, cursor: string) => Promise<PaginatedResult<T>>;
|
39
|
+
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
40
40
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
41
41
|
expose(exposed: import("vue").ShallowUnwrapRef<CursorTableController<T>>): void;
|
42
42
|
attrs: any;
|
@@ -47,10 +47,10 @@ declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
|
|
47
47
|
}> & {
|
48
48
|
__ctx?: {
|
49
49
|
props: {
|
50
|
-
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
51
50
|
readonly columnDefs: ColumnDef<R>[];
|
52
51
|
readonly rowsDefs: (a: T) => R;
|
53
52
|
readonly paginate: (limit: number, cursor: string) => Promise<PaginatedResult<T>>;
|
53
|
+
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
54
54
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
55
55
|
expose(exposed: import("vue").ShallowUnwrapRef<CursorTableController<T>>): void;
|
56
56
|
attrs: any;
|
@@ -7,20 +7,20 @@ export type PagingTableController = {
|
|
7
7
|
reset: () => {};
|
8
8
|
};
|
9
9
|
declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
|
10
|
-
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
11
10
|
readonly columnDefs: ColumnDef<R>[];
|
12
11
|
readonly rowsDefs: (a: T) => R;
|
13
12
|
readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
|
13
|
+
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
14
14
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
15
15
|
attrs: any;
|
16
16
|
slots: {};
|
17
17
|
emit: (event: 'row-click', data: T) => any;
|
18
18
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<PagingTableController>) => void) | undefined, __VLS_setup?: Promise<{
|
19
19
|
props: {
|
20
|
-
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
21
20
|
readonly columnDefs: ColumnDef<R>[];
|
22
21
|
readonly rowsDefs: (a: T) => R;
|
23
22
|
readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
|
23
|
+
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
24
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
25
25
|
expose(exposed: import("vue").ShallowUnwrapRef<PagingTableController>): void;
|
26
26
|
attrs: any;
|
@@ -31,10 +31,10 @@ declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
|
|
31
31
|
}> & {
|
32
32
|
__ctx?: {
|
33
33
|
props: {
|
34
|
-
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
35
34
|
readonly columnDefs: ColumnDef<R>[];
|
36
35
|
readonly rowsDefs: (a: T) => R;
|
37
36
|
readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
|
37
|
+
readonly "onRow-click"?: ((data: T) => any) | undefined;
|
38
38
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
39
39
|
expose(exposed: import("vue").ShallowUnwrapRef<PagingTableController>): void;
|
40
40
|
attrs: any;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { e as y } from "./index-
|
1
|
+
import { e as y } from "./index-Bg1fv5AY.js";
|
2
2
|
import { useCoreStore as p } from "@feedmepos/mf-common";
|
3
3
|
import { h as m } from "./moment-h96o7c8I.js";
|
4
4
|
const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) => ({
|
@@ -32,7 +32,7 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
|
|
32
32
|
{
|
33
33
|
type: "resource",
|
34
34
|
queryKey: "cluster",
|
35
|
-
queryValue: "
|
35
|
+
queryValue: "dev"
|
36
36
|
},
|
37
37
|
{
|
38
38
|
type: "resource",
|
@@ -43,8 +43,8 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
|
|
43
43
|
a.push(...t);
|
44
44
|
let s = "now", n = "now-1d";
|
45
45
|
if (e) {
|
46
|
-
const u = +m(e).toDate();
|
47
|
-
n = `${u}`, s = `${u +
|
46
|
+
const u = +m(e).add(-3, "hours").toDate();
|
47
|
+
n = `${u}`, s = `${u + 3 * 60 * 60 * 1e3}`;
|
48
48
|
}
|
49
49
|
const c = d(a, n, s);
|
50
50
|
return i + `&panes=${encodeURIComponent(JSON.stringify(c))}&orgId=1`;
|