@feedmepos/mf-payment 1.2.26 → 1.2.29

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 (78) hide show
  1. package/dist/OnboardForm-BwHRuUJ2.js +709 -0
  2. package/dist/OnboardForm-DtdgTAfM.js +671 -0
  3. package/dist/OnboardSubmission-Cuzay_2u.js +148 -0
  4. package/dist/OnboardSubmission-TvoVrbT8.js +146 -0
  5. package/dist/{PDFViewer-xrBtzrlR.js → PDFViewer-DlSCBBxr.js} +14 -12
  6. package/dist/{PayoutAccount-DoUb4juo.js → PayoutAccount-DM-Uh5AW.js} +8 -7
  7. package/dist/{PayoutAccount-C4zN4xMw.js → PayoutAccount-D_oz3IN_.js} +5 -5
  8. package/dist/{PayoutAccountSetting-IgBRFN0A.js → PayoutAccountSetting-CUlmHkw3.js} +4 -4
  9. package/dist/{Restaurant-CIGhOFvk.js → Restaurant-DDebeSrf.js} +4 -4
  10. package/dist/{RestaurantSetting-0CbusLcz.js → RestaurantSetting-Cf63FkWQ.js} +291 -222
  11. package/dist/{Settlement-DmG5-VSP.js → Settlement-C_V-iTDy.js} +3 -3
  12. package/dist/{Settlement-CUmpNHMN.js → Settlement-CctMzPsZ.js} +3 -3
  13. package/dist/{SettlementTransactions-DhjGSAg4.js → SettlementTransactions-9p3tYV0n.js} +3 -3
  14. package/dist/{SettlementTransactions-CcMUINyi.js → SettlementTransactions-DYvhz0Yh.js} +3 -3
  15. package/dist/Status.vue_vue_type_script_setup_true_lang-wrcEbNj3.js +29 -0
  16. package/dist/{Terminal-CRizNZ4p.js → Terminal-D3QDgPY6.js} +5 -5
  17. package/dist/{TerminalSetting-DdJl_9JJ.js → TerminalSetting-ehm_sRqf.js} +3 -3
  18. package/dist/{Transaction-E9_hSpx4.js → Transaction-DIz_ArbY.js} +6 -6
  19. package/dist/{Transaction-ykrWGKIa.js → Transaction-DzIzAIbO.js} +5 -5
  20. package/dist/{TransactionOld-lPUiTl8n.js → TransactionOld-CagUKhjR.js} +4 -4
  21. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-B03g8Jum.js → TransactionTable.vue_vue_type_script_setup_true_lang-ChuhuUKc.js} +3 -3
  22. package/dist/api/index.d.ts +1 -0
  23. package/dist/api/onboard-submission/index.d.ts +17 -0
  24. package/dist/api/payment-gateway/index.d.ts +3 -1
  25. package/dist/api/payout/index.d.ts +1 -0
  26. package/dist/{app-CU7mklRE.js → app-DB_fctP1.js} +212 -131
  27. package/dist/app.d.ts +46 -0
  28. package/dist/app.js +1 -1
  29. package/dist/{assets-Dttfej_E.js → assets-ha4XB2PU.js} +1 -1
  30. package/dist/{grafana-DCGA3gMb.js → grafana-DRZOKr8c.js} +1 -1
  31. package/dist/{index-BQtW6X1l.js → index-8Xu0hCTB.js} +1 -1
  32. package/dist/{index-CZKvrBM7.js → index-B6GVzj7l.js} +1 -1
  33. package/dist/{index-tCobqIDD.js → index-BasdAonL.js} +4930 -4857
  34. package/dist/{index-BOwfUR6x.js → index-DGF3hKwg.js} +1 -1
  35. package/dist/{index-BYLzp2JB.js → index-Dg_mEOso.js} +1 -1
  36. package/dist/{index-JCMXdVSJ.js → index-DoD23lHB.js} +8 -1
  37. package/dist/index-MqVn-IaA.js +68 -0
  38. package/dist/{index.vue_vue_type_script_setup_true_lang-HBMZ5z3-.js → index.vue_vue_type_script_setup_true_lang-D4bLM6th.js} +56 -54
  39. package/dist/modules.d.ts +1 -0
  40. package/dist/package.json +9 -8
  41. package/dist/payout-account-6yMkxM2O.js +458 -0
  42. package/dist/plugins-BLG_oAxW.js +1366 -0
  43. package/dist/stores/payoutAccount.d.ts +16 -16
  44. package/dist/style.css +1 -1
  45. package/dist/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/views/admin/onboard-submission/OnboardForm.vue.d.ts +12 -0
  47. package/dist/views/admin/onboard-submission/OnboardSubmission.vue.d.ts +2 -0
  48. package/dist/views/admin/onboard-submission/cell/SignatureBoard.vue.d.ts +10 -0
  49. package/dist/views/admin/onboard-submission/cell/Status.vue.d.ts +5 -0
  50. package/dist/views/admin/onboard-submission/cell/UploadButton.vue.d.ts +11 -0
  51. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +81 -0
  52. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +16 -16
  53. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +20 -20
  54. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +20 -20
  55. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
  56. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +16 -16
  57. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +20 -20
  58. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  59. package/dist/views/admin/restaurant/tabs/LocalIntegration.vue.d.ts +803 -0
  60. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
  61. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
  62. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
  63. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
  64. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +8 -8
  65. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +8 -8
  66. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
  67. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +8 -8
  68. package/dist/views/onboard-submission/OnboardForm.vue.d.ts +14 -0
  69. package/dist/views/onboard-submission/OnboardSubmission.vue.d.ts +2 -0
  70. package/dist/views/onboard-submission/cell/SignatureBoard.vue.d.ts +10 -0
  71. package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +11 -0
  72. package/dist/views/onboard-submission/form/SoftSpaceSubmission.vue.d.ts +5 -0
  73. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
  74. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +48 -48
  75. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +24 -24
  76. package/dist/views/settlement/SettlementTable.vue.d.ts +4 -4
  77. package/package.json +9 -8
  78. package/dist/payout-account-CdudVI6I.js +0 -1819
@@ -0,0 +1,148 @@
1
+ import { defineComponent as P, ref as z, onMounted as H, computed as U, resolveComponent as a, openBlock as n, createBlock as f, unref as o, withCtx as x, createElementVNode as s, createElementBlock as m, Fragment as k, renderList as R, createVNode as p, toDisplayString as i, createTextVNode as l, createCommentVNode as b } from "vue";
2
+ import { _ as $ } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
3
+ import { u as D, p as W, e as B } from "./index-BasdAonL.js";
4
+ import { useI18n as q, useCoreStore as G } from "@feedmepos/mf-common";
5
+ import { o as J } from "./index-MqVn-IaA.js";
6
+ import { useRouter as K } from "vue-router";
7
+ const Q = { class: "grid grid-cols-3 gap-6" }, X = { class: "flex items-center" }, Z = ["src"], w = { class: "px-16 text-sm flex-grow" }, ss = { class: "list-disc pl-6" }, es = {
8
+ key: 0,
9
+ class: "px-24 py-8"
10
+ }, ts = { class: "font-medium text-sm" }, os = { class: "text-xs text-gray-500 mb-8 break-all whitespace-pre-line" }, ns = {
11
+ key: 0,
12
+ class: "flex flex-col items-end"
13
+ }, is = { class: "text-xs text-gray-500 text-right mb-4" }, rs = { class: "flex items-center mt-2" }, as = { class: "text-green-600 font-medium mr-2" }, ms = {
14
+ key: 1,
15
+ class: "flex flex-col items-end"
16
+ }, ls = { class: "text-xs text-gray-500 text-right mb-4" }, cs = { class: "flex items-center mt-2" }, us = { class: "text-orange-600 font-medium mr-2" }, hs = /* @__PURE__ */ P({
17
+ __name: "OnboardSubmission",
18
+ setup(ds) {
19
+ const N = K(), { isLoading: S, startAsyncCall: A } = D(!1), { t: e } = q(), { currentRestaurant: O, currentCountry: _ } = G(), y = z([]);
20
+ H(() => {
21
+ A(async () => {
22
+ y.value = await J.getByRestaurant(O.value._id);
23
+ });
24
+ });
25
+ const T = [
26
+ {
27
+ type: W.FdoOnboardType.enum.softspace,
28
+ name: "FassPay",
29
+ description: () => e("payment.onboard-submission.softspace.description"),
30
+ logo: "/src/assets/images/gateway/softspace.jpeg",
31
+ country: [B.F_COUNTRY.enum.MY],
32
+ services: [
33
+ () => e("payment.onboard-submission.softspace.service1"),
34
+ () => e("payment.onboard-submission.softspace.service2")
35
+ ]
36
+ }
37
+ ], V = U(
38
+ () => T.filter((c) => c.country.includes((_ == null ? void 0 : _.value) || B.F_COUNTRY.enum.MY)).map((c) => ({
39
+ ...c,
40
+ submission: y.value.find((r) => r.type === c.type)
41
+ }))
42
+ );
43
+ return (c, r) => {
44
+ const Y = a("FmCardHeader"), j = a("FmIcon"), E = a("FmCircularProgress"), I = a("FmButton"), L = a("FmCardActions"), M = a("FmCard");
45
+ return n(), f($, {
46
+ title: o(e)("payment.onboard-submission.title"),
47
+ description: o(e)("payment.onboard-submission.description"),
48
+ loading: o(S)
49
+ }, {
50
+ default: x(() => [
51
+ s("div", Q, [
52
+ (n(!0), m(k, null, R(V.value, (t, ps) => (n(), f(M, { class: "h-full flex flex-col pt-8" }, {
53
+ default: x(() => {
54
+ var v, h;
55
+ return [
56
+ s("div", X, [
57
+ s("img", {
58
+ class: "w-64 h-64 ml-6",
59
+ src: t.logo
60
+ }, null, 8, Z),
61
+ p(Y, {
62
+ title: t.name,
63
+ subtitle: t.description()
64
+ }, null, 8, ["title", "subtitle"])
65
+ ]),
66
+ s("div", w, [
67
+ s("ul", ss, [
68
+ (n(!0), m(k, null, R(t.services, (u, d) => (n(), m("li", {
69
+ key: `service-${d}`
70
+ }, i(u()), 1))), 128))
71
+ ])
72
+ ]),
73
+ (v = t.submission) != null && v.statusReason ? (n(), m("div", es, [
74
+ s("p", ts, [
75
+ l(i(o(e)("payment.onboard-submission.note")) + ": ", 1),
76
+ s("span", os, i((h = t.submission) == null ? void 0 : h.statusReason), 1)
77
+ ])
78
+ ])) : b("", !0),
79
+ p(L, { class: "justify-end mt-auto" }, {
80
+ default: x(() => {
81
+ var u, d, C, F;
82
+ return [
83
+ ((u = t.submission) == null ? void 0 : u.status) === "approved" ? (n(), m("div", ns, [
84
+ s("p", is, [
85
+ l(i(o(e)("payment.onboard-submission.approval.line1")), 1),
86
+ r[0] || (r[0] = s("br", null, null, -1)),
87
+ l(" " + i(o(e)("payment.onboard-submission.approval.line2")), 1)
88
+ ]),
89
+ s("div", rs, [
90
+ s("p", as, [
91
+ l(i(o(e)("payment.onboard-submission.approval.status")), 1),
92
+ r[1] || (r[1] = s("br", null, null, -1))
93
+ ]),
94
+ p(j, {
95
+ size: "md",
96
+ name: "check",
97
+ color: "#16a34a"
98
+ })
99
+ ])
100
+ ])) : b("", !0),
101
+ ((d = t.submission) == null ? void 0 : d.status) === "submitted" ? (n(), m("div", ms, [
102
+ s("p", ls, [
103
+ l(i(o(e)("payment.onboard-submission.review.line1")), 1),
104
+ r[2] || (r[2] = s("br", null, null, -1)),
105
+ l(" " + i(o(e)("payment.onboard-submission.review.line2")), 1)
106
+ ]),
107
+ s("div", cs, [
108
+ s("p", us, i(o(e)("payment.onboard-submission.review.status")), 1),
109
+ p(E, {
110
+ size: "md",
111
+ color: "#ea580c"
112
+ })
113
+ ])
114
+ ])) : b("", !0),
115
+ ((C = t.submission) == null ? void 0 : C.status) === "pending" || ((F = t.submission) == null ? void 0 : F.status) === "rejected" ? (n(), f(I, {
116
+ key: 2,
117
+ variant: "primary",
118
+ "prepend-icon": t.submission ? "edit" : "manage_accounts",
119
+ label: t.submission ? o(e)("payment.onboard-submission.edit") : o(e)("payment.onboard-submission.apply"),
120
+ onClick: () => {
121
+ var g;
122
+ return o(N).push({
123
+ name: "mf-payment-onboard-submission-form",
124
+ params: {
125
+ type: t.type,
126
+ submission: (g = t.submission) == null ? void 0 : g._id
127
+ }
128
+ });
129
+ }
130
+ }, null, 8, ["prepend-icon", "label", "onClick"])) : b("", !0)
131
+ ];
132
+ }),
133
+ _: 2
134
+ }, 1024)
135
+ ];
136
+ }),
137
+ _: 2
138
+ }, 1024))), 256))
139
+ ])
140
+ ]),
141
+ _: 1
142
+ }, 8, ["title", "description", "loading"]);
143
+ };
144
+ }
145
+ });
146
+ export {
147
+ hs as default
148
+ };
@@ -0,0 +1,146 @@
1
+ import { defineComponent as A, ref as V, watch as v, computed as p, resolveComponent as x, openBlock as h, createBlock as w, withCtx as f, createElementVNode as S, createVNode as r, unref as l, isRef as n, h as k } from "vue";
2
+ import { o as K } from "./index-MqVn-IaA.js";
3
+ import { p as m } from "./index-BasdAonL.js";
4
+ import { _ as O } from "./index.vue_vue_type_script_setup_true_lang-D4bLM6th.js";
5
+ import { useRouter as F } from "vue-router";
6
+ import { _ as N } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
7
+ import { h as R } from "./moment-h96o7c8I.js";
8
+ import { u as C } from "./index-DGF3hKwg.js";
9
+ import { _ as D } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
10
+ import { _ as E } from "./Status.vue_vue_type_script_setup_true_lang-wrcEbNj3.js";
11
+ const U = { class: "flex items-start mb-6" }, z = /* @__PURE__ */ A({
12
+ __name: "OnboardSubmission",
13
+ setup(Y) {
14
+ const i = V(), c = F(), { status: a, type: s } = C({
15
+ status: [m.FdoOnboardStatus.Enum.submitted],
16
+ type: ""
17
+ });
18
+ v([a, s], () => {
19
+ var e;
20
+ return (e = i.value) == null ? void 0 : e.reset();
21
+ });
22
+ const y = function(e) {
23
+ return {
24
+ ...e,
25
+ updatedAt: R(e.updatedAt).format("YYYY-MM-DD HH:mm:ss")
26
+ };
27
+ }, _ = [
28
+ {
29
+ accessorKey: "restaurantId",
30
+ header: () => "Restaurant ID",
31
+ meta: {
32
+ textAlign: "left"
33
+ }
34
+ },
35
+ {
36
+ accessorKey: "-",
37
+ header: () => "Restaurant",
38
+ meta: {
39
+ textAlign: "left"
40
+ },
41
+ cell: (e) => e.row.original.profile.legalName || e.row.original.profile.name
42
+ },
43
+ {
44
+ accessorKey: "profile.email",
45
+ header: () => "Email",
46
+ meta: {
47
+ textAlign: "left"
48
+ }
49
+ },
50
+ {
51
+ accessorKey: "profile.phoneNo",
52
+ header: () => "Phone No",
53
+ meta: {
54
+ textAlign: "left"
55
+ }
56
+ },
57
+ {
58
+ accessorKey: "type",
59
+ header: () => "Type",
60
+ meta: {
61
+ textAlign: "left"
62
+ }
63
+ },
64
+ {
65
+ accessorKey: "status",
66
+ header: () => "Status",
67
+ meta: {
68
+ textAlign: "left"
69
+ },
70
+ cell: ({ cell: e }) => k(E, { data: e.getValue() })
71
+ },
72
+ {
73
+ accessorKey: "updatedAt",
74
+ header: () => "Updated At",
75
+ meta: {
76
+ textAlign: "left"
77
+ }
78
+ }
79
+ ], b = p(
80
+ () => m.FdoOnboardType.options.map((e) => ({
81
+ label: e,
82
+ value: e
83
+ }))
84
+ ), u = p(
85
+ () => m.FdoOnboardStatus.options.map((e) => ({
86
+ label: e,
87
+ value: e
88
+ }))
89
+ );
90
+ return (e, o) => {
91
+ const d = x("FmSelect");
92
+ return h(), w(N, {
93
+ title: "Payment Onboarding",
94
+ loading: !1
95
+ }, {
96
+ default: f(() => [
97
+ S("div", U, [
98
+ r(d, {
99
+ modelValue: l(s),
100
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => n(s) ? s.value = t : null),
101
+ class: "mr-6 w-[128px]",
102
+ label: "Type",
103
+ "label-mark": "required",
104
+ items: b.value
105
+ }, null, 8, ["modelValue", "items"]),
106
+ r(d, {
107
+ modelValue: l(a),
108
+ "onUpdate:modelValue": o[2] || (o[2] = (t) => n(a) ? a.value = t : null),
109
+ class: "mr-6 w-[300px]",
110
+ label: "Status",
111
+ "label-mark": "required",
112
+ multiselect: "",
113
+ items: u.value
114
+ }, {
115
+ "prepend-menu": f(() => [
116
+ r(D, {
117
+ modelValue: l(a),
118
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => n(a) ? a.value = t : null),
119
+ items: u.value
120
+ }, null, 8, ["modelValue", "items"])
121
+ ]),
122
+ _: 1
123
+ }, 8, ["modelValue", "items"])
124
+ ]),
125
+ r(O, {
126
+ ref_key: "controller",
127
+ ref: i,
128
+ "column-defs": _,
129
+ "rows-defs": y,
130
+ paginate: (t, g) => l(K).read({ status: l(a), type: l(s), limit: t, cursor: g }),
131
+ onRowClick: o[3] || (o[3] = (t) => l(c).push({
132
+ name: "mf-payment-admin.onboard-submission-form",
133
+ params: {
134
+ submissionId: t._id
135
+ }
136
+ }))
137
+ }, null, 8, ["paginate"])
138
+ ]),
139
+ _: 1
140
+ });
141
+ };
142
+ }
143
+ });
144
+ export {
145
+ z as default
146
+ };
@@ -1,4 +1,4 @@
1
- import { shallowRef as Nn, watchEffect as em, toValue as Hi, watch as Fs, onBeforeUnmount as vN, defineComponent as HN, ref as xW, toRef as Mm, computed as Jm, openBlock as kZ, createElementBlock as zZ, Fragment as Gm, renderList as Tm, renderSlot as cs, createElementVNode as pZ, normalizeStyle as Sm, createCommentVNode as hn, resolveComponent as Pi, createVNode as OQ, normalizeClass as fi, unref as FV, toDisplayString as Ai } from "vue";
1
+ import { defineComponent as vN, shallowRef as Nn, ref as xW, toRef as em, computed as Mm, watch as Fs, onBeforeUnmount as HN, openBlock as kZ, createElementBlock as zZ, Fragment as Jm, renderList as Gm, renderSlot as cs, createElementVNode as pZ, normalizeStyle as Tm, createCommentVNode as hn, watchEffect as Sm, toValue as Hi, resolveComponent as Pi, createVNode as OQ, normalizeClass as fi, unref as FV, toDisplayString as Ai } from "vue";
2
2
  var Xm = Object.defineProperty, PN = (U) => {
3
3
  throw TypeError(U);
4
4
  }, Ym = (U, l, d) => l in U ? Xm(U, l, { enumerable: !0, configurable: !0, writable: !0, value: d }) : U[l] = d, P = (U, l, d) => Ym(U, typeof l != "symbol" ? l + "" : l, d), Bi = (U, l, d) => l.has(U) || PN("Cannot " + d), Q = (U, l, d) => (Bi(U, l, "read from private field"), d ? d.call(U) : l.get(U)), m = (U, l, d) => l.has(U) ? PN("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(U) : l.set(U, d), h = (U, l, d, Z) => (Bi(U, l, "write to private field"), l.set(U, d), d), N = (U, l, d) => (Bi(U, l, "access private method"), d), hd = (U, l, d, Z) => ({
@@ -16025,7 +16025,7 @@ function Xb({
16025
16025
  source: Z
16026
16026
  }) {
16027
16027
  const t = Nn(null), F = Nn(null);
16028
- return em(async () => {
16028
+ return Sm(async () => {
16029
16029
  const c = Hi(Z);
16030
16030
  if (c) {
16031
16031
  if (dN(c)) {
@@ -16050,7 +16050,7 @@ function Xb({
16050
16050
  }
16051
16051
  }), Fs(t, (c, W) => {
16052
16052
  W == null || W.destroy();
16053
- }), vN(() => {
16053
+ }), HN(() => {
16054
16054
  var c, W, a, n;
16055
16055
  (c = F.value) != null && c.onPassword && (F.value.onPassword = null), (W = F.value) != null && W.onProgress && (F.value.onProgress = null), (a = F.value) == null || a.destroy(), dN(Hi(Z)) || (n = t.value) == null || n.destroy();
16056
16056
  }), {
@@ -21903,7 +21903,7 @@ const FG = ["id"], cG = ["id"], QG = /* @__PURE__ */ pZ("canvas", null, null, -1
21903
21903
  }, aG = {
21904
21904
  key: 1,
21905
21905
  class: "annotationLayer"
21906
- }, bm = /* @__PURE__ */ HN({
21906
+ }, bm = /* @__PURE__ */ vN({
21907
21907
  __name: "VuePdfEmbed",
21908
21908
  props: {
21909
21909
  annotationLayer: { type: Boolean },
@@ -21931,8 +21931,8 @@ const FG = ["id"], cG = ["id"], QG = /* @__PURE__ */ pZ("canvas", null, null, -1
21931
21931
  onProgress: (J) => {
21932
21932
  d("progress", J);
21933
21933
  },
21934
- source: Mm(Z, "source")
21935
- }), n = Jm(() => {
21934
+ source: em(Z, "source")
21935
+ }), n = Mm(() => {
21936
21936
  if (!a.value || !Z.annotationLayer)
21937
21937
  return null;
21938
21938
  const J = new tG();
@@ -22088,7 +22088,7 @@ const FG = ["id"], cG = ["id"], QG = /* @__PURE__ */ pZ("canvas", null, null, -1
22088
22088
  }, await W.promise, W = null);
22089
22089
  },
22090
22090
  { immediate: !0 }
22091
- ), vN(() => {
22091
+ ), HN(() => {
22092
22092
  rV(c.value);
22093
22093
  }), l({
22094
22094
  doc: a,
@@ -22100,12 +22100,12 @@ const FG = ["id"], cG = ["id"], QG = /* @__PURE__ */ pZ("canvas", null, null, -1
22100
22100
  ref: c,
22101
22101
  class: "vue-pdf-embed"
22102
22102
  }, [
22103
- (kZ(!0), zZ(Gm, null, Tm(t.value, (T, Y) => (kZ(), zZ("div", { key: T }, [
22103
+ (kZ(!0), zZ(Jm, null, Gm(t.value, (T, Y) => (kZ(), zZ("div", { key: T }, [
22104
22104
  cs(J.$slots, "before-page", { page: T }),
22105
22105
  pZ("div", {
22106
22106
  id: J.id && `${J.id}-${T}`,
22107
22107
  class: "vue-pdf-embed__page",
22108
- style: Sm({
22108
+ style: Tm({
22109
22109
  "--scale-factor": F.value[Y],
22110
22110
  position: "relative"
22111
22111
  })
@@ -22346,7 +22346,7 @@ function bG(U) {
22346
22346
  const mG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Path2D: Rn, applyPath2DToCanvasRenderingContext: NG, applyRoundRectToCanvasRenderingContext2D: hG, applyRoundRectToPath2D: bG, buildPath: WQ, parsePath: mm, roundRect: Ki }, Symbol.toStringTag, { value: "Module" })), eG = "chevron_left", MG = "chevron_right", JG = { class: "row" }, GG = { class: "relative-position fit bordered overflow-hidden" }, TG = {
22347
22347
  key: 0,
22348
22348
  class: "absolute fit row justify-center items-center"
22349
- }, SG = { style: { position: "absolute", right: "16px", top: "16px" } }, XG = { class: "flex justify-between items-center" }, YG = { class: "t-system" }, pG = /* @__PURE__ */ HN({
22349
+ }, SG = { style: { position: "absolute", right: "16px", top: "16px" } }, XG = { class: "flex justify-between items-center" }, YG = { class: "t-system" }, pG = /* @__PURE__ */ vN({
22350
22350
  __name: "PDFViewer",
22351
22351
  props: {
22352
22352
  pdf: {
@@ -22380,6 +22380,7 @@ const mG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22380
22380
  class: fi([{ invisible: l.value }, "relative-position fit"])
22381
22381
  }, [
22382
22382
  OQ(FV(bm), {
22383
+ class: "justify-self-center",
22383
22384
  height: U.height,
22384
22385
  source: U.pdf,
22385
22386
  "disable-text-layer": !0,
@@ -22420,7 +22421,8 @@ const mG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22420
22421
  for (const [Z, t] of l)
22421
22422
  d[Z] = t;
22422
22423
  return d;
22423
- }, UT = /* @__PURE__ */ uG(pG, [["__scopeId", "data-v-afb2464d"]]);
22424
+ }, UT = /* @__PURE__ */ uG(pG, [["__scopeId", "data-v-8c1f97b8"]]);
22424
22425
  export {
22425
- UT as P
22426
+ UT as P,
22427
+ uG as _
22426
22428
  };