@feedmepos/mf-payment 1.4.46 → 1.5.0-dev
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/{Actions.vue_vue_type_script_setup_true_lang-sYaYPQ_s.js → Actions.vue_vue_type_script_setup_true_lang-DGbH2LsQ.js} +43 -43
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js → AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js} +13 -13
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-I9eO197f.js +47 -0
- package/dist/{Chargeback-BftBez0p.js → Chargeback-19afdT_4.js} +83 -83
- package/dist/{DateRangePicker.vue_vue_type_script_setup_true_lang-XZ7OzGau.js → DateRangePicker.vue_vue_type_script_setup_true_lang-kymnzYpd.js} +1 -1
- package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-CzwG5dCO.js +77 -0
- package/dist/Forbidden-CSTZjebc.js +38 -0
- package/dist/Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js +45 -0
- package/dist/{OnboardForm-CnKOFMMH.js → OnboardForm-Cc6JOr09.js} +596 -528
- package/dist/{OnboardForm-DqhRFi-H.js → OnboardForm-Do6ar3sx.js} +363 -347
- package/dist/{OnboardSubmission-DKxUJxCW.js → OnboardSubmission-B-leoVPo.js} +4 -4
- package/dist/{OnboardSubmission-munHiPKU.js → OnboardSubmission-Dj8AGb69.js} +8 -8
- package/dist/PDFViewer-DgyyGDHl.js +23209 -0
- package/dist/{PayoutAccount-DbLQjLVr.js → PayoutAccount--1J5ubvX.js} +341 -312
- package/dist/{PayoutAccount-C1ADGszh.js → PayoutAccount-ChGlsZ-O.js} +75 -75
- package/dist/{PayoutAccountSetting-YYswVooL.js → PayoutAccountSetting-BC0ANAqY.js} +281 -266
- package/dist/{Restaurant-26r7Q01z.js → Restaurant-ZiTHtFZJ.js} +79 -79
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-Bzj_sdSY.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DG3iyjkK.js} +3 -3
- package/dist/{RestaurantSetting-D1APrvzM.js → RestaurantSetting-M1jYaGwx.js} +5 -5
- package/dist/{SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js → SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js} +5 -5
- package/dist/{Settlement-CWX5RKwL.js → Settlement-Cj2W8VfH.js} +7 -7
- package/dist/{Settlement-Ix55QLVB.js → Settlement-D_nmqYEC.js} +12 -15
- package/dist/{SettlementTransactions-DYAlKO__.js → SettlementTransactions-Ch9jeQU6.js} +99 -99
- package/dist/{SettlementTransactions-BIodJ6DN.js → SettlementTransactions-DK1ONvn6.js} +55 -55
- package/dist/{Status.vue_vue_type_script_setup_true_lang-B5iI3OiL.js → Status.vue_vue_type_script_setup_true_lang-BP5m6Vic.js} +9 -9
- package/dist/Terminal-CoPPPePw.js +1135 -0
- package/dist/{TerminalSetting-BiaGvysm.js → TerminalSetting-PWs1fyFe.js} +549 -425
- package/dist/{Transaction-D51QiCaP.js → Transaction-BirTp8t6.js} +82 -82
- package/dist/{Transaction-ouagKBic.js → Transaction-CegzBK7m.js} +65 -65
- package/dist/{TransactionOld-CCzonxUD.js → TransactionOld-DqGMuWvL.js} +9 -9
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/document/index.d.ts +4 -0
- package/dist/{app-DE4U_54A.js → app-D6U0uODp.js} +894 -944
- package/dist/app.d.ts +1 -358
- package/dist/app.js +4 -3
- package/dist/{assets--JQWdCl5.js → assets-DtwUojcS.js} +1 -1
- package/dist/components/AdminLayout.vue.d.ts +3 -3
- package/dist/components/AutoCopyCell.vue.d.ts +1 -1
- package/dist/components/DocumentViewer.vue.d.ts +16 -0
- package/dist/components/ImagePreview.vue.d.ts +3 -3
- package/dist/components/Layout.vue.d.ts +3 -3
- package/dist/components/PDFViewer.vue.d.ts +4 -4
- package/dist/components/RestaurantSelector.vue.d.ts +1 -1
- package/dist/components/RouteCell.vue.d.ts +1 -1
- package/dist/{grafana-22PXAn1O.js → grafana-fZyobMgN.js} +1 -1
- package/dist/{index-B0uA-O38.js → index--K2ipr4H.js} +7 -7
- package/dist/{index-cCTvH31Z.js → index-BJNCcdvT.js} +22132 -24859
- package/dist/{index-Blb5YaYR.js → index-C-YBwRQp.js} +3 -3
- package/dist/{index-Ctn4LFui.js → index-CMN40t8e.js} +1 -1
- package/dist/{index-sc6pzeZl.js → index-CbONxZz2.js} +17 -13
- package/dist/{index-BLyx8ZQr.js → index-CtkwL_6R.js} +1 -1
- package/dist/{index-B9kHmV6p.js → index-D69RnDa7.js} +19 -19
- package/dist/index-_u7l8cO3.js +27 -0
- package/dist/{index-B0-Kn6Mw.js → index-eLZ3BErV.js} +12 -12
- package/dist/{index.vue_vue_type_script_setup_true_lang-NUicoOT2.js → index.vue_vue_type_script_setup_true_lang-zxkA_YTt.js} +50 -50
- package/dist/model/payout-account.d.ts +2 -2
- package/dist/{Forbidden-Dqw0MqyC.js → no-data-BRmo6XOO.js} +2 -35
- package/dist/package.json +13 -7
- package/dist/{payout-account-KcIc3kyX.js → payout-account-CVYMFqu9.js} +78 -77
- package/dist/plugins.d.ts +1 -5
- package/dist/router/index.d.ts +1 -0
- package/dist/stores/payoutAccount.d.ts +16 -16
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{validator-D5jtpt9A.js → validator-DzjyJnvv.js} +842 -763
- package/dist/views/Forbidden.vue.d.ts +1 -1
- package/dist/views/admin/chargeback/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/onboard-submission/cell/SignatureBoard.vue.d.ts +2 -1
- package/dist/views/admin/onboard-submission/cell/UploadButton.vue.d.ts +3 -2
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +1 -1
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +118 -244
- package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +28 -8
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/terminal/cell/ID.vue.d.ts +1 -1
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +29 -9
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +29 -9
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +250 -0
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +28 -8
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/transaction/cell/BillSeqNumber.vue.d.ts +1 -1
- package/dist/views/onboard-submission/cell/SignatureBoard.vue.d.ts +2 -1
- package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +6 -5
- package/dist/views/payout-account/PayoutAccountDialog.vue.d.ts +2 -2
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +68 -68
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +34 -34
- package/dist/views/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/transaction/cell/BillSeqNumber.vue.d.ts +1 -1
- package/package.json +26 -20
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DP8STuAT.js +0 -47
- package/dist/Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js +0 -45
- package/dist/PDFViewer-DHKBD99J.js +0 -22433
- package/dist/Terminal-CrM7EzkM.js +0 -1095
- package/dist/plugins-DOA8YO_V.js +0 -1366
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as a, b as t, p as r, f as i, d as s } from "./index-BJNCcdvT.js";
|
|
2
2
|
const y = {
|
|
3
3
|
async create(e) {
|
|
4
4
|
return s(
|
|
@@ -37,12 +37,12 @@ const y = {
|
|
|
37
37
|
);
|
|
38
38
|
},
|
|
39
39
|
async getBusinessTerminals() {
|
|
40
|
-
return a(await
|
|
40
|
+
return a(await i().get("/terminals"));
|
|
41
41
|
},
|
|
42
42
|
async getRestaurantTerminals(e) {
|
|
43
43
|
return a(
|
|
44
44
|
await t().get(
|
|
45
|
-
`restaurants/${e}/terminals?deviceType=${
|
|
45
|
+
`restaurants/${e}/terminals?deviceType=${r.FdoTerminalDeviceType.Enum.TERMINAL}`
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
48
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { g as n, b as a, o as r, d as i } from "./index-BJNCcdvT.js";
|
|
2
|
+
import { h as u } from "./moment-h96o7c8I.js";
|
|
3
|
+
import { d as m } from "./index-_u7l8cO3.js";
|
|
4
|
+
const c = {
|
|
5
5
|
async read(s) {
|
|
6
|
-
return
|
|
6
|
+
return i(
|
|
7
7
|
await a().get("/payments/onboard-submissions", {
|
|
8
8
|
params: { ...s }
|
|
9
9
|
})
|
|
@@ -19,7 +19,7 @@ const y = {
|
|
|
19
19
|
`payments/onboard-submissions/${s}/document`,
|
|
20
20
|
{ responseType: "blob" }
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
r(t.data);
|
|
23
23
|
},
|
|
24
24
|
async sendDocument(s) {
|
|
25
25
|
return n(
|
|
@@ -30,7 +30,10 @@ const y = {
|
|
|
30
30
|
},
|
|
31
31
|
async reviewById(s, t) {
|
|
32
32
|
return n(
|
|
33
|
-
await a().put(
|
|
33
|
+
await a().put(
|
|
34
|
+
`/payments/onboard-submissions/${s}`,
|
|
35
|
+
t
|
|
36
|
+
)
|
|
34
37
|
);
|
|
35
38
|
},
|
|
36
39
|
async getById(s, t) {
|
|
@@ -47,11 +50,12 @@ const y = {
|
|
|
47
50
|
)
|
|
48
51
|
);
|
|
49
52
|
},
|
|
50
|
-
async uploadDocument(s, t,
|
|
51
|
-
const
|
|
52
|
-
return
|
|
53
|
-
`restaurant/${s}/documents/${t}/${
|
|
54
|
-
|
|
53
|
+
async uploadDocument(s, t, o) {
|
|
54
|
+
const e = u().toISOString();
|
|
55
|
+
return await m.upload(
|
|
56
|
+
`restaurant/${s}/documents/${t}/${e}.pdf`,
|
|
57
|
+
o,
|
|
58
|
+
s
|
|
55
59
|
);
|
|
56
60
|
},
|
|
57
61
|
async updateSubmission(s) {
|
|
@@ -64,5 +68,5 @@ const y = {
|
|
|
64
68
|
}
|
|
65
69
|
};
|
|
66
70
|
export {
|
|
67
|
-
|
|
71
|
+
c as o
|
|
68
72
|
};
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as n, b as s, f as u, d as e } from "./index-BJNCcdvT.js";
|
|
2
2
|
const o = {
|
|
3
3
|
async read(a) {
|
|
4
4
|
return e(
|
|
5
|
-
await
|
|
5
|
+
await s().get("payout-accounts", {
|
|
6
6
|
params: { ...a }
|
|
7
7
|
})
|
|
8
8
|
);
|
|
9
9
|
},
|
|
10
10
|
async readById(a) {
|
|
11
|
-
return
|
|
12
|
-
await
|
|
11
|
+
return n(
|
|
12
|
+
await s().get(`payout-accounts/${a}`)
|
|
13
13
|
);
|
|
14
14
|
},
|
|
15
15
|
async updateById(a, t) {
|
|
16
|
-
return
|
|
17
|
-
await
|
|
16
|
+
return n(
|
|
17
|
+
await s().put(`payout-accounts/${a}`, {
|
|
18
18
|
...t
|
|
19
19
|
})
|
|
20
20
|
);
|
|
21
21
|
},
|
|
22
22
|
async readBusinessPayoutAccounts() {
|
|
23
|
-
return
|
|
23
|
+
return n(await u().get("/payout-accounts"));
|
|
24
24
|
},
|
|
25
25
|
async createBusinessPayoutAccounts(a) {
|
|
26
|
-
return
|
|
26
|
+
return n(
|
|
27
27
|
await u().post("/payout-accounts", { ...a })
|
|
28
28
|
);
|
|
29
29
|
},
|
|
30
30
|
async updateBusinessPayoutAccounts(a, t) {
|
|
31
|
-
return
|
|
31
|
+
return n(
|
|
32
32
|
await u().put(`/payout-accounts/${a}`, {
|
|
33
33
|
...t
|
|
34
34
|
})
|
|
35
35
|
);
|
|
36
36
|
},
|
|
37
37
|
async updateGateway(a, t) {
|
|
38
|
-
return
|
|
38
|
+
return s().put(
|
|
39
39
|
`/payout-accounts/${a}/gateways`,
|
|
40
40
|
t
|
|
41
41
|
);
|
|
42
42
|
},
|
|
43
43
|
async updateTokens(a, t) {
|
|
44
|
-
return
|
|
44
|
+
return s().put(
|
|
45
45
|
`/payout-accounts/${a}/tokens`,
|
|
46
46
|
t
|
|
47
47
|
);
|
|
48
48
|
},
|
|
49
49
|
async getChannels(a) {
|
|
50
|
-
return
|
|
51
|
-
await
|
|
50
|
+
return n(
|
|
51
|
+
await s().get(`/payout-accounts/${a}/channels`)
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
async updateChannels(a, t) {
|
|
55
|
-
return
|
|
56
|
-
await
|
|
55
|
+
return n(
|
|
56
|
+
await s().put(
|
|
57
57
|
`/payout-accounts/${a}/channels`,
|
|
58
58
|
t
|
|
59
59
|
)
|
|
60
60
|
);
|
|
61
61
|
},
|
|
62
62
|
async resetChannels(a) {
|
|
63
|
-
return
|
|
64
|
-
await
|
|
63
|
+
return n(
|
|
64
|
+
await s().delete(
|
|
65
65
|
`/payout-accounts/${a}/channels`
|
|
66
66
|
)
|
|
67
67
|
);
|
|
68
68
|
},
|
|
69
69
|
async readByRestaurantId(a) {
|
|
70
|
-
return
|
|
71
|
-
await
|
|
70
|
+
return n(
|
|
71
|
+
await s().get(
|
|
72
72
|
`/restaurants/${a}/payout-account`
|
|
73
73
|
)
|
|
74
74
|
);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { f as s } from "./index-BJNCcdvT.js";
|
|
2
|
+
const c = {
|
|
3
|
+
async upload(e, t, o) {
|
|
4
|
+
const n = (await s().post("/document/presign", {
|
|
5
|
+
file: e,
|
|
6
|
+
restaurantId: o
|
|
7
|
+
})).data.url;
|
|
8
|
+
if (!(await fetch(n, {
|
|
9
|
+
method: "PUT",
|
|
10
|
+
body: t,
|
|
11
|
+
headers: {
|
|
12
|
+
"Content-Type": t.type || "application/octet-stream"
|
|
13
|
+
}
|
|
14
|
+
})).ok)
|
|
15
|
+
throw new Error("Failed to upload document");
|
|
16
|
+
return e;
|
|
17
|
+
},
|
|
18
|
+
async view(e, t) {
|
|
19
|
+
return (await s().post("/document/view", {
|
|
20
|
+
file: e,
|
|
21
|
+
restaurantId: t
|
|
22
|
+
})).data.url;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
c as d
|
|
27
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as r,
|
|
1
|
+
import { g as r, r as i, b as m, h as l, l as c, i as d, j as y } from "./index-BJNCcdvT.js";
|
|
2
2
|
import { h as o } from "./moment-h96o7c8I.js";
|
|
3
3
|
import { d as f } from "./dinero-CIVmXLL-.js";
|
|
4
4
|
function* p(t, n) {
|
|
@@ -12,12 +12,12 @@ function* p(t, n) {
|
|
|
12
12
|
const S = {
|
|
13
13
|
async updateRemark(t) {
|
|
14
14
|
return r(
|
|
15
|
-
await
|
|
15
|
+
await m().put("/settlements/remark", t)
|
|
16
16
|
);
|
|
17
17
|
},
|
|
18
18
|
async readByDate(t) {
|
|
19
19
|
return r(
|
|
20
|
-
await
|
|
20
|
+
await m().get("/settlements", {
|
|
21
21
|
params: t
|
|
22
22
|
})
|
|
23
23
|
);
|
|
@@ -57,11 +57,11 @@ const S = {
|
|
|
57
57
|
type: "text/plain;charset=utf-8"
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
|
-
return
|
|
60
|
+
return y(s, "duitnow_bulk_transfer.txt");
|
|
61
61
|
},
|
|
62
62
|
async downloadSummaryReport(t, n) {
|
|
63
|
-
return
|
|
64
|
-
t.map((e) =>
|
|
63
|
+
return c(
|
|
64
|
+
t.map((e) => d(e)),
|
|
65
65
|
{
|
|
66
66
|
filename: `summary-report-${n.start}-${n.end}.xlsx`,
|
|
67
67
|
exclude: [
|
|
@@ -96,7 +96,7 @@ const S = {
|
|
|
96
96
|
},
|
|
97
97
|
async downloadSettlementReport(t) {
|
|
98
98
|
return l(
|
|
99
|
-
await
|
|
99
|
+
await m().get("/settlements/audit/v2", {
|
|
100
100
|
params: {
|
|
101
101
|
start: o(t.start).startOf("day").toISOString(),
|
|
102
102
|
end: o(t.end).endOf("day").toISOString()
|
|
@@ -107,7 +107,7 @@ const S = {
|
|
|
107
107
|
},
|
|
108
108
|
async downloadRestaurantSettlementReport(t) {
|
|
109
109
|
return l(
|
|
110
|
-
await
|
|
110
|
+
await i().get("/settlements/report", {
|
|
111
111
|
params: {
|
|
112
112
|
start: o(t.start).startOf("day").toISOString(),
|
|
113
113
|
end: o(t.end).endOf("day").toISOString()
|
|
@@ -118,24 +118,24 @@ const S = {
|
|
|
118
118
|
},
|
|
119
119
|
async readById(t) {
|
|
120
120
|
return r(
|
|
121
|
-
await
|
|
121
|
+
await m().get(`/settlements/${t}`)
|
|
122
122
|
);
|
|
123
123
|
},
|
|
124
124
|
async readRestaurantSettlementById(t) {
|
|
125
125
|
return r(
|
|
126
|
-
await
|
|
126
|
+
await i().get(`/settlements/${t}`)
|
|
127
127
|
);
|
|
128
128
|
},
|
|
129
129
|
async readRestaurantSettlements(t) {
|
|
130
130
|
return r(
|
|
131
|
-
await
|
|
131
|
+
await i().get("/settlements", {
|
|
132
132
|
params: t
|
|
133
133
|
})
|
|
134
134
|
);
|
|
135
135
|
},
|
|
136
136
|
async readRestaurantRMSSettlements(t) {
|
|
137
137
|
return r(
|
|
138
|
-
await
|
|
138
|
+
await i().get("/settlements/rms", {
|
|
139
139
|
params: t
|
|
140
140
|
})
|
|
141
141
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as U, ref as r, resolveComponent as
|
|
2
|
-
import { u as J } from "./index-
|
|
1
|
+
import { defineComponent as U, ref as r, resolveComponent as f, openBlock as g, createBlock as S, withCtx as z, createElementVNode as s, normalizeStyle as j, createElementBlock as B, Fragment as N, renderList as E, createVNode as c, computed as _, watch as I, onMounted as O, unref as C, toDisplayString as D, createCommentVNode as R, nextTick as G, normalizeClass as H } from "vue";
|
|
2
|
+
import { u as J } from "./index-BJNCcdvT.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
const K = ["id"], L = /* @__PURE__ */ U({
|
|
5
5
|
__name: "FmTableSelection",
|
|
@@ -8,21 +8,21 @@ const K = ["id"], L = /* @__PURE__ */ U({
|
|
|
8
8
|
items: {}
|
|
9
9
|
},
|
|
10
10
|
emits: ["update:modelValue"],
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return (
|
|
14
|
-
const
|
|
15
|
-
return
|
|
11
|
+
setup(i, { emit: k }) {
|
|
12
|
+
const F = k, x = i, d = r(!1);
|
|
13
|
+
return (M, v) => {
|
|
14
|
+
const h = f("FmButton"), V = f("FmMenuItem"), y = f("FmMenu");
|
|
15
|
+
return g(), S(y, {
|
|
16
16
|
"max-height": 264,
|
|
17
17
|
shift: "",
|
|
18
|
-
onMenuChanged:
|
|
18
|
+
onMenuChanged: v[0] || (v[0] = (a) => d.value = a)
|
|
19
19
|
}, {
|
|
20
20
|
"menu-button": z(() => {
|
|
21
21
|
var a;
|
|
22
22
|
return [
|
|
23
|
-
|
|
24
|
-
icon:
|
|
25
|
-
label: (a =
|
|
23
|
+
c(h, {
|
|
24
|
+
icon: d.value ? "expand_less" : "expand_more",
|
|
25
|
+
label: (a = i.items.find((o) => o.value === x.value)) == null ? void 0 : a.label,
|
|
26
26
|
"icon-position": "append",
|
|
27
27
|
size: "md",
|
|
28
28
|
variant: "tertiary"
|
|
@@ -35,12 +35,12 @@ const K = ["id"], L = /* @__PURE__ */ U({
|
|
|
35
35
|
style: j({ maxHeight: `${a}px` }),
|
|
36
36
|
class: "bg-fm-color-neutral-white flex flex-col overflow-y-auto px-4 py-12 rounded-md shadow-light-300 w-[75px]"
|
|
37
37
|
}, [
|
|
38
|
-
(
|
|
38
|
+
(g(!0), B(N, null, E(i.items, (o) => (g(), S(V, {
|
|
39
39
|
key: o.value,
|
|
40
40
|
label: o.label,
|
|
41
41
|
value: o.value,
|
|
42
|
-
"model-value": o.value ===
|
|
43
|
-
"onUpdate:modelValue": (l) =>
|
|
42
|
+
"model-value": o.value === x.value,
|
|
43
|
+
"onUpdate:modelValue": (l) => F("update:modelValue", o.value)
|
|
44
44
|
}, null, 8, ["label", "value", "model-value", "onUpdate:modelValue"]))), 128))
|
|
45
45
|
], 12, K)
|
|
46
46
|
]),
|
|
@@ -52,7 +52,7 @@ const K = ["id"], L = /* @__PURE__ */ U({
|
|
|
52
52
|
key: 0,
|
|
53
53
|
class: "basis-72 bg-white flex items-center justify-between px-24 pt-6"
|
|
54
54
|
}, W = { class: "flex gap-24 items-center justify-between xs:hidden xs:invisible" }, X = { class: "flex gap-8 items-center" }, Y = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary xs:hidden xs:invisible" }, Z = {
|
|
55
|
-
class: /* @__PURE__ */
|
|
55
|
+
class: /* @__PURE__ */ H(["flex gap-8 items-center"])
|
|
56
56
|
}, ee = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary xs:mr-auto" }, te = { class: "flex gap-8" }, oe = /* @__PURE__ */ U({
|
|
57
57
|
__name: "index",
|
|
58
58
|
props: {
|
|
@@ -70,30 +70,30 @@ const K = ["id"], L = /* @__PURE__ */ U({
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
emits: ["row-click"],
|
|
73
|
-
setup(
|
|
74
|
-
const
|
|
73
|
+
setup(i, { expose: k, emit: F }) {
|
|
74
|
+
const x = [10, 20, 30, 50, 100].map((t) => ({
|
|
75
75
|
label: t.toString(),
|
|
76
76
|
value: t
|
|
77
|
-
})),
|
|
78
|
-
|
|
79
|
-
const e = await
|
|
80
|
-
a.value = [...a.value ?? [], ...e.data], o.value = e.meta.cursor ?? "",
|
|
81
|
-
}, T =
|
|
77
|
+
})), d = i, M = F, { isLoading: v, startLoading: h, stopLoading: V } = J(!0), y = r(), a = r(), o = r(""), l = r(10), n = r(1), p = r(0), b = async function(t = !1) {
|
|
78
|
+
h(), t && (a.value = [], o.value = "", n.value = 1, await G(), p.value = 0);
|
|
79
|
+
const e = await d.paginate(l.value, o.value);
|
|
80
|
+
a.value = [...a.value ?? [], ...e.data], o.value = e.meta.cursor ?? "", p.value += 1, V();
|
|
81
|
+
}, T = _(() => n.value > 1), $ = _(() => n.value < p.value ? !0 : o.value > ""), q = _(() => {
|
|
82
82
|
const t = l.value * (n.value - 1), e = t + l.value;
|
|
83
|
-
return (a.value ?? []).slice(t, e).map(
|
|
83
|
+
return (a.value ?? []).slice(t, e).map(d.rowsDefs);
|
|
84
84
|
});
|
|
85
|
-
I(l, () =>
|
|
86
|
-
t >
|
|
87
|
-
}), O(() =>
|
|
88
|
-
const A =
|
|
89
|
-
return
|
|
90
|
-
reset: () =>
|
|
85
|
+
I(l, () => b(!0)), I(n, (t) => {
|
|
86
|
+
t > p.value && b();
|
|
87
|
+
}), O(() => b());
|
|
88
|
+
const A = _(() => l.value * (n.value - 1));
|
|
89
|
+
return k({
|
|
90
|
+
reset: () => b(!0),
|
|
91
91
|
data: () => a.value ?? [],
|
|
92
92
|
allData: async () => {
|
|
93
93
|
let t = [], e = "";
|
|
94
94
|
do {
|
|
95
|
-
const
|
|
96
|
-
t = [...t, ...
|
|
95
|
+
const m = await d.paginate(100, e);
|
|
96
|
+
t = [...t, ...m.data], e = m.meta.cursor ?? "";
|
|
97
97
|
} while (e > "");
|
|
98
98
|
return t;
|
|
99
99
|
},
|
|
@@ -102,41 +102,41 @@ const K = ["id"], L = /* @__PURE__ */ U({
|
|
|
102
102
|
return (a.value ?? []).slice(t, e);
|
|
103
103
|
},
|
|
104
104
|
replaceData: (t, e) => {
|
|
105
|
-
const
|
|
106
|
-
a.value && (a.value[
|
|
105
|
+
const m = l.value * (n.value - 1) + t;
|
|
106
|
+
a.value && (a.value[m] = e);
|
|
107
107
|
}
|
|
108
108
|
}), (t, e) => {
|
|
109
|
-
const
|
|
110
|
-
return
|
|
111
|
-
m
|
|
112
|
-
modelValue:
|
|
113
|
-
"onUpdate:modelValue": e[0] || (e[0] = (u) =>
|
|
114
|
-
loading:
|
|
109
|
+
const m = f("FmTable"), P = f("FmButton");
|
|
110
|
+
return g(), B(N, null, [
|
|
111
|
+
c(m, {
|
|
112
|
+
modelValue: y.value,
|
|
113
|
+
"onUpdate:modelValue": e[0] || (e[0] = (u) => y.value = u),
|
|
114
|
+
loading: C(v),
|
|
115
115
|
"page-size": l.value,
|
|
116
116
|
"row-data": q.value,
|
|
117
|
-
"column-defs":
|
|
117
|
+
"column-defs": i.columnDefs,
|
|
118
118
|
"hide-footer": !0,
|
|
119
119
|
"shrink-at": !1,
|
|
120
120
|
onRowClick: e[1] || (e[1] = (u) => {
|
|
121
121
|
var w;
|
|
122
|
-
return
|
|
122
|
+
return M("row-click", (w = a.value) == null ? void 0 : w.at(A.value + u.index));
|
|
123
123
|
})
|
|
124
124
|
}, null, 8, ["modelValue", "loading", "page-size", "row-data", "column-defs"]),
|
|
125
|
-
|
|
125
|
+
C(v) ? R("", !0) : (g(), B("div", Q, [
|
|
126
126
|
s("div", W, [
|
|
127
127
|
s("div", X, [
|
|
128
128
|
e[6] || (e[6] = s("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary" }, " Items per page: ", -1)),
|
|
129
|
-
|
|
130
|
-
items:
|
|
129
|
+
c(L, {
|
|
130
|
+
items: C(x),
|
|
131
131
|
value: l.value,
|
|
132
132
|
"onUpdate:modelValue": e[2] || (e[2] = (u) => l.value = u)
|
|
133
133
|
}, null, 8, ["items", "value"])
|
|
134
134
|
]),
|
|
135
|
-
s("span", Y,
|
|
135
|
+
s("span", Y, D((n.value - 1) * l.value) + " - " + D((n.value - 1) * l.value + l.value), 1)
|
|
136
136
|
]),
|
|
137
137
|
s("div", Z, [
|
|
138
|
-
|
|
139
|
-
items: Array.from(Array(
|
|
138
|
+
c(L, {
|
|
139
|
+
items: Array.from(Array(p.value), (u, w) => w + 1).map(
|
|
140
140
|
(u) => ({
|
|
141
141
|
label: u.toString(),
|
|
142
142
|
value: u
|
|
@@ -145,16 +145,16 @@ const K = ["id"], L = /* @__PURE__ */ U({
|
|
|
145
145
|
value: n.value,
|
|
146
146
|
"onUpdate:modelValue": e[3] || (e[3] = (u) => n.value = u)
|
|
147
147
|
}, null, 8, ["items", "value"]),
|
|
148
|
-
s("span", ee, " Page " +
|
|
148
|
+
s("span", ee, " Page " + D(n.value), 1),
|
|
149
149
|
s("div", te, [
|
|
150
|
-
|
|
150
|
+
c(P, {
|
|
151
151
|
disabled: !T.value,
|
|
152
152
|
icon: "chevron_left",
|
|
153
153
|
"icon-color": "neutral-black",
|
|
154
154
|
variant: "tertiary",
|
|
155
155
|
onClick: e[4] || (e[4] = () => n.value -= 1)
|
|
156
156
|
}, null, 8, ["disabled"]),
|
|
157
|
-
|
|
157
|
+
c(P, {
|
|
158
158
|
disabled: !$.value,
|
|
159
159
|
icon: "chevron_right",
|
|
160
160
|
"icon-color": "neutral-black",
|
|
@@ -26,7 +26,7 @@ export declare const PayoutConfig: {
|
|
|
26
26
|
}[];
|
|
27
27
|
bankTypeOptions(): {
|
|
28
28
|
label: string;
|
|
29
|
-
value: "
|
|
29
|
+
value: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT";
|
|
30
30
|
}[];
|
|
31
31
|
storeEventOptions(): {
|
|
32
32
|
label: string;
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
}[];
|
|
49
49
|
bankTypeOptions(): {
|
|
50
50
|
label: string;
|
|
51
|
-
value: "
|
|
51
|
+
value: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT";
|
|
52
52
|
}[];
|
|
53
53
|
storeEventOptions(): {
|
|
54
54
|
label: string;
|
|
@@ -1,37 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, onMounted as c, resolveComponent as o, openBlock as s, createElementBlock as a, createElementVNode as C, unref as p, createVNode as r } from "vue";
|
|
2
|
-
import { useRouter as n } from "vue-router";
|
|
3
|
-
const d = "data:image/svg+xml,%3csvg%20width='858'%20height='376'%20viewBox='0%200%20858%20376'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1132_89720)'%3e%3cpath%20d='M440%20505.86C651.525%20505.86%20823%20437.839%20823%20353.93C823%20270.021%20651.525%20202%20440%20202C228.475%20202%2057%20270.021%2057%20353.93C57%20437.839%20228.475%20505.86%20440%20505.86Z'%20fill='url(%23paint0_linear_1132_89720)'%20fill-opacity='0.5'/%3e%3cg%20clip-path='url(%23clip1_1132_89720)'%3e%3cpath%20d='M331.443%20106.351C343.852%2058.097%20379.776%2037.6206%20397.221%2030.2477C402.417%2028.0519%20407.88%2026.5702%20413.469%2025.749L424.914%2024.0709C430.503%2023.2497%20436.163%2023.1069%20441.769%2023.7138C460.588%2025.749%20500.887%2035.0321%20526.652%2077.6808C561.416%20135.2%20586.627%20250.954%20457.589%20272.322V272.376C456.91%20272.483%20456.25%20272.555%20455.589%20272.644C454.928%20272.751%20454.268%20272.858%20453.589%20272.965V272.912C323.854%20289.55%20314.695%20171.458%20331.443%20106.351Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M429.807%20275.839C396.221%20275.839%20370.046%20265.414%20351.762%20244.705C319.016%20207.644%20319.641%20146.84%20330.14%20106.03C342.406%2058.3112%20377.099%2037.2993%20396.686%2029.0337C401.899%2026.8379%20407.47%2025.2848%20413.273%2024.4457L424.718%2022.7676C430.521%2021.9107%20436.306%2021.7858%20441.912%2022.3928C463.053%2024.6778%20502.316%2034.8178%20527.795%2076.9845C549.596%20113.046%20567.701%20171.119%20547.007%20216.035C532.973%20246.508%20503.387%20265.824%20459.089%20273.429V273.465L457.786%20273.715C457.375%20273.768%20456.982%20273.822%20456.589%20273.876L454.982%20274.108C454.59%20274.179%20454.197%20274.233%20453.786%20274.304L452.447%20274.5L452.429%20274.411C444.573%20275.357%20437.02%20275.839%20429.807%20275.839ZM332.747%20106.69C322.408%20146.876%20321.712%20206.662%20353.762%20242.956C375.563%20267.645%20409.095%20277.285%20453.429%20271.591L454.75%20271.43V271.448L456.268%20271.233C456.375%20271.216%20456.5%20271.198%20456.607%20271.198L457.375%20271.037C501.477%20263.736%20530.813%20244.866%20544.597%20214.946C564.845%20170.976%20546.972%20113.921%20525.528%2078.3949C500.638%2037.1743%20462.285%2027.2842%20441.645%2025.0349C436.252%2024.4457%20430.699%2024.5707%20425.129%2025.3919L413.684%2027.07C408.113%2027.8912%20402.756%2029.3729%20397.757%2031.4795C378.598%2039.5665%20344.727%2060.0964%20332.747%20106.69Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M360.457%20129.166L360.493%20111.814C362.475%2083.3041%20397.685%2072.0216%20409.041%2068.3083C417.504%2065.5413%20428.467%2063.6489%20432.359%2063.042V63.0241C432.359%2063.0241%20432.609%2062.9884%20433.074%2062.917C433.538%2062.8456%20433.788%2062.8099%20433.788%2062.8099V62.8277C437.68%2062.31%20448.732%2060.9533%20457.642%2061.1675C469.569%2061.471%20506.547%2062.1315%20516.653%2088.874L521.67%20105.476C527.045%20124.114%20518.974%20141.324%20501.566%20143.876L390.757%20160.175C373.348%20162.728%20360.671%20148.571%20360.457%20129.166Z'%20fill='white'/%3e%3cpath%20d='M490.656%20119.473C482.675%20120.651%20473.997%20114.76%20473.158%20106.458C472.319%2098.1393%20477.622%2090.213%20486.175%2088.9633C494.156%2087.7851%20502.833%2093.6763%20503.673%20101.978C504.512%20110.297%20499.209%20118.223%20490.656%20119.473Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M488.585%20120.972C484.836%20120.972%20481.068%20119.651%20477.944%20117.223C474.426%20114.474%20472.248%20110.707%20471.837%20106.601C470.891%2097.2824%20477.105%2088.9455%20485.996%2087.6423C490.442%2086.9818%20495.156%2088.285%20498.923%2091.2306C502.441%2093.9798%20504.619%2097.7466%20505.03%20101.853C505.976%20111.171%20499.763%20119.508%20490.871%20120.812C490.103%20120.919%20489.335%20120.972%20488.585%20120.972ZM488.21%2090.1594C487.586%2090.1594%20486.978%2090.1952%20486.371%2090.2844C478.908%2091.3734%20473.694%2098.425%20474.498%20106.316C474.837%20109.69%20476.64%20112.796%20479.586%20115.099C482.729%20117.545%20486.8%20118.687%20490.478%20118.152C497.941%20117.063%20503.155%20110.011%20502.352%20102.12C502.012%2098.7463%20500.209%2095.6222%20497.263%2093.3371C494.62%2091.2841%20491.353%2090.1594%20488.21%2090.1594Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M411.309%20131.13C403.327%20132.308%20394.65%20126.417%20393.811%20118.116C392.971%20109.797%20398.274%20101.87%20406.827%20100.621C414.808%2099.4426%20423.486%20105.334%20424.325%20113.635C425.182%20121.954%20419.861%20129.88%20411.309%20131.13Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M409.238%20132.63C405.488%20132.63%20401.721%20131.309%20398.596%20128.881C395.079%20126.131%20392.9%20122.365%20392.49%20118.259C391.543%20108.94%20397.757%20100.603%20406.649%2099.2997C411.095%2098.6392%20415.808%2099.9603%20419.576%20102.888C423.093%20105.637%20425.272%20109.404%20425.682%20113.51C426.629%20122.829%20420.415%20131.166%20411.523%20132.469C410.755%20132.576%20409.988%20132.63%20409.238%20132.63ZM408.863%20101.817C408.238%20101.817%20407.631%20101.853%20407.024%20101.942C399.56%20103.031%20394.347%20110.082%20395.15%20117.973C395.489%20121.347%20397.293%20124.453%20400.239%20126.756C403.381%20129.202%20407.452%20130.345%20411.13%20129.809C418.594%20128.72%20423.807%20121.668%20423.004%20113.778C422.665%20110.404%20420.861%20107.28%20417.915%20104.995C415.291%20102.942%20412.005%20101.817%20408.863%20101.817Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M567.791%20147.286C576.968%20161.747%20586.699%20171.994%20597.698%20165.031C608.679%20158.069%20610.161%20140.699%20600.983%20126.239C591.806%20111.778%20575.468%20105.709%20564.47%20112.671C553.471%20119.633%20558.613%20132.826%20567.791%20147.286Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M317.962%20176.582C318.141%20176.546%20318.319%20176.546%20318.498%20176.51C318.569%20177.242%20318.623%20177.992%20318.712%20178.724C320.962%20200.039%20326.747%20219.07%20335.674%20234.905C334.121%20236.101%20332.193%20236.975%20329.836%20237.44C317.069%20239.921%20304.053%20228.317%20300.786%20211.518C297.518%20194.719%20305.178%20179.081%20317.962%20176.582Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M547.167%20216.088C549.917%20210.143%20552.006%20203.734%20553.506%20196.969C550.417%20185.579%20546.542%20174.671%20541.686%20165.852C539.775%20162.371%20535.883%20160.479%20531.955%20161.032L526.045%20161.871C519.849%20162.746%20516.153%20169.226%20518.546%20175.028C520.01%20178.599%20521.224%20180.241%20522.17%20183.454C523.831%20189.096%20520.081%20194.88%20514.243%20195.665L413.415%20209.179C408.059%20209.893%20403.095%20206.073%20402.559%20200.682C402.059%20195.737%20401.309%20192.88%20400.595%20188.953C399.685%20183.883%20394.917%20180.455%20389.829%20181.187L375.116%20183.276C369.902%20184.008%20366.242%20188.828%20366.974%20194.041C368.849%20207.751%20371.241%20234.101%20366.188%20256.952C366.117%20257.255%20366.099%20257.559%20366.063%20257.862C382.865%20269.93%20404.184%20276.018%20429.824%20276.018C437.002%20276.018%20444.501%20275.536%20452.339%20274.59L452.357%20274.679L453.857%20274.465C454.268%20274.411%20454.66%20274.34%20455.071%20274.268L456.678%20274.036C457.071%20273.983%20457.464%20273.929%20457.856%20273.875L459.32%20273.608V273.572C503.565%20265.913%20533.133%20246.58%20547.167%20216.088Z'%20fill='white'/%3e%3cpath%20d='M476.069%20249.668C484.727%20249.668%20491.746%20242.651%20491.746%20233.994C491.746%20225.337%20484.727%20218.32%20476.069%20218.32C467.411%20218.32%20460.393%20225.337%20460.393%20233.994C460.393%20242.651%20467.411%20249.668%20476.069%20249.668Z'%20fill='white'/%3e%3cpath%20d='M484.854%20240.617C485.032%20242.135%20485.318%20244.562%20485.55%20246.473C489.978%20243.116%20492.478%20237.511%20491.603%20231.62C490.443%20223.836%20483.765%20218.248%20476.141%20218.213C476.158%20218.552%20476.176%20218.855%20476.176%20218.909C476.212%20219.712%20476.248%20220.498%20476.266%20221.301C476.337%20223.497%20477.176%20224.657%20479.23%20225.461C479.783%20225.675%20480.337%20225.961%20480.836%20226.3C482.604%20227.496%20483.425%20229.263%20483.729%20231.298C483.997%20233.083%20484.175%20234.887%20484.39%20236.69C484.568%20238.011%20484.693%20239.314%20484.854%20240.617Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M460.499%20236.261C461.356%20242.045%20465.266%20246.615%20470.355%20248.597C470.319%20248.365%20470.302%20248.204%20470.284%20248.186C470.07%20246.812%20469.855%20245.437%20469.623%20244.063C469.016%20240.331%20468.373%20236.6%20467.802%20232.851C467.481%20230.816%20468.07%20229.031%20469.552%20227.567C470.105%20227.014%20470.694%20226.496%20471.248%20225.925C472.194%20224.961%20472.48%20223.854%20472.105%20222.497C471.623%20220.569%20471.784%20221.212%20471.623%20220.569C471.551%20220.284%20471.355%20219.569%20471.212%20218.962C464.017%20221.301%20459.356%20228.549%20460.499%20236.261Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M480.925%20235.797C480.89%20235.511%20480.818%20235.208%20480.729%20234.922C480.515%20234.19%20479.783%20233.762%20479.051%20233.94C478.336%20234.101%20477.872%20234.797%20477.979%20235.547C478.604%20239.725%20479.372%20244.919%20480.015%20249.168C480.979%20248.918%20481.907%20248.579%20482.782%20248.169C482.229%20244.473%20481.443%20239.225%20480.925%20235.797Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M472.855%20234.976C471.98%20235.261%20471.623%20235.833%20471.766%20236.779C472.266%20240.224%20473.069%20245.598%20473.641%20249.472C474.587%20249.615%20475.569%20249.686%20476.551%20249.65C476.373%20248.258%20476.087%20246.258%20475.944%20245.259C475.498%20242.152%20475.033%20239.046%20474.569%20235.958C474.444%20235.226%20473.587%20234.744%20472.855%20234.976Z'%20fill='%23A7A9AC'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1132_89720'%20x1='440.003'%20y1='133.148'%20x2='440.003'%20y2='371.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A5A5A5'/%3e%3cstop%20offset='0.4764'%20stop-color='%23E0E0E0'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1132_89720'%3e%3crect%20width='858'%20height='376'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_1132_89720'%3e%3crect%20width='307'%20height='254'%20fill='white'%20transform='translate(300%2022)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", h = { class: "flex items-center justify-center min-h-[80vh]" }, f = { class: "hidden mr-6 lg:block lg:w-1/6" }, m = ["src"], _ = { class: "w-full max-w-lg text-left" }, A = { class: "flex items-center mb-2 mt-1" }, Z = /* @__PURE__ */ i({
|
|
4
|
-
__name: "Forbidden",
|
|
5
|
-
setup(u) {
|
|
6
|
-
const t = n();
|
|
7
|
-
return c(() => {
|
|
8
|
-
setTimeout(() => {
|
|
9
|
-
t.push("/");
|
|
10
|
-
}, 5e3);
|
|
11
|
-
}), (g, e) => {
|
|
12
|
-
const l = o("FmCircularProgress");
|
|
13
|
-
return s(), a("div", h, [
|
|
14
|
-
C("div", f, [
|
|
15
|
-
C("img", {
|
|
16
|
-
src: p(d),
|
|
17
|
-
alt: "mascot",
|
|
18
|
-
class: "w-full h-auto"
|
|
19
|
-
}, null, 8, m)
|
|
20
|
-
]),
|
|
21
|
-
C("div", _, [
|
|
22
|
-
e[1] || (e[1] = C("h1", { class: "text-2xl font-bold mb-2" }, " Oops! It looks like you have no permission to access this page. ", -1)),
|
|
23
|
-
C("div", A, [
|
|
24
|
-
e[0] || (e[0] = C("p", null, " You'll be redirected to the homepage in 5 seconds. ", -1)),
|
|
25
|
-
r(l, {
|
|
26
|
-
class: "ml-6",
|
|
27
|
-
size: "lg"
|
|
28
|
-
})
|
|
29
|
-
])
|
|
30
|
-
])
|
|
31
|
-
]);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
});
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20width='858'%20height='376'%20viewBox='0%200%20858%20376'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1132_89720)'%3e%3cpath%20d='M440%20505.86C651.525%20505.86%20823%20437.839%20823%20353.93C823%20270.021%20651.525%20202%20440%20202C228.475%20202%2057%20270.021%2057%20353.93C57%20437.839%20228.475%20505.86%20440%20505.86Z'%20fill='url(%23paint0_linear_1132_89720)'%20fill-opacity='0.5'/%3e%3cg%20clip-path='url(%23clip1_1132_89720)'%3e%3cpath%20d='M331.443%20106.351C343.852%2058.097%20379.776%2037.6206%20397.221%2030.2477C402.417%2028.0519%20407.88%2026.5702%20413.469%2025.749L424.914%2024.0709C430.503%2023.2497%20436.163%2023.1069%20441.769%2023.7138C460.588%2025.749%20500.887%2035.0321%20526.652%2077.6808C561.416%20135.2%20586.627%20250.954%20457.589%20272.322V272.376C456.91%20272.483%20456.25%20272.555%20455.589%20272.644C454.928%20272.751%20454.268%20272.858%20453.589%20272.965V272.912C323.854%20289.55%20314.695%20171.458%20331.443%20106.351Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M429.807%20275.839C396.221%20275.839%20370.046%20265.414%20351.762%20244.705C319.016%20207.644%20319.641%20146.84%20330.14%20106.03C342.406%2058.3112%20377.099%2037.2993%20396.686%2029.0337C401.899%2026.8379%20407.47%2025.2848%20413.273%2024.4457L424.718%2022.7676C430.521%2021.9107%20436.306%2021.7858%20441.912%2022.3928C463.053%2024.6778%20502.316%2034.8178%20527.795%2076.9845C549.596%20113.046%20567.701%20171.119%20547.007%20216.035C532.973%20246.508%20503.387%20265.824%20459.089%20273.429V273.465L457.786%20273.715C457.375%20273.768%20456.982%20273.822%20456.589%20273.876L454.982%20274.108C454.59%20274.179%20454.197%20274.233%20453.786%20274.304L452.447%20274.5L452.429%20274.411C444.573%20275.357%20437.02%20275.839%20429.807%20275.839ZM332.747%20106.69C322.408%20146.876%20321.712%20206.662%20353.762%20242.956C375.563%20267.645%20409.095%20277.285%20453.429%20271.591L454.75%20271.43V271.448L456.268%20271.233C456.375%20271.216%20456.5%20271.198%20456.607%20271.198L457.375%20271.037C501.477%20263.736%20530.813%20244.866%20544.597%20214.946C564.845%20170.976%20546.972%20113.921%20525.528%2078.3949C500.638%2037.1743%20462.285%2027.2842%20441.645%2025.0349C436.252%2024.4457%20430.699%2024.5707%20425.129%2025.3919L413.684%2027.07C408.113%2027.8912%20402.756%2029.3729%20397.757%2031.4795C378.598%2039.5665%20344.727%2060.0964%20332.747%20106.69Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M360.457%20129.166L360.493%20111.814C362.475%2083.3041%20397.685%2072.0216%20409.041%2068.3083C417.504%2065.5413%20428.467%2063.6489%20432.359%2063.042V63.0241C432.359%2063.0241%20432.609%2062.9884%20433.074%2062.917C433.538%2062.8456%20433.788%2062.8099%20433.788%2062.8099V62.8277C437.68%2062.31%20448.732%2060.9533%20457.642%2061.1675C469.569%2061.471%20506.547%2062.1315%20516.653%2088.874L521.67%20105.476C527.045%20124.114%20518.974%20141.324%20501.566%20143.876L390.757%20160.175C373.348%20162.728%20360.671%20148.571%20360.457%20129.166Z'%20fill='white'/%3e%3cpath%20d='M490.656%20119.473C482.675%20120.651%20473.997%20114.76%20473.158%20106.458C472.319%2098.1393%20477.622%2090.213%20486.175%2088.9633C494.156%2087.7851%20502.833%2093.6763%20503.673%20101.978C504.512%20110.297%20499.209%20118.223%20490.656%20119.473Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M488.585%20120.972C484.836%20120.972%20481.068%20119.651%20477.944%20117.223C474.426%20114.474%20472.248%20110.707%20471.837%20106.601C470.891%2097.2824%20477.105%2088.9455%20485.996%2087.6423C490.442%2086.9818%20495.156%2088.285%20498.923%2091.2306C502.441%2093.9798%20504.619%2097.7466%20505.03%20101.853C505.976%20111.171%20499.763%20119.508%20490.871%20120.812C490.103%20120.919%20489.335%20120.972%20488.585%20120.972ZM488.21%2090.1594C487.586%2090.1594%20486.978%2090.1952%20486.371%2090.2844C478.908%2091.3734%20473.694%2098.425%20474.498%20106.316C474.837%20109.69%20476.64%20112.796%20479.586%20115.099C482.729%20117.545%20486.8%20118.687%20490.478%20118.152C497.941%20117.063%20503.155%20110.011%20502.352%20102.12C502.012%2098.7463%20500.209%2095.6222%20497.263%2093.3371C494.62%2091.2841%20491.353%2090.1594%20488.21%2090.1594Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M411.309%20131.13C403.327%20132.308%20394.65%20126.417%20393.811%20118.116C392.971%20109.797%20398.274%20101.87%20406.827%20100.621C414.808%2099.4426%20423.486%20105.334%20424.325%20113.635C425.182%20121.954%20419.861%20129.88%20411.309%20131.13Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M409.238%20132.63C405.488%20132.63%20401.721%20131.309%20398.596%20128.881C395.079%20126.131%20392.9%20122.365%20392.49%20118.259C391.543%20108.94%20397.757%20100.603%20406.649%2099.2997C411.095%2098.6392%20415.808%2099.9603%20419.576%20102.888C423.093%20105.637%20425.272%20109.404%20425.682%20113.51C426.629%20122.829%20420.415%20131.166%20411.523%20132.469C410.755%20132.576%20409.988%20132.63%20409.238%20132.63ZM408.863%20101.817C408.238%20101.817%20407.631%20101.853%20407.024%20101.942C399.56%20103.031%20394.347%20110.082%20395.15%20117.973C395.489%20121.347%20397.293%20124.453%20400.239%20126.756C403.381%20129.202%20407.452%20130.345%20411.13%20129.809C418.594%20128.72%20423.807%20121.668%20423.004%20113.778C422.665%20110.404%20420.861%20107.28%20417.915%20104.995C415.291%20102.942%20412.005%20101.817%20408.863%20101.817Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M567.791%20147.286C576.968%20161.747%20586.699%20171.994%20597.698%20165.031C608.679%20158.069%20610.161%20140.699%20600.983%20126.239C591.806%20111.778%20575.468%20105.709%20564.47%20112.671C553.471%20119.633%20558.613%20132.826%20567.791%20147.286Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M317.962%20176.582C318.141%20176.546%20318.319%20176.546%20318.498%20176.51C318.569%20177.242%20318.623%20177.992%20318.712%20178.724C320.962%20200.039%20326.747%20219.07%20335.674%20234.905C334.121%20236.101%20332.193%20236.975%20329.836%20237.44C317.069%20239.921%20304.053%20228.317%20300.786%20211.518C297.518%20194.719%20305.178%20179.081%20317.962%20176.582Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M547.167%20216.088C549.917%20210.143%20552.006%20203.734%20553.506%20196.969C550.417%20185.579%20546.542%20174.671%20541.686%20165.852C539.775%20162.371%20535.883%20160.479%20531.955%20161.032L526.045%20161.871C519.849%20162.746%20516.153%20169.226%20518.546%20175.028C520.01%20178.599%20521.224%20180.241%20522.17%20183.454C523.831%20189.096%20520.081%20194.88%20514.243%20195.665L413.415%20209.179C408.059%20209.893%20403.095%20206.073%20402.559%20200.682C402.059%20195.737%20401.309%20192.88%20400.595%20188.953C399.685%20183.883%20394.917%20180.455%20389.829%20181.187L375.116%20183.276C369.902%20184.008%20366.242%20188.828%20366.974%20194.041C368.849%20207.751%20371.241%20234.101%20366.188%20256.952C366.117%20257.255%20366.099%20257.559%20366.063%20257.862C382.865%20269.93%20404.184%20276.018%20429.824%20276.018C437.002%20276.018%20444.501%20275.536%20452.339%20274.59L452.357%20274.679L453.857%20274.465C454.268%20274.411%20454.66%20274.34%20455.071%20274.268L456.678%20274.036C457.071%20273.983%20457.464%20273.929%20457.856%20273.875L459.32%20273.608V273.572C503.565%20265.913%20533.133%20246.58%20547.167%20216.088Z'%20fill='white'/%3e%3cpath%20d='M476.069%20249.668C484.727%20249.668%20491.746%20242.651%20491.746%20233.994C491.746%20225.337%20484.727%20218.32%20476.069%20218.32C467.411%20218.32%20460.393%20225.337%20460.393%20233.994C460.393%20242.651%20467.411%20249.668%20476.069%20249.668Z'%20fill='white'/%3e%3cpath%20d='M484.854%20240.617C485.032%20242.135%20485.318%20244.562%20485.55%20246.473C489.978%20243.116%20492.478%20237.511%20491.603%20231.62C490.443%20223.836%20483.765%20218.248%20476.141%20218.213C476.158%20218.552%20476.176%20218.855%20476.176%20218.909C476.212%20219.712%20476.248%20220.498%20476.266%20221.301C476.337%20223.497%20477.176%20224.657%20479.23%20225.461C479.783%20225.675%20480.337%20225.961%20480.836%20226.3C482.604%20227.496%20483.425%20229.263%20483.729%20231.298C483.997%20233.083%20484.175%20234.887%20484.39%20236.69C484.568%20238.011%20484.693%20239.314%20484.854%20240.617Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M460.499%20236.261C461.356%20242.045%20465.266%20246.615%20470.355%20248.597C470.319%20248.365%20470.302%20248.204%20470.284%20248.186C470.07%20246.812%20469.855%20245.437%20469.623%20244.063C469.016%20240.331%20468.373%20236.6%20467.802%20232.851C467.481%20230.816%20468.07%20229.031%20469.552%20227.567C470.105%20227.014%20470.694%20226.496%20471.248%20225.925C472.194%20224.961%20472.48%20223.854%20472.105%20222.497C471.623%20220.569%20471.784%20221.212%20471.623%20220.569C471.551%20220.284%20471.355%20219.569%20471.212%20218.962C464.017%20221.301%20459.356%20228.549%20460.499%20236.261Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M480.925%20235.797C480.89%20235.511%20480.818%20235.208%20480.729%20234.922C480.515%20234.19%20479.783%20233.762%20479.051%20233.94C478.336%20234.101%20477.872%20234.797%20477.979%20235.547C478.604%20239.725%20479.372%20244.919%20480.015%20249.168C480.979%20248.918%20481.907%20248.579%20482.782%20248.169C482.229%20244.473%20481.443%20239.225%20480.925%20235.797Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M472.855%20234.976C471.98%20235.261%20471.623%20235.833%20471.766%20236.779C472.266%20240.224%20473.069%20245.598%20473.641%20249.472C474.587%20249.615%20475.569%20249.686%20476.551%20249.65C476.373%20248.258%20476.087%20246.258%20475.944%20245.259C475.498%20242.152%20475.033%20239.046%20474.569%20235.958C474.444%20235.226%20473.587%20234.744%20472.855%20234.976Z'%20fill='%23A7A9AC'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1132_89720'%20x1='440.003'%20y1='133.148'%20x2='440.003'%20y2='371.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A5A5A5'/%3e%3cstop%20offset='0.4764'%20stop-color='%23E0E0E0'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1132_89720'%3e%3crect%20width='858'%20height='376'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_1132_89720'%3e%3crect%20width='307'%20height='254'%20fill='white'%20transform='translate(300%2022)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
35
2
|
export {
|
|
36
|
-
|
|
3
|
+
C as m
|
|
37
4
|
};
|