@feedmepos/mf-payment 1.1.4 → 1.1.5
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-CSWZF-z8.js → PayoutAccount-D1FdkkEB.js} +3 -3
- package/dist/{PayoutAccount-B8nq1Ik5.js → PayoutAccount-DyNM5jJq.js} +5 -5
- package/dist/{PayoutAccountSetting-DLj_di-f.js → PayoutAccountSetting-BHu0tltk.js} +3 -3
- package/dist/{Restaurant-BNCtsCkB.js → Restaurant-B0jj-feX.js} +4 -4
- package/dist/{RestaurantSetting-D4CdKqLR.js → RestaurantSetting-Xc0315pb.js} +3 -3
- package/dist/{Settlement-D3vNmtrn.js → Settlement-CHzijt6f.js} +3 -3
- package/dist/{Settlement-ByKU2nbo.js → Settlement-CzgVFFOR.js} +3 -3
- package/dist/{SettlementTransactions-COA2whhB.js → SettlementTransactions-Dy2RhINp.js} +3 -3
- package/dist/{SettlementTransactions-OnGBlX91.js → SettlementTransactions-aXV-F0pq.js} +3 -3
- package/dist/{Terminal-BEGlXHeH.js → Terminal-D7xiQWl_.js} +5 -5
- package/dist/{TerminalSetting-BMMKEXAW.js → TerminalSetting-CWeUuXae.js} +3 -3
- package/dist/{Transaction-_dO1GXXy.js → Transaction-CoywkBWq.js} +6 -6
- package/dist/{Transaction-CSUJ4-Qs.js → Transaction-wOv5gZLF.js} +69 -64
- package/dist/{TransactionOld-Bo_ilNzh.js → TransactionOld-DxBgAdY3.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DZCndTn1.js → TransactionTable.vue_vue_type_script_setup_true_lang-CqsLOwBR.js} +3 -3
- package/dist/{app-CiImVRsy.js → app-DHXjFYAA.js} +204 -204
- package/dist/app.js +1 -1
- package/dist/{assets-1VaaNVmv.js → assets-BoIaLJKv.js} +2 -2
- package/dist/components/CursorTable/index.vue.d.ts +3 -3
- package/dist/components/PagingTable/index.vue.d.ts +3 -3
- package/dist/{grafana-B5l2gtJI.js → grafana-BbID9mKu.js} +8 -8
- package/dist/{index-CGcFfU-T.js → index-C9CuhJsa.js} +1 -1
- package/dist/{index-B6gp7UJO.js → index-CTAk5p0r.js} +1 -1
- package/dist/{index-DCM8IXN0.js → index-DTpvCGlg.js} +1 -1
- package/dist/{index-Dk5jCvkX.js → index-Dfv3QjcX.js} +7053 -6995
- package/dist/{index-DAwZpgYT.js → index-XH7vUgqJ.js} +1 -1
- package/dist/{index-CHStFeFQ.js → index-jgCYe5QM.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-D_lBJl2w.js → index.vue_vue_type_script_setup_true_lang-CGhB2AEC.js} +1 -1
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-B96a8IZo.js → payout-account-Bkz4uMWL.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/TerminalGateway.vue.d.ts +4 -4
- 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/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-Dfv3QjcX.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 = {
|
@@ -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;
|
@@ -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,12 +1,12 @@
|
|
1
|
-
import { e as y } from "./index-
|
1
|
+
import { e as y } from "./index-Dfv3QjcX.js";
|
2
2
|
import { useCoreStore as p } from "@feedmepos/mf-common";
|
3
3
|
import { h as m } from "./moment-h96o7c8I.js";
|
4
|
-
const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (
|
4
|
+
const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (o, e, t) => ({
|
5
5
|
apq: {
|
6
6
|
datasource: "P998741A58ED2B411",
|
7
7
|
range: {
|
8
8
|
from: e,
|
9
|
-
to:
|
9
|
+
to: t
|
10
10
|
},
|
11
11
|
queries: [
|
12
12
|
{
|
@@ -18,11 +18,11 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
|
|
18
18
|
queryType: "search",
|
19
19
|
service: "payment-backend",
|
20
20
|
limit: 1e3,
|
21
|
-
tags:
|
21
|
+
tags: o.map((r) => `${r.queryKey}=${r.queryValue}`).join(" ")
|
22
22
|
}
|
23
23
|
]
|
24
24
|
}
|
25
|
-
}), g = (
|
25
|
+
}), g = (o, e) => {
|
26
26
|
const r = p().currentCountry.value ?? y.F_COUNTRY.enum.MY, a = [
|
27
27
|
// {
|
28
28
|
// type: "resource",
|
@@ -40,11 +40,11 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
|
|
40
40
|
queryValue: "apps-" + r.toLowerCase()
|
41
41
|
}
|
42
42
|
];
|
43
|
-
a.push(...
|
43
|
+
a.push(...o);
|
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`;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-
|
1
|
+
import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-Dfv3QjcX.js";
|
2
2
|
import { h as o } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as u } from "./dinero-CIVmXLL-.js";
|
4
4
|
function* p(t, n) {
|