@feedmepos/mf-payment 1.0.5 → 1.0.7-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-BwBgS41r.js → PayoutAccount-BWu1OEyp.js} +5 -5
- package/dist/{PayoutAccount-B6kGeSLY.js → PayoutAccount-BxdMH0pl.js} +3 -3
- package/dist/PayoutAccountSelector.vue_vue_type_script_setup_true_lang-BiUxmjU6.js +110 -0
- package/dist/{PayoutAccountSetting-C1yeSNv8.js → PayoutAccountSetting-Zah_ik81.js} +4 -4
- package/dist/Restaurant-DJ01O5GW.js +305 -0
- package/dist/{RestaurantSetting-CWZAKz1A.js → RestaurantSetting-BD_aUt1i.js} +4 -4
- package/dist/{Settlement-BKwie9R8.js → Settlement-CTLIBeZ3.js} +3 -3
- package/dist/{Settlement-ByPXBNx1.js → Settlement-GGdPYvXy.js} +3 -3
- package/dist/{SettlementTransactions-BGGqKJgP.js → SettlementTransactions-C5j-0Qbw.js} +4 -4
- package/dist/{SettlementTransactions-BPEh0mSi.js → SettlementTransactions-D35tIT61.js} +4 -4
- package/dist/Terminal-Cwj4vJ6A.js +404 -0
- package/dist/{TerminalSetting-qklmRz3H.js → TerminalSetting-CACWRHic.js} +3 -3
- package/dist/TerminalTransaction-B15ICpAD.js +819 -0
- package/dist/{TerminalTransaction-YXcGJ2ne.js → TerminalTransaction-BTHSxX6X.js} +184 -154
- package/dist/Transaction-BZqqi5qu.js +145 -0
- package/dist/{Transaction-IDcY01Oi.js → Transaction-tcV33ufA.js} +81 -48
- package/dist/TransactionOld-CgJdUs7l.js +99 -0
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-qZA8uWSK.js +151 -0
- package/dist/api/terminal-transaction/index.d.ts +2 -1
- package/dist/api/transaction/index.d.ts +8 -1
- package/dist/{app-CjbTCCDJ.js → app-DdZ90tIN.js} +504 -491
- package/dist/app.js +1 -1
- package/dist/{assets-DjRoCcqv.js → assets-D-ueIWdy.js} +1 -1
- package/dist/components/PayoutAccountSelector.vue.d.ts +23 -0
- package/dist/grafana-BRDqWauv.js +49 -0
- package/dist/helpers/grafana.d.ts +7 -0
- package/dist/{index-DFePh4ct.js → index-BhsQ9z_N.js} +1 -1
- package/dist/{index-BWFqxSU3.js → index-Bm9-P-jw.js} +1 -1
- package/dist/{index-BEFlDEyV.js → index-CJe9qD5G.js} +1 -1
- package/dist/{index-CWGSYCJG.js → index-CUCDe-b5.js} +1 -1
- package/dist/{index-Bp_58SiC.js → index-DNxicJBc.js} +1 -1
- package/dist/{index-Dj_LwPBy.js → index-DQsvadHF.js} +8489 -8321
- package/dist/{index-BerQZMQW.js → index-NnxZlW-g.js} +1 -1
- package/dist/{index-CKyh0nlu.js → index-ocpyheIn.js} +13 -9
- package/dist/{index.vue_vue_type_script_setup_true_lang-BgTr7KWF.js → index.vue_vue_type_script_setup_true_lang-CoiUD4O5.js} +1 -1
- package/dist/model/transaction.d.ts +2 -0
- package/dist/package.json +3 -3
- package/dist/{payout-account-ByuqS-Ea.js → payout-account-DwUA_Nmx.js} +2 -2
- package/dist/router/index.d.ts +1 -0
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/transaction-D4S3PvuQ.js +118 -0
- 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/PaymentGateway.vue.d.ts +4 -4
- 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/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +8 -8
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +5 -0
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
- 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/RevenueMonsterGateway.vue.d.ts +6 -6
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
- package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +3 -1
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/transaction/TransactionOld.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/Restaurant-B02jty0J.js +0 -262
- package/dist/Terminal-DX8v8WpM.js +0 -386
- package/dist/TerminalTransaction-64Bn6vh0.js +0 -261
- package/dist/Transaction-DMw2p-Wq.js +0 -238
- package/dist/transaction-Cyw84Cks.js +0 -101
@@ -0,0 +1,23 @@
|
|
1
|
+
import { type PropType } from 'vue';
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
|
+
event: {
|
4
|
+
type: PropType<("ORDERING" | "MARKETING")[]>;
|
5
|
+
};
|
6
|
+
modelValue: {
|
7
|
+
type: PropType<String>;
|
8
|
+
required: true;
|
9
|
+
};
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
11
|
+
"update:modelValue": (value: String) => any;
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
13
|
+
event: {
|
14
|
+
type: PropType<("ORDERING" | "MARKETING")[]>;
|
15
|
+
};
|
16
|
+
modelValue: {
|
17
|
+
type: PropType<String>;
|
18
|
+
required: true;
|
19
|
+
};
|
20
|
+
}>> & Readonly<{
|
21
|
+
"onUpdate:modelValue"?: ((value: String) => any) | undefined;
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
23
|
+
export default _default;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { e as p } from "./index-DQsvadHF.js";
|
2
|
+
import { useCoreStore as m } from "@feedmepos/mf-common";
|
3
|
+
import { h as i } from "./moment-h96o7c8I.js";
|
4
|
+
const y = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, r, s) => ({
|
5
|
+
apq: {
|
6
|
+
datasource: "P214B5B846CF3925F",
|
7
|
+
queries: [
|
8
|
+
{
|
9
|
+
refId: "A",
|
10
|
+
datasource: {
|
11
|
+
type: "tempo",
|
12
|
+
uid: "P214B5B846CF3925F"
|
13
|
+
},
|
14
|
+
queryType: "traceql",
|
15
|
+
limit: 100,
|
16
|
+
tableType: "spans",
|
17
|
+
query: t,
|
18
|
+
spss: 1,
|
19
|
+
step: ""
|
20
|
+
}
|
21
|
+
],
|
22
|
+
range: {
|
23
|
+
from: r,
|
24
|
+
to: s
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}), b = (t, r) => {
|
28
|
+
const o = {
|
29
|
+
"resource.service.name": "payment-backend",
|
30
|
+
"resource.cluster": "production",
|
31
|
+
"resource.namespace": "apps-" + (m().currentCountry.value ?? p.F_COUNTRY.enum.MY).toLowerCase()
|
32
|
+
};
|
33
|
+
o["resource.cluster"] = "dev", t.forEach((e) => {
|
34
|
+
o[`${e.type}.${e.queryKey}`] = e.queryValue;
|
35
|
+
});
|
36
|
+
const a = `{
|
37
|
+
${Object.keys(o).map((e) => `${e}="${o[e]}"`).join("&&")}
|
38
|
+
}`;
|
39
|
+
let n = "now", c = "now-1d";
|
40
|
+
if (r) {
|
41
|
+
const e = +i(r).toDate();
|
42
|
+
c = `${e}`, n = `${e + 24 * 60 * 60 * 1e3}`;
|
43
|
+
}
|
44
|
+
const u = d(a, c, n);
|
45
|
+
return y + `&panes=${encodeURIComponent(JSON.stringify(u))}&orgId=1`;
|
46
|
+
};
|
47
|
+
export {
|
48
|
+
b as g
|
49
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as o, b as i, j as d, l as y, k as f, i as c, r as m } from "./index-
|
1
|
+
import { g as o, b as i, j as d, l as y, k as f, i as c, r as m } from "./index-DQsvadHF.js";
|
2
2
|
import { h as r } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as l } from "./dinero-CIVmXLL-.js";
|
4
4
|
function* p(t, n) {
|