@feedmepos/mf-payment 1.1.8 → 1.1.9

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.
Files changed (32) hide show
  1. package/dist/{PayoutAccount-C9TC-nLW.js → PayoutAccount-BuYnCwX0.js} +3 -3
  2. package/dist/{PayoutAccount-BAXvKwol.js → PayoutAccount-D-UAfJmx.js} +5 -5
  3. package/dist/{PayoutAccountSetting-CsY4Dr_E.js → PayoutAccountSetting-P3EEdPd8.js} +3 -3
  4. package/dist/{Restaurant-C9GmwxpU.js → Restaurant-DVfQgRDa.js} +4 -4
  5. package/dist/{RestaurantSetting-DaSalR0b.js → RestaurantSetting-v4X04iUd.js} +3 -3
  6. package/dist/{Settlement-C7oFzVbb.js → Settlement-B7E4lpuy.js} +3 -3
  7. package/dist/{Settlement-BvUs3MyQ.js → Settlement-BvOHdyd-.js} +3 -3
  8. package/dist/{SettlementTransactions-BRo_oigl.js → SettlementTransactions-C_QiVAAT.js} +3 -3
  9. package/dist/{SettlementTransactions-qSgW0VCV.js → SettlementTransactions-XWF6lcgO.js} +3 -3
  10. package/dist/{Terminal-DXGKrm3G.js → Terminal-uiqG_SS0.js} +5 -5
  11. package/dist/{TerminalSetting-bLxGkMlN.js → TerminalSetting-BZ13kPwS.js} +3 -3
  12. package/dist/{Transaction-BI2ZRsxe.js → Transaction-73ONBoa8.js} +5 -5
  13. package/dist/{Transaction-B7ICajHR.js → Transaction-Do-cIw77.js} +6 -6
  14. package/dist/{TransactionOld-GLsvtHyF.js → TransactionOld-CImEq3E_.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-UjV7RID1.js → TransactionTable.vue_vue_type_script_setup_true_lang-Ba83O4G-.js} +3 -3
  16. package/dist/{app-DVnyclnX.js → app-BboGv5bA.js} +255 -255
  17. package/dist/app.js +1 -1
  18. package/dist/{assets-BZmrImt4.js → assets-SBx-FS2c.js} +1 -1
  19. package/dist/grafana-DKPCmS74.js +62 -0
  20. package/dist/helpers/grafana.d.ts +2 -1
  21. package/dist/{index-DZMn5Qjp.js → index-BMI-n_D8.js} +1455 -1455
  22. package/dist/{index-BMF26WT4.js → index-CUXRAwm_.js} +1 -1
  23. package/dist/{index-gSE1T266.js → index-Cc3tk2uy.js} +1 -1
  24. package/dist/{index-C1Hgyi3j.js → index-DChD3CMr.js} +1 -1
  25. package/dist/{index-CD59SyVI.js → index-DNVOx0Qk.js} +1 -1
  26. package/dist/{index-a-Vqap7Z.js → index-DitA7AGz.js} +1 -1
  27. package/dist/{index.vue_vue_type_script_setup_true_lang-FgXpWvbs.js → index.vue_vue_type_script_setup_true_lang-Bk00_8Zw.js} +1 -1
  28. package/dist/package.json +1 -1
  29. package/dist/{payout-account-B76ODsn2.js → payout-account-DEWX726j.js} +2 -2
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/package.json +1 -1
  32. package/dist/grafana-DRnPxAqM.js +0 -54
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,54 +0,0 @@
1
- import { e as y } from "./index-DZMn5Qjp.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 = (o, e, t) => ({
5
- apq: {
6
- datasource: "P998741A58ED2B411",
7
- range: {
8
- from: e,
9
- to: t
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: o.map((r) => `${r.queryKey}=${r.queryValue}`).join(" ")
22
- }
23
- ]
24
- }
25
- }), g = (o, 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: "production"
36
- },
37
- {
38
- type: "resource",
39
- queryKey: "namespace",
40
- queryValue: "apps-" + r.toLowerCase()
41
- }
42
- ];
43
- a.push(...o);
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
- };