@feedmepos/mf-payment 1.1.8-beta.1 → 1.1.9-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-8i57shlX.js → PayoutAccount-B4YLzVpp.js} +3 -3
- package/dist/{PayoutAccount-D7-wVu54.js → PayoutAccount-DvrLfgt-.js} +5 -5
- package/dist/{PayoutAccountSetting-CMKwrL4M.js → PayoutAccountSetting-Co7DmROR.js} +3 -3
- package/dist/{Restaurant-CRacG00G.js → Restaurant-DuhPwxX3.js} +4 -4
- package/dist/{RestaurantSetting-D8gT0OLI.js → RestaurantSetting-BK9u7SCs.js} +3 -3
- package/dist/{Settlement-HpncV_wh.js → Settlement-Ce_tmrSE.js} +3 -3
- package/dist/{Settlement-ChZcWUR2.js → Settlement-Sl3sl0jF.js} +3 -3
- package/dist/{SettlementTransactions-B4foya_u.js → SettlementTransactions-CuHc2CZz.js} +3 -3
- package/dist/{SettlementTransactions-Qi1y0ELt.js → SettlementTransactions-D7UHmaaD.js} +3 -3
- package/dist/{Terminal-CPxZpDko.js → Terminal-DC7kec1h.js} +5 -5
- package/dist/{TerminalSetting-BTjY6R2k.js → TerminalSetting-uqU8wLtE.js} +3 -3
- package/dist/{Transaction-BRsEkW-X.js → Transaction-DSOyeHAf.js} +6 -6
- package/dist/{Transaction-DOJeGqKs.js → Transaction-vVo3tggm.js} +5 -5
- package/dist/{TransactionOld-ytcLv_RQ.js → TransactionOld-sUH_2SAc.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BadRdWve.js → TransactionTable.vue_vue_type_script_setup_true_lang-DFdz9uZ0.js} +3 -3
- package/dist/{app-BTvVE_p8.js → app-tq6GxnyI.js} +212 -212
- package/dist/app.js +1 -1
- package/dist/{assets-D3eyomsS.js → assets-OObLkGWe.js} +1 -1
- package/dist/grafana-RP6GDt42.js +62 -0
- package/dist/helpers/grafana.d.ts +2 -1
- package/dist/{index-GGA88cxn.js → index-4WCrMAZE.js} +1 -1
- package/dist/{index-DztkVnZ_.js → index-AW-HP_R7.js} +1 -1
- package/dist/{index-DcXXLPgu.js → index-BO_i54up.js} +1 -1
- package/dist/{index-Qf0lEeEt.js → index-CD_22Kly.js} +1 -1
- package/dist/{index-C3jOMHIB.js → index-CqHV-UqZ.js} +1 -1
- package/dist/{index-DgF6PpqL.js → index-D1Vz4RR4.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BfPw3DTP.js → index.vue_vue_type_script_setup_true_lang-yFA5HHj5.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-G2OxuB1T.js → payout-account-DFumNL6B.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/grafana-pHGBuON2.js +0 -54
package/package.json
CHANGED
package/dist/grafana-pHGBuON2.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { e as y } from "./index-Qf0lEeEt.js";
|
2
|
-
import { useCoreStore as p } from "@feedmepos/mf-common";
|
3
|
-
import { h as m } from "./moment-h96o7c8I.js";
|
4
|
-
const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) => ({
|
5
|
-
apq: {
|
6
|
-
datasource: "P998741A58ED2B411",
|
7
|
-
range: {
|
8
|
-
from: e,
|
9
|
-
to: o
|
10
|
-
},
|
11
|
-
queries: [
|
12
|
-
{
|
13
|
-
refId: "A",
|
14
|
-
datasource: {
|
15
|
-
type: "jaeger",
|
16
|
-
uid: "P998741A58ED2B411"
|
17
|
-
},
|
18
|
-
queryType: "search",
|
19
|
-
service: "payment-backend",
|
20
|
-
limit: 1e3,
|
21
|
-
tags: t.map((r) => `${r.queryKey}=${r.queryValue}`).join(" ")
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|
25
|
-
}), g = (t, e) => {
|
26
|
-
const r = p().currentCountry.value ?? y.F_COUNTRY.enum.MY, a = [
|
27
|
-
// {
|
28
|
-
// type: "resource",
|
29
|
-
// queryKey: "service.name",
|
30
|
-
// queryValue: "payment-backend",
|
31
|
-
// },
|
32
|
-
{
|
33
|
-
type: "resource",
|
34
|
-
queryKey: "cluster",
|
35
|
-
queryValue: "dev"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
type: "resource",
|
39
|
-
queryKey: "namespace",
|
40
|
-
queryValue: "apps-" + r.toLowerCase()
|
41
|
-
}
|
42
|
-
];
|
43
|
-
a.push(...t);
|
44
|
-
let s = "now", n = "now-1d";
|
45
|
-
if (e) {
|
46
|
-
const u = +m(e).add(-3, "hours").toDate();
|
47
|
-
n = `${u}`, s = `${u + 3 * 60 * 60 * 1e3}`;
|
48
|
-
}
|
49
|
-
const c = d(a, n, s);
|
50
|
-
return i + `&panes=${encodeURIComponent(JSON.stringify(c))}&orgId=1`;
|
51
|
-
};
|
52
|
-
export {
|
53
|
-
g
|
54
|
-
};
|