@feedmepos/mf-payment 1.1.4 → 1.1.5-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.
Files changed (56) hide show
  1. package/dist/{PayoutAccount-B8nq1Ik5.js → PayoutAccount--j-jJWMQ.js} +5 -5
  2. package/dist/{PayoutAccount-CSWZF-z8.js → PayoutAccount-BERFCsMv.js} +3 -3
  3. package/dist/{PayoutAccountSetting-DLj_di-f.js → PayoutAccountSetting-ChxkU61V.js} +3 -3
  4. package/dist/{Restaurant-BNCtsCkB.js → Restaurant-DQjoEvF_.js} +4 -4
  5. package/dist/{RestaurantSetting-D4CdKqLR.js → RestaurantSetting-Gr65NXud.js} +3 -3
  6. package/dist/{Settlement-D3vNmtrn.js → Settlement-B-3O3EId.js} +3 -3
  7. package/dist/{Settlement-ByKU2nbo.js → Settlement-Cq_4_1ua.js} +3 -3
  8. package/dist/{SettlementTransactions-OnGBlX91.js → SettlementTransactions-CJbf1zL2.js} +3 -3
  9. package/dist/{SettlementTransactions-COA2whhB.js → SettlementTransactions-Db6_Nv3v.js} +3 -3
  10. package/dist/{Terminal-BEGlXHeH.js → Terminal-xSZCzDZn.js} +6 -6
  11. package/dist/TerminalSetting-BVojWrSJ.js +489 -0
  12. package/dist/{Transaction-CSUJ4-Qs.js → Transaction-BFgu4Xnf.js} +105 -95
  13. package/dist/{Transaction-_dO1GXXy.js → Transaction-CEh4Gnt5.js} +6 -6
  14. package/dist/{TransactionOld-Bo_ilNzh.js → TransactionOld-DH8MUGCs.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DZCndTn1.js → TransactionTable.vue_vue_type_script_setup_true_lang-CIqrGHo8.js} +3 -3
  16. package/dist/api/terminal/index.d.ts +4 -0
  17. package/dist/{app-CiImVRsy.js → app-D8ewtGn5.js} +235 -235
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-1VaaNVmv.js → assets-DcSn4sMG.js} +2 -2
  20. package/dist/components/CursorTable/index.vue.d.ts +3 -3
  21. package/dist/components/PagingTable/index.vue.d.ts +3 -3
  22. package/dist/{grafana-B5l2gtJI.js → grafana-DW4fh2g4.js} +4 -4
  23. package/dist/{index-Dk5jCvkX.js → index-Bg1fv5AY.js} +7053 -6995
  24. package/dist/{index-DCM8IXN0.js → index-D3XaYCNd.js} +1 -1
  25. package/dist/{index-CGcFfU-T.js → index-DcT1Yiz4.js} +1 -1
  26. package/dist/{index-B6gp7UJO.js → index-JEYJrs6t.js} +9 -1
  27. package/dist/{index-CHStFeFQ.js → index-Z5ts1fWJ.js} +1 -1
  28. package/dist/{index-DAwZpgYT.js → index-uRv2m4ys.js} +1 -1
  29. package/dist/{index.vue_vue_type_script_setup_true_lang-D_lBJl2w.js → index.vue_vue_type_script_setup_true_lang-BkqD1rLK.js} +1 -1
  30. package/dist/model/payout-account.d.ts +1 -1
  31. package/dist/package.json +2 -2
  32. package/dist/{payout-account-B96a8IZo.js → payout-account-4XGG8dyO.js} +2 -2
  33. package/dist/stores/payoutAccount.d.ts +4 -4
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  36. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +6 -6
  37. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +6 -6
  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/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  41. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
  42. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  43. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  44. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +4 -4
  45. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +2 -2
  46. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +4 -4
  47. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +4 -4
  48. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +4 -4
  49. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
  50. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +4 -4
  51. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
  52. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  53. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
  54. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
  55. package/package.json +2 -2
  56. package/dist/TerminalSetting-BMMKEXAW.js +0 -389
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, f as o } from "./app-CiImVRsy.js";
1
+ import { h as e, i as r, f as o } from "./app-D8ewtGn5.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-Dk5jCvkX.js";
1
+ import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-Bg1fv5AY.js";
2
2
  import { h as C } from "./moment-h96o7c8I.js";
3
3
  import { d as O } from "./dinero-CIVmXLL-.js";
4
4
  const K = {
@@ -122,7 +122,7 @@ function u(A) {
122
122
  let Q = "", B = "";
123
123
  switch (!0) {
124
124
  case !!A.terminal:
125
- B = "Terminal", Q = A.terminal;
125
+ B = A.terminalType ?? "Device", Q = A.terminal;
126
126
  break;
127
127
  case !!A.restaurant:
128
128
  B = "Restaurant", Q = A.restaurant;
@@ -23,20 +23,20 @@ export type CursorTableController<T> = {
23
23
  replaceData: (index: number, value: T) => void;
24
24
  };
25
25
  declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
26
- readonly "onRow-click"?: ((data: T) => any) | undefined;
27
26
  readonly columnDefs: ColumnDef<R>[];
28
27
  readonly rowsDefs: (a: T) => R;
29
28
  readonly paginate: (limit: number, cursor: string) => Promise<PaginatedResult<T>>;
29
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
30
30
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
31
31
  attrs: any;
32
32
  slots: {};
33
33
  emit: (event: 'row-click', data: T) => any;
34
34
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<CursorTableController<T>>) => void) | undefined, __VLS_setup?: Promise<{
35
35
  props: {
36
- readonly "onRow-click"?: ((data: T) => any) | undefined;
37
36
  readonly columnDefs: ColumnDef<R>[];
38
37
  readonly rowsDefs: (a: T) => R;
39
38
  readonly paginate: (limit: number, cursor: string) => Promise<PaginatedResult<T>>;
39
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
40
40
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
41
41
  expose(exposed: import("vue").ShallowUnwrapRef<CursorTableController<T>>): void;
42
42
  attrs: any;
@@ -47,10 +47,10 @@ declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
47
47
  }> & {
48
48
  __ctx?: {
49
49
  props: {
50
- readonly "onRow-click"?: ((data: T) => any) | undefined;
51
50
  readonly columnDefs: ColumnDef<R>[];
52
51
  readonly rowsDefs: (a: T) => R;
53
52
  readonly paginate: (limit: number, cursor: string) => Promise<PaginatedResult<T>>;
53
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
54
54
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
55
55
  expose(exposed: import("vue").ShallowUnwrapRef<CursorTableController<T>>): void;
56
56
  attrs: any;
@@ -7,20 +7,20 @@ export type PagingTableController = {
7
7
  reset: () => {};
8
8
  };
9
9
  declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
10
- readonly "onRow-click"?: ((data: T) => any) | undefined;
11
10
  readonly columnDefs: ColumnDef<R>[];
12
11
  readonly rowsDefs: (a: T) => R;
13
12
  readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
13
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
14
14
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
15
15
  attrs: any;
16
16
  slots: {};
17
17
  emit: (event: 'row-click', data: T) => any;
18
18
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<PagingTableController>) => void) | undefined, __VLS_setup?: Promise<{
19
19
  props: {
20
- readonly "onRow-click"?: ((data: T) => any) | undefined;
21
20
  readonly columnDefs: ColumnDef<R>[];
22
21
  readonly rowsDefs: (a: T) => R;
23
22
  readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
23
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
24
24
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
25
25
  expose(exposed: import("vue").ShallowUnwrapRef<PagingTableController>): void;
26
26
  attrs: any;
@@ -31,10 +31,10 @@ declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
31
31
  }> & {
32
32
  __ctx?: {
33
33
  props: {
34
- readonly "onRow-click"?: ((data: T) => any) | undefined;
35
34
  readonly columnDefs: ColumnDef<R>[];
36
35
  readonly rowsDefs: (a: T) => R;
37
36
  readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
37
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
38
38
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
39
39
  expose(exposed: import("vue").ShallowUnwrapRef<PagingTableController>): void;
40
40
  attrs: any;
@@ -1,4 +1,4 @@
1
- import { e as y } from "./index-Dk5jCvkX.js";
1
+ import { e as y } from "./index-Bg1fv5AY.js";
2
2
  import { useCoreStore as p } from "@feedmepos/mf-common";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) => ({
@@ -32,7 +32,7 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
32
32
  {
33
33
  type: "resource",
34
34
  queryKey: "cluster",
35
- queryValue: "production"
35
+ queryValue: "dev"
36
36
  },
37
37
  {
38
38
  type: "resource",
@@ -43,8 +43,8 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
43
43
  a.push(...t);
44
44
  let s = "now", n = "now-1d";
45
45
  if (e) {
46
- const u = +m(e).toDate();
47
- n = `${u}`, s = `${u + 24 * 60 * 60 * 1e3}`;
46
+ const u = +m(e).add(-3, "hours").toDate();
47
+ n = `${u}`, s = `${u + 3 * 60 * 60 * 1e3}`;
48
48
  }
49
49
  const c = d(a, n, s);
50
50
  return i + `&panes=${encodeURIComponent(JSON.stringify(c))}&orgId=1`;