@feedmepos/mf-payment 0.0.0-beta.11 → 0.0.0-beta.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
  2. package/dist/Modal-DB8M9o1T.js +13 -0
  3. package/dist/{PayoutAccount-uqw305f2.js → PayoutAccount-CIKS18wv.js} +37 -34
  4. package/dist/{PayoutAccount-h58IN5jz.js → PayoutAccount-Daxv1Djz.js} +288 -3160
  5. package/dist/{PayoutAccountSetting-CIeos0md.js → PayoutAccountSetting-CnjAKH1q.js} +3 -3
  6. package/dist/Settlement-C7X_gzIk.js +142 -0
  7. package/dist/Settlement-DxQ9WNy-.js +146 -0
  8. package/dist/{SettlementTransactions-Bqw7WbtT.js → SettlementTransactions-Bne5lD30.js} +4 -4
  9. package/dist/{SettlementTransactions-De_DYXFh.js → SettlementTransactions-RqT0OWUX.js} +100 -107
  10. package/dist/Terminal-CddS-zgz.js +318 -0
  11. package/dist/TerminalSetting-B2aM1gW-.js +176 -0
  12. package/dist/{TerminalTransaction-D_lILlqx.js → TerminalTransaction-XrqXeZZH.js} +18 -18
  13. package/dist/{Transaction-CiFh9jYU.js → Transaction-B16xeZ39.js} +80 -74
  14. package/dist/Transaction-CpOhK6md.js +249 -0
  15. package/dist/api/index.d.ts +7 -0
  16. package/dist/api/settlement/index.d.ts +7 -13
  17. package/dist/api/terminal/index.d.ts +8 -1
  18. package/dist/api/transaction/index.d.ts +6 -2
  19. package/dist/app.js +68 -62
  20. package/dist/{assets-DZoIWoOi.js → assets-nIQ0r4oP.js} +49 -49
  21. package/dist/components/AsyncButton.vue.d.ts +21 -0
  22. package/dist/components/CursorTable/index.vue.d.ts +16 -5
  23. package/dist/{index-Bmka-1lQ.js → index-CIIojtd5.js} +1 -1
  24. package/dist/index-CxYMbN69.js +37 -0
  25. package/dist/index-DflgpHga.js +55560 -0
  26. package/dist/{index-Coz5aeIO.js → index-DhPhiNvt.js} +13 -23
  27. package/dist/{index-CF56zGyu.js → index-DqQBDo_Y.js} +1 -1
  28. package/dist/index.vue_vue_type_script_setup_true_lang-CcY9Uu6G.js +155 -0
  29. package/dist/package.json +3 -3
  30. package/dist/{payout-account-D_lGAP8q.js → payout-account-C4iFFgWi.js} +262 -262
  31. package/dist/{transaction-vRrBf3FN.js → transaction-B4rEbejx.js} +28 -15
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/validator-D5jtpt9A.js +2877 -0
  34. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +61 -0
  35. package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
  36. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +58 -9
  37. package/dist/views/admin/terminal/tabs/Fiuu.vue.d.ts +72 -0
  38. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +63 -0
  39. package/package.json +3 -3
  40. package/dist/Settlement-BVGACeme.js +0 -136
  41. package/dist/Settlement-Ce48KHrc.js +0 -132
  42. package/dist/Terminal-ByKV2Rof.js +0 -204
  43. package/dist/Transaction-DWJ4TWTQ.js +0 -242
  44. package/dist/index-DCPNrUDq.js +0 -40075
  45. package/dist/index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js +0 -150
@@ -0,0 +1,61 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ terminal: {
4
+ type: PropType<{
5
+ name?: string | null | undefined;
6
+ secretKey?: string | null | undefined;
7
+ deviceId?: string | null | undefined;
8
+ bindCode?: string | null | undefined;
9
+ token?: string | null | undefined;
10
+ gateways?: ({
11
+ config?: {
12
+ applicationCode?: string | null | undefined;
13
+ offlineSecret?: string | null | undefined;
14
+ uniqueId: string;
15
+ merchantId: string;
16
+ secretKey: string;
17
+ verifyKey: string;
18
+ } | null | undefined;
19
+ gateway: "Fiuu";
20
+ } | {
21
+ gateway: "Gkash";
22
+ })[] | null | undefined;
23
+ status: "Active" | "Inactive";
24
+ _id: string;
25
+ createdAt: string;
26
+ updatedAt: string;
27
+ referenceId: string;
28
+ securityCode: string;
29
+ }>;
30
+ };
31
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ terminal: {
33
+ type: PropType<{
34
+ name?: string | null | undefined;
35
+ secretKey?: string | null | undefined;
36
+ deviceId?: string | null | undefined;
37
+ bindCode?: string | null | undefined;
38
+ token?: string | null | undefined;
39
+ gateways?: ({
40
+ config?: {
41
+ applicationCode?: string | null | undefined;
42
+ offlineSecret?: string | null | undefined;
43
+ uniqueId: string;
44
+ merchantId: string;
45
+ secretKey: string;
46
+ verifyKey: string;
47
+ } | null | undefined;
48
+ gateway: "Fiuu";
49
+ } | {
50
+ gateway: "Gkash";
51
+ })[] | null | undefined;
52
+ status: "Active" | "Inactive";
53
+ _id: string;
54
+ createdAt: string;
55
+ updatedAt: string;
56
+ referenceId: string;
57
+ securityCode: string;
58
+ }>;
59
+ };
60
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ terminalId: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ terminalId: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -1,15 +1,64 @@
1
- import { type Row } from '@feedmepos/ui-library';
2
1
  declare const _default: import("vue").DefineComponent<{
3
- row: Row<any>;
4
- data: string;
2
+ data: {
3
+ name?: string | null | undefined;
4
+ secretKey?: string | null | undefined;
5
+ deviceId?: string | null | undefined;
6
+ bindCode?: string | null | undefined;
7
+ token?: string | null | undefined;
8
+ gateways?: ({
9
+ config?: {
10
+ applicationCode?: string | null | undefined;
11
+ offlineSecret?: string | null | undefined;
12
+ uniqueId: string;
13
+ merchantId: string;
14
+ secretKey: string;
15
+ verifyKey: string;
16
+ } | null | undefined;
17
+ gateway: "Fiuu";
18
+ } | {
19
+ gateway: "Gkash";
20
+ })[] | null | undefined;
21
+ status: "Active" | "Inactive";
22
+ _id: string;
23
+ createdAt: string;
24
+ updatedAt: string;
25
+ referenceId: string;
26
+ securityCode: string;
27
+ };
5
28
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- link: (data: string) => any;
7
- edit: (data: string) => any;
29
+ link: () => any;
30
+ unlink: () => any;
31
+ edit: () => any;
8
32
  }, string, import("vue").PublicProps, Readonly<{
9
- row: Row<any>;
10
- data: string;
33
+ data: {
34
+ name?: string | null | undefined;
35
+ secretKey?: string | null | undefined;
36
+ deviceId?: string | null | undefined;
37
+ bindCode?: string | null | undefined;
38
+ token?: string | null | undefined;
39
+ gateways?: ({
40
+ config?: {
41
+ applicationCode?: string | null | undefined;
42
+ offlineSecret?: string | null | undefined;
43
+ uniqueId: string;
44
+ merchantId: string;
45
+ secretKey: string;
46
+ verifyKey: string;
47
+ } | null | undefined;
48
+ gateway: "Fiuu";
49
+ } | {
50
+ gateway: "Gkash";
51
+ })[] | null | undefined;
52
+ status: "Active" | "Inactive";
53
+ _id: string;
54
+ createdAt: string;
55
+ updatedAt: string;
56
+ referenceId: string;
57
+ securityCode: string;
58
+ };
11
59
  }> & Readonly<{
12
- onLink?: ((data: string) => any) | undefined;
13
- onEdit?: ((data: string) => any) | undefined;
60
+ onLink?: (() => any) | undefined;
61
+ onUnlink?: (() => any) | undefined;
62
+ onEdit?: (() => any) | undefined;
14
63
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
64
  export default _default;
@@ -0,0 +1,72 @@
1
+ import type { FdoTerminal } from '@feedmepos/payment-entity';
2
+ import { type PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ terminal: {
5
+ type: PropType<{
6
+ name?: string | null | undefined;
7
+ secretKey?: string | null | undefined;
8
+ deviceId?: string | null | undefined;
9
+ bindCode?: string | null | undefined;
10
+ token?: string | null | undefined;
11
+ gateways?: ({
12
+ config?: {
13
+ applicationCode?: string | null | undefined;
14
+ offlineSecret?: string | null | undefined;
15
+ uniqueId: string;
16
+ merchantId: string;
17
+ secretKey: string;
18
+ verifyKey: string;
19
+ } | null | undefined;
20
+ gateway: "Fiuu";
21
+ } | {
22
+ gateway: "Gkash";
23
+ })[] | null | undefined;
24
+ status: "Active" | "Inactive";
25
+ _id: string;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ referenceId: string;
29
+ securityCode: string;
30
+ }>;
31
+ required: true;
32
+ };
33
+ onUpdate: {
34
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
35
+ required: true;
36
+ };
37
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
+ terminal: {
39
+ type: PropType<{
40
+ name?: string | null | undefined;
41
+ secretKey?: string | null | undefined;
42
+ deviceId?: string | null | undefined;
43
+ bindCode?: string | null | undefined;
44
+ token?: string | null | undefined;
45
+ gateways?: ({
46
+ config?: {
47
+ applicationCode?: string | null | undefined;
48
+ offlineSecret?: string | null | undefined;
49
+ uniqueId: string;
50
+ merchantId: string;
51
+ secretKey: string;
52
+ verifyKey: string;
53
+ } | null | undefined;
54
+ gateway: "Fiuu";
55
+ } | {
56
+ gateway: "Gkash";
57
+ })[] | null | undefined;
58
+ status: "Active" | "Inactive";
59
+ _id: string;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ referenceId: string;
63
+ securityCode: string;
64
+ }>;
65
+ required: true;
66
+ };
67
+ onUpdate: {
68
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
69
+ required: true;
70
+ };
71
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
+ export default _default;
@@ -0,0 +1,63 @@
1
+ import type { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ terminal: {
4
+ type: PropType<{
5
+ name?: string | null | undefined;
6
+ secretKey?: string | null | undefined;
7
+ deviceId?: string | null | undefined;
8
+ bindCode?: string | null | undefined;
9
+ token?: string | null | undefined;
10
+ gateways?: ({
11
+ config?: {
12
+ applicationCode?: string | null | undefined;
13
+ offlineSecret?: string | null | undefined;
14
+ uniqueId: string;
15
+ merchantId: string;
16
+ secretKey: string;
17
+ verifyKey: string;
18
+ } | null | undefined;
19
+ gateway: "Fiuu";
20
+ } | {
21
+ gateway: "Gkash";
22
+ })[] | null | undefined;
23
+ status: "Active" | "Inactive";
24
+ _id: string;
25
+ createdAt: string;
26
+ updatedAt: string;
27
+ referenceId: string;
28
+ securityCode: string;
29
+ }>;
30
+ required: true;
31
+ };
32
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ terminal: {
34
+ type: PropType<{
35
+ name?: string | null | undefined;
36
+ secretKey?: string | null | undefined;
37
+ deviceId?: string | null | undefined;
38
+ bindCode?: string | null | undefined;
39
+ token?: string | null | undefined;
40
+ gateways?: ({
41
+ config?: {
42
+ applicationCode?: string | null | undefined;
43
+ offlineSecret?: string | null | undefined;
44
+ uniqueId: string;
45
+ merchantId: string;
46
+ secretKey: string;
47
+ verifyKey: string;
48
+ } | null | undefined;
49
+ gateway: "Fiuu";
50
+ } | {
51
+ gateway: "Gkash";
52
+ })[] | null | undefined;
53
+ status: "Active" | "Inactive";
54
+ _id: string;
55
+ createdAt: string;
56
+ updatedAt: string;
57
+ referenceId: string;
58
+ securityCode: string;
59
+ }>;
60
+ required: true;
61
+ };
62
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "0.0.0-beta.11",
3
+ "version": "0.0.0-beta.13",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -16,7 +16,7 @@
16
16
  "scripts": {
17
17
  "postinstall": "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity",
18
18
  "lint": "eslint --ext .ts,vue --ignore-path .gitignore . --fix",
19
- "dev": "vite --mode dev",
19
+ "dev": "vite --mode dev",
20
20
  "prod": "vite --mode prod",
21
21
  "preview": "vite preview",
22
22
  "test": "jest",
@@ -69,8 +69,8 @@
69
69
  "devDependencies": {
70
70
  "@babel/preset-env": "^7.22.10",
71
71
  "@pinia/testing": "^0.1.3",
72
- "@tsconfig/node20": "^20.1.4",
73
72
  "@rushstack/eslint-patch": "^1.1.3",
73
+ "@tsconfig/node20": "^20.1.4",
74
74
  "@types/dinero.js": "^1.9.0",
75
75
  "@types/file-saver": "^2.0.5",
76
76
  "@types/jest": "^29.5.4",
@@ -1,136 +0,0 @@
1
- import { defineComponent as w, ref as S, computed as k, resolveComponent as _, openBlock as v, createBlock as h, onMounted as A, watch as R, unref as i, withCtx as C, createElementVNode as u, createVNode as p, isRef as D } from "vue";
2
- import { u as V } from "./index-DCPNrUDq.js";
3
- import { h as y } from "./moment-h96o7c8I.js";
4
- import { useCoreStore as b } from "@feedmepos/mf-common";
5
- import { _ as $ } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
- import { s as B } from "./index-Coz5aeIO.js";
7
- import "@feedmepos/ui-library";
8
- import { d as f } from "./dinero-CIVmXLL-.js";
9
- import { useRouter as K } from "vue-router";
10
- import { u as P } from "./index-Bmka-1lQ.js";
11
- const O = /* @__PURE__ */ w({
12
- __name: "SettlementTable",
13
- props: {
14
- data: {
15
- type: Array,
16
- required: !0
17
- },
18
- loading: {
19
- type: Boolean,
20
- required: !0
21
- }
22
- },
23
- emits: ["row-click"],
24
- setup(g, { emit: m }) {
25
- const e = g, n = m, r = S(""), d = [
26
- {
27
- header: () => "Settlement ID",
28
- accessorKey: "id"
29
- },
30
- {
31
- header: () => "Created At",
32
- accessorKey: "transactionAt",
33
- meta: {
34
- width: "180px"
35
- }
36
- },
37
- {
38
- header: () => "Sales Amount",
39
- accessorKey: "amount"
40
- },
41
- {
42
- header: () => "Fee",
43
- accessorKey: "fee"
44
- },
45
- {
46
- header: () => "Settlement Amount",
47
- accessorKey: "payout"
48
- }
49
- ], s = k(() => e.data.map((t) => ({
50
- id: t._id,
51
- transactionAt: y(t.createdAt).format("YYYY-MM-DD"),
52
- amount: f(t.totalAmount).toFormat("$0.00"),
53
- fee: f(t.totalFee).toFormat("$0.00"),
54
- payout: f(t.totalPayout).toFormat("$0.00")
55
- })));
56
- return (t, a) => {
57
- const l = _("FmTable");
58
- return v(), h(l, {
59
- modelValue: r.value,
60
- "onUpdate:modelValue": a[0] || (a[0] = (o) => r.value = o),
61
- "row-data": s.value,
62
- "column-defs": d,
63
- loading: e.loading,
64
- onRowClick: a[1] || (a[1] = (o) => n("row-click", e.data.at(o.index)))
65
- }, null, 8, ["modelValue", "row-data", "loading"]);
66
- };
67
- }
68
- }), Y = { class: "flex justify-between items-center mb-6" }, I = { class: "flex space-x-4 items-center" }, L = { class: "flex space-x-4 items-center" }, H = /* @__PURE__ */ w({
69
- __name: "Settlement",
70
- setup(g) {
71
- const m = K(), { dateRange: e } = P({
72
- dateRange: {
73
- startDate: y().startOf("day").toISOString(),
74
- endDate: y().endOf("day").toISOString()
75
- }
76
- }), { isLoading: n, startAsyncCall: r } = V(!0), { currentRestaurant: d } = b(), s = S([]);
77
- async function t() {
78
- await r(async () => {
79
- const l = await B.readRestaurantSettlements(
80
- {
81
- start: e.value.startDate,
82
- end: e.value.endDate
83
- }
84
- );
85
- s.value = l;
86
- });
87
- }
88
- function a() {
89
- t();
90
- }
91
- return A(a), R(d, a), (l, o) => {
92
- const x = _("FmDateRangePicker"), F = _("FmButton");
93
- return v(), h($, {
94
- title: "Settlements",
95
- description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
96
- loading: i(n)
97
- }, {
98
- default: C(() => [
99
- u("div", Y, [
100
- u("div", I, [
101
- p(x, {
102
- modelValue: i(e),
103
- "onUpdate:modelValue": [
104
- o[0] || (o[0] = (c) => D(e) ? e.value = c : null),
105
- t
106
- ],
107
- compare: "",
108
- "show-predefined-range": ""
109
- }, null, 8, ["modelValue"])
110
- ]),
111
- u("div", L, [
112
- p(F, {
113
- "append-icon": "file_download",
114
- variant: "primary",
115
- label: "Export",
116
- onClick: () => {
117
- }
118
- })
119
- ])
120
- ]),
121
- p(O, {
122
- loading: i(n),
123
- data: s.value,
124
- onRowClick: o[1] || (o[1] = (c) => i(m).push({
125
- path: `/payment/settlement/${c._id}`
126
- }))
127
- }, null, 8, ["loading", "data"])
128
- ]),
129
- _: 1
130
- }, 8, ["loading"]);
131
- };
132
- }
133
- });
134
- export {
135
- H as default
136
- };
@@ -1,132 +0,0 @@
1
- import { defineComponent as w, ref as v, computed as S, resolveComponent as _, openBlock as x, createBlock as h, watch as k, onMounted as A, unref as i, withCtx as D, createElementVNode as u, createVNode as p, isRef as C } from "vue";
2
- import { u as R } from "./index-DCPNrUDq.js";
3
- import { h as y } from "./moment-h96o7c8I.js";
4
- import { s as V } from "./index-Coz5aeIO.js";
5
- import "@feedmepos/ui-library";
6
- import { d as f } from "./dinero-CIVmXLL-.js";
7
- import { useRouter as b } from "vue-router";
8
- import { _ as B } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
9
- import { u as $ } from "./index-Bmka-1lQ.js";
10
- const K = /* @__PURE__ */ w({
11
- __name: "SettlementTable",
12
- props: {
13
- data: {
14
- type: Array,
15
- required: !0
16
- },
17
- loading: {
18
- type: Boolean,
19
- required: !0
20
- }
21
- },
22
- emits: ["row-click"],
23
- setup(g, { emit: s }) {
24
- const n = g, l = s, d = v(""), e = [
25
- {
26
- header: () => "Settlement ID",
27
- accessorKey: "id"
28
- },
29
- {
30
- header: () => "Created At",
31
- accessorKey: "transactionAt",
32
- meta: {
33
- width: "180px"
34
- }
35
- },
36
- {
37
- header: () => "Sales Amount",
38
- accessorKey: "amount"
39
- },
40
- {
41
- header: () => "Fee",
42
- accessorKey: "fee"
43
- },
44
- {
45
- header: () => "Settlement Amount",
46
- accessorKey: "payout"
47
- }
48
- ], m = S(() => n.data.map((t) => ({
49
- id: t._id,
50
- transactionAt: y(t.createdAt).format("YYYY-MM-DD"),
51
- amount: f(t.totalAmount).toFormat("$0.00"),
52
- fee: f(t.totalFee).toFormat("$0.00"),
53
- payout: f(t.totalPayout).toFormat("$0.00")
54
- })));
55
- return (t, o) => {
56
- const a = _("FmTable");
57
- return x(), h(a, {
58
- modelValue: d.value,
59
- "onUpdate:modelValue": o[0] || (o[0] = (r) => d.value = r),
60
- "row-data": m.value,
61
- "column-defs": e,
62
- loading: n.loading,
63
- onRowClick: o[1] || (o[1] = (r) => l("row-click", n.data.at(r.index)))
64
- }, null, 8, ["modelValue", "row-data", "loading"]);
65
- };
66
- }
67
- }), P = { class: "flex justify-between items-center mb-6" }, O = { class: "flex space-x-4 items-center" }, Y = { class: "flex space-x-4 items-center" }, Q = /* @__PURE__ */ w({
68
- __name: "Settlement",
69
- setup(g) {
70
- const { isLoading: s, startAsyncCall: n } = R(!0), l = v([]), d = b(), { dateRange: e } = $({
71
- dateRange: {
72
- startDate: y().startOf("day").toISOString(),
73
- endDate: y().endOf("day").toISOString()
74
- }
75
- });
76
- k(e, m);
77
- async function m() {
78
- await n(async () => {
79
- const o = await V.readByDate(
80
- {
81
- start: e.value.startDate,
82
- end: e.value.endDate
83
- }
84
- );
85
- l.value = o;
86
- });
87
- }
88
- function t() {
89
- m();
90
- }
91
- return A(t), (o, a) => {
92
- const r = _("FmDateRangePicker"), F = _("FmButton");
93
- return x(), h(B, {
94
- title: "Settlements",
95
- loading: i(s)
96
- }, {
97
- default: D(() => [
98
- u("div", P, [
99
- u("div", O, [
100
- p(r, {
101
- modelValue: i(e),
102
- "onUpdate:modelValue": a[0] || (a[0] = (c) => C(e) ? e.value = c : null),
103
- compare: "",
104
- "show-predefined-range": ""
105
- }, null, 8, ["modelValue"])
106
- ]),
107
- u("div", Y, [
108
- p(F, {
109
- "append-icon": "file_download",
110
- variant: "primary",
111
- label: "Export",
112
- onClick: () => {
113
- }
114
- })
115
- ])
116
- ]),
117
- p(K, {
118
- loading: i(s),
119
- data: l.value,
120
- onRowClick: a[1] || (a[1] = (c) => i(d).push({
121
- path: `/payment/admin/settlement/${c._id}`
122
- }))
123
- }, null, 8, ["loading", "data"])
124
- ]),
125
- _: 1
126
- }, 8, ["loading"]);
127
- };
128
- }
129
- });
130
- export {
131
- Q as default
132
- };