@feedmepos/mf-payment 1.0.3 → 1.0.4-beta.2

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 (60) hide show
  1. package/dist/{PayoutAccount-DxMey5W6.js → PayoutAccount-CUcmLnpF.js} +5 -5
  2. package/dist/{PayoutAccount-DYnycBoi.js → PayoutAccount-K-clfaW8.js} +85 -85
  3. package/dist/{PayoutAccountSetting-C1yeSNv8.js → PayoutAccountSetting-B1uLo7gi.js} +4 -4
  4. package/dist/Restaurant-D5L8pG25.js +305 -0
  5. package/dist/{RestaurantSetting-CWZAKz1A.js → RestaurantSetting-Dx0fPDEn.js} +4 -4
  6. package/dist/{Settlement-ByPXBNx1.js → Settlement-BGueDfpI.js} +3 -3
  7. package/dist/{Settlement-BKwie9R8.js → Settlement-D0nuXQMV.js} +3 -3
  8. package/dist/{SettlementTransactions-rXQceUoG.js → SettlementTransactions-DW8-tVPe.js} +4 -4
  9. package/dist/{SettlementTransactions-DVRoAUYv.js → SettlementTransactions-Dsnpidi1.js} +4 -4
  10. package/dist/Terminal-BkhqmKjN.js +404 -0
  11. package/dist/{TerminalSetting-qklmRz3H.js → TerminalSetting-CrpB7DIV.js} +3 -3
  12. package/dist/{TerminalTransaction-64Bn6vh0.js → TerminalTransaction-2E_8keFp.js} +50 -44
  13. package/dist/{TerminalTransaction-YXcGJ2ne.js → TerminalTransaction-BGy4ABmm.js} +184 -154
  14. package/dist/{Transaction-BOc0NW9a.js → Transaction-DFqANzFa.js} +31 -27
  15. package/dist/{Transaction-CqTKm8KP.js → Transaction-izWqPmdQ.js} +81 -48
  16. package/dist/{app-D017JOF7.js → app-DPCnmmmg.js} +329 -329
  17. package/dist/app.js +1 -1
  18. package/dist/{assets-DjRoCcqv.js → assets-NM2zCyV8.js} +1 -1
  19. package/dist/grafana-CqkYm_ru.js +46 -0
  20. package/dist/helpers/grafana.d.ts +7 -0
  21. package/dist/{index-DFePh4ct.js → index-B5pmhl4r.js} +1 -1
  22. package/dist/{index-BerQZMQW.js → index-BWpuTiNy.js} +1 -1
  23. package/dist/{index-CWGSYCJG.js → index-BbPdddp2.js} +1 -1
  24. package/dist/{index-Dj_LwPBy.js → index-Bl77l-UI.js} +8489 -8321
  25. package/dist/{index-CKyh0nlu.js → index-BpclEVci.js} +1 -1
  26. package/dist/{index-BWFqxSU3.js → index-CZv4Ucw7.js} +1 -1
  27. package/dist/{index-Bp_58SiC.js → index-DfC2cb6i.js} +1 -1
  28. package/dist/{index-BEFlDEyV.js → index-DffVv67M.js} +1 -1
  29. package/dist/{index.vue_vue_type_script_setup_true_lang-BgTr7KWF.js → index.vue_vue_type_script_setup_true_lang-Bm7Wybo3.js} +1 -1
  30. package/dist/model/transaction.d.ts +2 -0
  31. package/dist/package.json +2 -2
  32. package/dist/{payout-account-BhSP2Imp.js → payout-account-DpAKpX1a.js} +2 -2
  33. package/dist/stores/payoutAccount.d.ts +4 -4
  34. package/dist/{transaction-Bxl86wzh.js → transaction-13xSmWg9.js} +25 -20
  35. package/dist/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  37. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
  38. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  39. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  40. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  41. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  42. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  43. package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +5 -0
  44. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  45. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  46. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  47. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  48. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  49. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
  50. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +8 -8
  51. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
  52. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
  53. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
  54. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +3 -1
  55. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
  56. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  57. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  58. package/package.json +2 -2
  59. package/dist/Restaurant-B02jty0J.js +0 -262
  60. package/dist/Terminal-DX8v8WpM.js +0 -386
@@ -0,0 +1,46 @@
1
+ import { h as p } from "./moment-h96o7c8I.js";
2
+ const u = "https://grafana.feedme.farm/explore?schemaVersion=1", i = (s, t, r) => ({
3
+ apq: {
4
+ datasource: "P214B5B846CF3925F",
5
+ queries: [
6
+ {
7
+ refId: "A",
8
+ datasource: {
9
+ type: "tempo",
10
+ uid: "P214B5B846CF3925F"
11
+ },
12
+ queryType: "traceql",
13
+ limit: 100,
14
+ tableType: "spans",
15
+ query: s,
16
+ spss: 1,
17
+ step: ""
18
+ }
19
+ ],
20
+ range: {
21
+ from: t,
22
+ to: r
23
+ }
24
+ }
25
+ }), d = (s, t) => {
26
+ const r = {
27
+ "resource.service.name": "payment-backend",
28
+ "resource.cluster": "production"
29
+ };
30
+ r["resource.cluster"] = "dev", s.forEach((e) => {
31
+ r[`${e.type}.${e.queryKey}`] = e.queryValue;
32
+ });
33
+ const a = `{
34
+ ${Object.keys(r).map((e) => `${e}="${r[e]}"`).join("&&")}
35
+ }`;
36
+ let o = "now", n = "now-1d";
37
+ if (t) {
38
+ const e = +p(t).toDate();
39
+ n = `${e}`, o = `${e + 24 * 60 * 60 * 1e3}`;
40
+ }
41
+ const c = i(a, n, o);
42
+ return u + `&panes=${encodeURIComponent(JSON.stringify(c))}&orgId=1`;
43
+ };
44
+ export {
45
+ d as g
46
+ };
@@ -0,0 +1,7 @@
1
+ type QueryTarget = {
2
+ type: "span" | "resource";
3
+ queryKey: string;
4
+ queryValue: string;
5
+ };
6
+ declare const getGrafanaOtelURL: (extras: QueryTarget[], startAt?: string) => string;
7
+ export default getGrafanaOtelURL;
@@ -1,4 +1,4 @@
1
- import { a as s, b as e, g as t, c as r } from "./index-Dj_LwPBy.js";
1
+ import { a as s, b as e, g as t, c as r } from "./index-Bl77l-UI.js";
2
2
  const m = {
3
3
  async create(a) {
4
4
  return s(
@@ -1,6 +1,6 @@
1
1
  import { ref as b, watch as w } from "vue";
2
2
  import { useRoute as A, useRouter as m } from "vue-router";
3
- import { f as y } from "./index-Dj_LwPBy.js";
3
+ import { f as y } from "./index-Bl77l-UI.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { a as c, b as u, g as t, h as n } from "./index-Dj_LwPBy.js";
1
+ import { a as c, b as u, g as t, h as n } from "./index-Bl77l-UI.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return c(