@feedmepos/mf-payment 1.0.11 → 1.0.12-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-Ct7Fnkj2.js → PayoutAccount-CGtvCu8x.js} +5 -5
- package/dist/{PayoutAccount-uz7xkSj0.js → PayoutAccount-DSs2KYoJ.js} +3 -3
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-XyRrKov-.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-ThcPfJ7A.js} +2 -2
- package/dist/{PayoutAccountSetting-Bx_x4JfE.js → PayoutAccountSetting-B7n0aiOJ.js} +4 -4
- package/dist/{Restaurant-BDYWegyp.js → Restaurant-C_G0KWFw.js} +4 -4
- package/dist/{RestaurantSetting-Cvmi20nz.js → RestaurantSetting-d6uc9vbB.js} +4 -4
- package/dist/{Settlement-CjPSa5HJ.js → Settlement-CFVaugWo.js} +3 -3
- package/dist/{Settlement-Nd8wt4Gc.js → Settlement-DgugEvBt.js} +3 -3
- package/dist/{SettlementTransactions-BP4EbBwS.js → SettlementTransactions-BPyEh3zE.js} +4 -4
- package/dist/{SettlementTransactions-DUP894qE.js → SettlementTransactions-Wd4EYp-v.js} +4 -4
- package/dist/{Terminal-BeNzKu5X.js → Terminal-Bj7PhLst.js} +5 -5
- package/dist/{TerminalSetting-BiR3HH0b.js → TerminalSetting-Dg3Bn1Xe.js} +3 -3
- package/dist/{TerminalTransaction-BjVV724W.js → TerminalTransaction-BI8skOER.js} +6 -6
- package/dist/TerminalTransaction-CSc2qxiz.js +819 -0
- package/dist/{Transaction-DP3BpbRB.js → Transaction-B9HUIkNJ.js} +5 -5
- package/dist/{Transaction-DTfOJbnW.js → Transaction-CoXLfHog.js} +6 -6
- package/dist/{TransactionOld-wmoXXgQZ.js → TransactionOld-BvjRA5FK.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-D0er6uun.js → TransactionTable.vue_vue_type_script_setup_true_lang-BHX_tk2h.js} +2 -2
- package/dist/api/index.d.ts +3 -2
- package/dist/{app-dvo4deiv.js → app-Ch_asPRT.js} +176 -176
- package/dist/app.js +1 -1
- package/dist/{assets-BfkyyPtj.js → assets-Bgf3vWd0.js} +1 -1
- package/dist/{grafana-CJh2VF8s.js → grafana-D7tPacR1.js} +12 -12
- package/dist/{index-CqDeWWdj.js → index-BNCQL7pz.js} +2727 -2723
- package/dist/{index-D_F0P0j0.js → index-BaMOXXb2.js} +11 -9
- package/dist/{index-BhdKHypp.js → index-C34Tm02P.js} +1 -1
- package/dist/{index-BTUfpb5Z.js → index-Cd-LHGxW.js} +1 -1
- package/dist/{index-B4w6J0mD.js → index-DNMlibfi.js} +1 -1
- package/dist/{index-B-vBN2W8.js → index-LzKS1ryn.js} +1 -1
- package/dist/{index-LJDSPC4m.js → index-qFvu4sPq.js} +1 -1
- package/dist/{index-D08nA3Gv.js → index-vqO2rZ2o.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-wmgbQHom.js → index.vue_vue_type_script_setup_true_lang-Bal5VSq5.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-FIOMxCHJ.js → payout-account-D5NNvWdQ.js} +2 -2
- package/dist/{transaction-Dbld0fMu.js → transaction-CJb8JZHe.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/TerminalTransaction-05Rbjndi.js +0 -819
@@ -1,7 +1,7 @@
|
|
1
|
-
import { e as p } from "./index-
|
1
|
+
import { e as p } from "./index-BNCQL7pz.js";
|
2
2
|
import { useCoreStore as m } from "@feedmepos/mf-common";
|
3
3
|
import { h as i } from "./moment-h96o7c8I.js";
|
4
|
-
const y = "https://grafana.feedme.farm/explore?schemaVersion=1",
|
4
|
+
const y = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, r, s) => ({
|
5
5
|
apq: {
|
6
6
|
datasource: "P214B5B846CF3925F",
|
7
7
|
queries: [
|
@@ -14,7 +14,7 @@ const y = "https://grafana.feedme.farm/explore?schemaVersion=1", f = (o, r, s) =
|
|
14
14
|
queryType: "traceql",
|
15
15
|
limit: 100,
|
16
16
|
tableType: "spans",
|
17
|
-
query:
|
17
|
+
query: t,
|
18
18
|
spss: 1,
|
19
19
|
step: ""
|
20
20
|
}
|
@@ -24,24 +24,24 @@ const y = "https://grafana.feedme.farm/explore?schemaVersion=1", f = (o, r, s) =
|
|
24
24
|
to: s
|
25
25
|
}
|
26
26
|
}
|
27
|
-
}), b = (
|
28
|
-
const
|
27
|
+
}), b = (t, r) => {
|
28
|
+
const o = {
|
29
29
|
"resource.service.name": "payment-backend",
|
30
30
|
"resource.cluster": "production",
|
31
31
|
"resource.namespace": "apps-" + (m().currentCountry.value ?? p.F_COUNTRY.enum.MY).toLowerCase()
|
32
32
|
};
|
33
|
-
o.forEach((e) => {
|
34
|
-
|
33
|
+
o["resource.cluster"] = "dev", t.forEach((e) => {
|
34
|
+
o[`${e.type}.${e.queryKey}`] = e.queryValue;
|
35
35
|
});
|
36
|
-
const
|
37
|
-
${Object.keys(
|
36
|
+
const a = `{
|
37
|
+
${Object.keys(o).map((e) => `${e}="${o[e]}"`).join("&&")}
|
38
38
|
}`;
|
39
|
-
let n = "now",
|
39
|
+
let n = "now", c = "now-1d";
|
40
40
|
if (r) {
|
41
41
|
const e = +i(r).toDate();
|
42
|
-
|
42
|
+
c = `${e}`, n = `${e + 24 * 60 * 60 * 1e3}`;
|
43
43
|
}
|
44
|
-
const u =
|
44
|
+
const u = d(a, c, n);
|
45
45
|
return y + `&panes=${encodeURIComponent(JSON.stringify(u))}&orgId=1`;
|
46
46
|
};
|
47
47
|
export {
|