@feedmepos/mf-payment 1.3.7 → 1.3.9

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/{OnboardForm-BLfsB8xK.js → OnboardForm-BlBxXNvQ.js} +197 -197
  2. package/dist/{OnboardForm-B8asbqQ2.js → OnboardForm-C0YWCDXr.js} +4 -4
  3. package/dist/{OnboardSubmission-BQMqZ-wP.js → OnboardSubmission-BUH9EBp9.js} +5 -5
  4. package/dist/{OnboardSubmission-DdF0Dy9-.js → OnboardSubmission-BxLJ76Gd.js} +2 -2
  5. package/dist/{PayoutAccount-CXjj7Euz.js → PayoutAccount-D6TQgPUP.js} +5 -5
  6. package/dist/{PayoutAccount-BKZJa7Xu.js → PayoutAccount-DC_bIwCU.js} +5 -5
  7. package/dist/{PayoutAccountSetting-CHRrrPyM.js → PayoutAccountSetting-cePknwDI.js} +3 -3
  8. package/dist/{Restaurant-B4_By3gk.js → Restaurant-B7pxOPfA.js} +4 -4
  9. package/dist/{RestaurantSetting-Dub_-JlB.js → RestaurantSetting-D6KMzqFP.js} +3 -3
  10. package/dist/{Settlement-Y9WvXhNL.js → Settlement-Bth8Ui2Z.js} +3 -3
  11. package/dist/{Settlement-CZ8pzFMH.js → Settlement-IeUvfy80.js} +3 -3
  12. package/dist/{SettlementTransactions-CYKZ3qJR.js → SettlementTransactions-D8KcC1xS.js} +3 -3
  13. package/dist/{SettlementTransactions-CT7yHI03.js → SettlementTransactions-DZGFok3q.js} +3 -3
  14. package/dist/{Status.vue_vue_type_script_setup_true_lang-knGxQsIT.js → Status.vue_vue_type_script_setup_true_lang-DJqdH669.js} +1 -1
  15. package/dist/{Terminal-DpU8bG_E.js → Terminal-CBpKZr2A.js} +5 -5
  16. package/dist/{TerminalSetting-ayjTqDOf.js → TerminalSetting-ClzbzycY.js} +498 -379
  17. package/dist/{Transaction-BglDJkA1.js → Transaction-BVDi8UBy.js} +6 -6
  18. package/dist/{Transaction-BhaE4B7P.js → Transaction-DqMCm2X7.js} +5 -5
  19. package/dist/{TransactionOld-lu-6Wsl0.js → TransactionOld-DNeC5gfJ.js} +4 -4
  20. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DwsA4v2y.js → TransactionTable.vue_vue_type_script_setup_true_lang-Dp26HmG3.js} +3 -3
  21. package/dist/{app-BrNzXeBI.js → app-CU0L5rLn.js} +151 -151
  22. package/dist/app.js +1 -1
  23. package/dist/{assets-CXWjWs3-.js → assets-DWVOr5nK.js} +1 -1
  24. package/dist/{grafana-DMIeh04o.js → grafana-BjVYzsSk.js} +1 -1
  25. package/dist/{index-DYisiI7M.js → index-2Lq-dday.js} +1 -1
  26. package/dist/{index-CggStwHL.js → index-BaS5NvBk.js} +8423 -8356
  27. package/dist/{index-DXzy1nT_.js → index-BuuwDeHB.js} +1 -1
  28. package/dist/{index-BUbV9yXt.js → index-C3ELtK6q.js} +1 -1
  29. package/dist/{index-LG8BpXxO.js → index-C7_F7LKb.js} +1 -1
  30. package/dist/{index-JNNpGY70.js → index-DG_Tv3TM.js} +1 -1
  31. package/dist/{index-Bq7l2vy5.js → index-DOFcxZxn.js} +2 -2
  32. package/dist/{index.vue_vue_type_script_setup_true_lang-roF28cJy.js → index.vue_vue_type_script_setup_true_lang-DZpYH6rl.js} +1 -1
  33. package/dist/package.json +2 -2
  34. package/dist/{payout-account-CrY-ksUT.js → payout-account-CbmGMzzE.js} +3 -3
  35. package/dist/{plugins-CI7MsCL_.js → plugins-C_ElAUdX.js} +1 -1
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +4 -4
  38. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
  39. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +4 -4
  40. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  41. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +12 -2
  42. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +12 -2
  43. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +12 -2
  44. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +12 -2
  45. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +12 -2
  46. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +12 -2
  47. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +12 -2
  48. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +184 -0
  49. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +12 -2
  50. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +12 -2
  51. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +12 -2
  52. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +12 -2
  53. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +12 -2
  54. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +12 -2
  55. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +12 -2
  56. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
- import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as R, createElementVNode as o, toDisplayString as E, Fragment as z, createBlock as j, withCtx as c, createVNode as n, createCommentVNode as I, unref as e, createTextVNode as D, onMounted as W, resolveDynamicComponent as X } from "vue";
2
- import { o as T } from "./index-Bq7l2vy5.js";
3
- import { u as M } from "./index-CggStwHL.js";
4
- import { useRouter as Z } from "vue-router";
1
+ import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as q, createElementVNode as o, toDisplayString as E, Fragment as z, createBlock as j, withCtx as c, createVNode as s, createCommentVNode as I, unref as e, createTextVNode as D, onMounted as X, resolveDynamicComponent as Z } from "vue";
2
+ import { o as T } from "./index-DOFcxZxn.js";
3
+ import { u as M } from "./index-BaS5NvBk.js";
4
+ import { useRouter as h } from "vue-router";
5
5
  import { z as u, a as d } from "./validator-D5jtpt9A.js";
6
- import { P as ee } from "./payout-account-CrY-ksUT.js";
6
+ import { P as ee } from "./payout-account-CbmGMzzE.js";
7
7
  import { P as le } from "./PDFViewer-DlSCBBxr.js";
8
8
  import { s as te } from "./vue-signature-pad.esm-IXPjf4fL.js";
9
- import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-knGxQsIT.js";
9
+ import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-DJqdH669.js";
10
10
  import { useSnackbar as J } from "@feedmepos/ui-library";
11
11
  import { u as A } from "./error-K1CakhA9.js";
12
12
  const oe = ["src"], B = /* @__PURE__ */ $({
@@ -17,8 +17,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
17
17
  type: {}
18
18
  },
19
19
  emits: ["update:modelValue"],
20
- setup(q, { emit: x }) {
21
- const V = q, b = P(V.modelValue), k = x, N = (a) => {
20
+ setup(R, { emit: x }) {
21
+ const V = R, b = P(V.modelValue), k = x, S = (a) => {
22
22
  const r = new FileReader();
23
23
  r.onload = (C) => {
24
24
  var i;
@@ -30,19 +30,19 @@ const oe = ["src"], B = /* @__PURE__ */ $({
30
30
  const r = document.createElement("a");
31
31
  r.href = b.value, r.download = `${(a = V.label) == null ? void 0 : a.toLowerCase().replaceAll(" ", "_")}.pdf`, document.body.appendChild(r), r.click(), document.body.removeChild(r);
32
32
  }
33
- }, S = O(() => V.type === "image" ? ".png, .jpg, .jpeg" : ".pdf");
33
+ }, F = O(() => V.type === "image" ? ".png, .jpg, .jpeg" : ".pdf");
34
34
  return (a, r) => {
35
35
  const C = f("FmButton"), i = f("FmDialog"), g = f("FmDropField");
36
- return y(), R("div", null, [
36
+ return y(), q("div", null, [
37
37
  o("p", null, E(a.label), 1),
38
- b.value ? (y(), R(z, { key: 0 }, [
38
+ b.value ? (y(), q(z, { key: 0 }, [
39
39
  a.type === "pdf" ? (y(), j(i, {
40
40
  key: 0,
41
41
  "max-width": 800,
42
42
  "max-height": 800
43
43
  }, {
44
44
  "dialog-button": c(() => [
45
- n(C, {
45
+ s(C, {
46
46
  class: "mt-4",
47
47
  "prepend-icon": "preview",
48
48
  label: "Preview"
@@ -52,13 +52,13 @@ const oe = ["src"], B = /* @__PURE__ */ $({
52
52
  o("div", null, "Document Preview", -1)
53
53
  ])),
54
54
  default: c(() => [
55
- n(le, {
55
+ s(le, {
56
56
  height: 800,
57
57
  pdf: b.value,
58
58
  "disable-text-layer": !0,
59
59
  "disable-annotation-layer": !0
60
60
  }, null, 8, ["pdf"]),
61
- n(C, {
61
+ s(C, {
62
62
  class: "w-full my-6",
63
63
  "prepend-icon": "download",
64
64
  label: "Download",
@@ -67,19 +67,19 @@ const oe = ["src"], B = /* @__PURE__ */ $({
67
67
  ]),
68
68
  _: 1
69
69
  })) : I("", !0),
70
- a.type === "image" ? (y(), R("img", {
70
+ a.type === "image" ? (y(), q("img", {
71
71
  key: 1,
72
72
  src: b.value
73
73
  }, null, 8, oe)) : I("", !0)
74
74
  ], 64)) : (y(), j(g, {
75
75
  key: 1,
76
- accept: S.value,
77
- onFileUpload: N
76
+ accept: F.value,
77
+ onFileUpload: S
78
78
  }, null, 8, ["accept"]))
79
79
  ]);
80
80
  };
81
81
  }
82
- }), ne = ["src"], se = {
82
+ }), se = ["src"], ne = {
83
83
  key: 0,
84
84
  class: "text-center text-red-700 py-4"
85
85
  }, re = { class: "flex justify-evenly py-3" }, ie = /* @__PURE__ */ $({
@@ -89,39 +89,39 @@ const oe = ["src"], B = /* @__PURE__ */ $({
89
89
  label: {}
90
90
  },
91
91
  emits: ["update:modelValue"],
92
- setup(q, { emit: x }) {
93
- const V = q, b = x, k = P(V.modelValue), N = P(!1), m = P(), S = P(!1);
92
+ setup(R, { emit: x }) {
93
+ const V = R, b = x, k = P(V.modelValue), S = P(!1), m = P(), F = P(!1);
94
94
  function a(C, i) {
95
95
  var _;
96
- const g = C.split(","), F = ((_ = g[0].match(/:(.*?);/)) == null ? void 0 : _[1]) || "", v = atob(g[1]);
97
- let s = v.length;
98
- const U = new Uint8Array(s);
99
- for (; s--; )
100
- U[s] = v.charCodeAt(s);
101
- return new File([U], i, { type: F });
96
+ const g = C.split(","), w = ((_ = g[0].match(/:(.*?);/)) == null ? void 0 : _[1]) || "", v = atob(g[1]);
97
+ let n = v.length;
98
+ const U = new Uint8Array(n);
99
+ for (; n--; )
100
+ U[n] = v.charCodeAt(n);
101
+ return new File([U], i, { type: w });
102
102
  }
103
103
  const r = function() {
104
104
  const { isEmpty: C, data: i } = m.value.saveSignature();
105
105
  if (C)
106
- return N.value = !0;
107
- k.value = i, S.value = !1, b("update:modelValue", a(i, "signature.png"));
106
+ return S.value = !0;
107
+ k.value = i, F.value = !1, b("update:modelValue", a(i, "signature.png"));
108
108
  };
109
109
  return (C, i) => {
110
- const g = f("FmButton"), F = f("FmDialog");
111
- return y(), R("div", null, [
112
- k.value ? (y(), R("img", {
110
+ const g = f("FmButton"), w = f("FmDialog");
111
+ return y(), q("div", null, [
112
+ k.value ? (y(), q("img", {
113
113
  key: 0,
114
114
  src: k.value,
115
115
  alt: "Signature Preview",
116
116
  class: "w-full h-auto"
117
- }, null, 8, ne)) : I("", !0),
118
- k.value ? I("", !0) : (y(), j(F, {
117
+ }, null, 8, se)) : I("", !0),
118
+ k.value ? I("", !0) : (y(), j(w, {
119
119
  key: 1,
120
- modelValue: S.value,
121
- "onUpdate:modelValue": i[1] || (i[1] = (v) => S.value = v)
120
+ modelValue: F.value,
121
+ "onUpdate:modelValue": i[1] || (i[1] = (v) => F.value = v)
122
122
  }, {
123
123
  "dialog-button": c(() => [
124
- n(g, {
124
+ s(g, {
125
125
  "prepend-icon": "signature",
126
126
  class: "w-full",
127
127
  label: "Signature"
@@ -131,22 +131,22 @@ const oe = ["src"], B = /* @__PURE__ */ $({
131
131
  o("div", null, "Signature Board", -1)
132
132
  ])),
133
133
  default: c(() => [
134
- n(e(te), {
134
+ s(e(te), {
135
135
  ref_key: "signaturePad",
136
136
  ref: m,
137
137
  height: "300px",
138
138
  customStyle: { border: "2px solid #ccc", borderRadius: "3px" },
139
139
  options: { penColor: "#000000" }
140
140
  }, null, 512),
141
- N.value ? (y(), R("p", se, " Please sign your signature before saving. ")) : I("", !0),
141
+ S.value ? (y(), q("p", ne, " Please sign your signature before saving. ")) : I("", !0),
142
142
  o("div", re, [
143
- n(g, {
143
+ s(g, {
144
144
  variant: "destructive",
145
145
  label: "Clear",
146
146
  "prepend-icon": "delete",
147
147
  onClick: i[0] || (i[0] = (v) => m.value.clearSignature())
148
148
  }),
149
- n(g, {
149
+ s(g, {
150
150
  label: "Save",
151
151
  "prepend-icon": "save",
152
152
  onClick: r
@@ -158,7 +158,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
158
158
  ]);
159
159
  };
160
160
  }
161
- }), ue = { class: "space-y-2" }, de = { class: "text-gray-900" }, me = { class: "text-gray-900" }, pe = { class: "text-gray-900" }, be = { class: "text-gray-900" }, ce = { class: "text-gray-900" }, ge = { class: "text-gray-900" }, ve = { class: "mt-6 grid grid-cols-4 gap-24" }, ye = { class: "w-full flex justify-end mt-6" }, fe = { class: "mt-6 grid grid-cols-4 gap-24" }, Ve = { class: "col-span-2" }, ke = { class: "col-span-2" }, Ce = { class: "col-span-2" }, we = { class: "col-span-2" }, Ne = { class: "col-span-2" }, Se = { class: "col-span-2" }, Fe = { class: "col-start-1 col-span-2" }, Pe = { class: "col-span-2" }, Re = { class: "col-span-2" }, qe = { class: "col-span-2" }, xe = { class: "mt-6 grid grid-cols-4 gap-24" }, Ue = { class: "mt-6 grid grid-cols-2 gap-24" }, De = /* @__PURE__ */ $({
161
+ }), ue = { class: "space-y-2" }, de = { class: "text-gray-900" }, me = { class: "text-gray-900" }, pe = { class: "text-gray-900" }, be = { class: "text-gray-900" }, ce = { class: "text-gray-900" }, ge = { class: "text-gray-900" }, ve = { class: "mt-6 grid grid-cols-4 gap-24" }, ye = { class: "w-full flex justify-end mt-6" }, fe = { class: "mt-6 grid grid-cols-4 gap-24" }, Ve = { class: "col-span-2" }, ke = { class: "col-span-2" }, Ce = { class: "col-span-2" }, Ne = { class: "col-span-2" }, Se = { class: "col-span-2" }, Fe = { class: "col-span-2" }, we = { class: "col-start-1 col-span-2" }, Pe = { class: "col-span-2" }, qe = { class: "col-span-2" }, Re = { class: "col-span-2" }, xe = { class: "mt-6 grid grid-cols-4 gap-24" }, Ue = { class: "mt-6 grid grid-cols-2 gap-24" }, De = /* @__PURE__ */ $({
162
162
  __name: "SoftspaceSubmission",
163
163
  props: {
164
164
  submission: {
@@ -167,220 +167,220 @@ const oe = ["src"], B = /* @__PURE__ */ $({
167
167
  }
168
168
  },
169
169
  emits: ["update:submission"],
170
- setup(q, { emit: x }) {
171
- const V = q, b = x, k = J(), N = P(!1), { isLoading: m, startAsyncCall: S } = M(), { fields: a, documents: r, restaurantId: C, profile: i, status: g, statusReason: F } = V.submission, v = P(""), s = P(V.submission.rates ? Object.fromEntries(Object.entries(V.submission.rates).map(([w, t]) => [w, `${t}`])) : {
172
- duitNow: "0",
173
- mydebitCard: "0",
174
- localDebit: "0",
175
- localCredit: "0",
176
- foreignCard: "0",
177
- jcbStandard: "0",
178
- jcbPlatinum: "0"
170
+ setup(R, { emit: x }) {
171
+ const V = R, b = x, k = J(), S = P(!1), { isLoading: m, startAsyncCall: F } = M(), { fields: a, documents: r, restaurantId: C, profile: i, status: g, statusReason: w } = V.submission, v = P(""), n = P(V.submission.rates ? Object.fromEntries(Object.entries(V.submission.rates).map(([N, l]) => [N, `${l}`])) : {
172
+ duitNow: "0.8",
173
+ mydebitCard: "0.5",
174
+ localDebit: "0.5",
175
+ localCredit: "1.1",
176
+ foreignCard: "3.2",
177
+ jcbStandard: "2.2",
178
+ jcbPlatinum: "2.2"
179
179
  }), U = O(
180
- () => Object.values(s.value).every((w) => parseFloat(w) > 0)
181
- ), _ = () => S(async () => {
180
+ () => Object.values(n.value).every((N) => parseFloat(N) > 0)
181
+ ), _ = () => F(async () => {
182
182
  try {
183
- const w = await T.reviewById(V.submission._id, {
183
+ const N = await T.reviewById(V.submission._id, {
184
184
  rates: {
185
- duitNow: parseFloat(s.value.duitNow),
186
- mydebitCard: parseFloat(s.value.mydebitCard),
187
- localDebit: parseFloat(s.value.localDebit),
188
- localCredit: parseFloat(s.value.localCredit),
189
- foreignCard: parseFloat(s.value.foreignCard),
190
- jcbStandard: parseFloat(s.value.jcbStandard),
191
- jcbPlatinum: parseFloat(s.value.jcbPlatinum)
185
+ duitNow: parseFloat(n.value.duitNow),
186
+ mydebitCard: parseFloat(n.value.mydebitCard),
187
+ localDebit: parseFloat(n.value.localDebit),
188
+ localCredit: parseFloat(n.value.localCredit),
189
+ foreignCard: parseFloat(n.value.foreignCard),
190
+ jcbStandard: parseFloat(n.value.jcbStandard),
191
+ jcbPlatinum: parseFloat(n.value.jcbPlatinum)
192
192
  },
193
193
  status: "approved"
194
194
  });
195
- b("update:submission", w), N.value = !1, k.open({
195
+ b("update:submission", N), S.value = !1, k.open({
196
196
  type: "success",
197
197
  title: "Submission updated successfully"
198
198
  });
199
- } catch (w) {
199
+ } catch (N) {
200
200
  k.open({
201
201
  type: "error",
202
202
  title: "Error occurs when updating submission",
203
- message: A(w)
203
+ message: A(N)
204
204
  });
205
205
  }
206
- }), G = () => S(async () => {
206
+ }), G = () => F(async () => {
207
207
  try {
208
- const w = await T.reviewById(V.submission._id, {
208
+ const N = await T.reviewById(V.submission._id, {
209
209
  status: "rejected",
210
210
  statusReason: v.value
211
211
  });
212
- b("update:submission", w), N.value = !1, k.open({
212
+ b("update:submission", N), S.value = !1, k.open({
213
213
  type: "success",
214
214
  title: "Submission updated successfully"
215
215
  });
216
- } catch (w) {
216
+ } catch (N) {
217
217
  k.open({
218
218
  type: "error",
219
219
  title: "Error occurs when updating submission",
220
- message: A(w)
220
+ message: A(N)
221
221
  });
222
222
  }
223
223
  });
224
- return (w, t) => {
225
- const p = f("FmTextField"), L = f("FmButton"), K = f("FmTextarea"), Q = f("FmDialog"), Y = f("FmPhoneNumber"), H = f("FmSelect"), h = f("FmForm");
226
- return y(), R(z, null, [
224
+ return (N, l) => {
225
+ const p = f("FmTextField"), L = f("FmButton"), K = f("FmTextarea"), Q = f("FmDialog"), Y = f("FmPhoneNumber"), H = f("FmSelect"), W = f("FmForm");
226
+ return y(), q(z, null, [
227
227
  o("div", ue, [
228
228
  o("div", null, [
229
- t[32] || (t[32] = o("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
229
+ l[32] || (l[32] = o("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
230
230
  o("span", de, E(e(C)), 1)
231
231
  ]),
232
232
  o("div", null, [
233
- t[33] || (t[33] = o("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
233
+ l[33] || (l[33] = o("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
234
234
  o("span", me, E(e(i).name) + " ( " + E(e(i).legalName) + " )", 1)
235
235
  ]),
236
236
  o("div", null, [
237
- t[34] || (t[34] = o("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
237
+ l[34] || (l[34] = o("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
238
238
  o("span", pe, E(e(i).email), 1)
239
239
  ]),
240
240
  o("div", null, [
241
- t[35] || (t[35] = o("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
241
+ l[35] || (l[35] = o("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
242
242
  o("span", be, E(e(i).phoneNo), 1)
243
243
  ]),
244
244
  o("div", null, [
245
- t[36] || (t[36] = o("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
245
+ l[36] || (l[36] = o("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
246
246
  o("span", ce, [
247
- n(ae, { data: e(g) }, null, 8, ["data"])
247
+ s(ae, { data: e(g) }, null, 8, ["data"])
248
248
  ])
249
249
  ]),
250
250
  o("div", null, [
251
- t[37] || (t[37] = o("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
252
- o("span", ge, E(e(F)), 1)
251
+ l[37] || (l[37] = o("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
252
+ o("span", ge, E(e(w)), 1)
253
253
  ])
254
254
  ]),
255
- t[49] || (t[49] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Rate Settings ", -1)),
255
+ l[49] || (l[49] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Rate Settings ", -1)),
256
256
  o("div", ve, [
257
- n(p, {
258
- modelValue: s.value.duitNow,
259
- "onUpdate:modelValue": t[0] || (t[0] = (l) => s.value.duitNow = l),
257
+ s(p, {
258
+ modelValue: n.value.duitNow,
259
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => n.value.duitNow = t),
260
260
  label: "DuitNow QR",
261
261
  "label-mark": "required",
262
262
  type: "number",
263
263
  inputmode: "numeric",
264
264
  decimal: 2,
265
265
  rules: e(u)(
266
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.5, { message: "Rate cannot lower than 0.5%" })
266
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
267
267
  )
268
268
  }, {
269
- append: c(() => t[38] || (t[38] = [
269
+ append: c(() => l[38] || (l[38] = [
270
270
  D("%")
271
271
  ])),
272
272
  _: 1
273
273
  }, 8, ["modelValue", "rules"]),
274
- n(p, {
275
- modelValue: s.value.mydebitCard,
276
- "onUpdate:modelValue": t[1] || (t[1] = (l) => s.value.mydebitCard = l),
274
+ s(p, {
275
+ modelValue: n.value.mydebitCard,
276
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => n.value.mydebitCard = t),
277
277
  label: "myDebit Card",
278
278
  "label-mark": "required",
279
279
  type: "number",
280
280
  inputmode: "numeric",
281
281
  decimal: 2,
282
282
  rules: e(u)(
283
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.5, { message: "Rate cannot lower than 0.5%" })
283
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
284
284
  )
285
285
  }, {
286
- append: c(() => t[39] || (t[39] = [
286
+ append: c(() => l[39] || (l[39] = [
287
287
  D("%")
288
288
  ])),
289
289
  _: 1
290
290
  }, 8, ["modelValue", "rules"]),
291
- n(p, {
292
- modelValue: s.value.localDebit,
293
- "onUpdate:modelValue": t[2] || (t[2] = (l) => s.value.localDebit = l),
291
+ s(p, {
292
+ modelValue: n.value.localDebit,
293
+ "onUpdate:modelValue": l[2] || (l[2] = (t) => n.value.localDebit = t),
294
294
  label: "Local Debit Card",
295
295
  "label-mark": "required",
296
296
  type: "number",
297
297
  inputmode: "numeric",
298
298
  decimal: 2,
299
299
  rules: e(u)(
300
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.5, { message: "Rate cannot lower than 0.5%" })
300
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
301
301
  )
302
302
  }, {
303
- append: c(() => t[40] || (t[40] = [
303
+ append: c(() => l[40] || (l[40] = [
304
304
  D("%")
305
305
  ])),
306
306
  _: 1
307
307
  }, 8, ["modelValue", "rules"]),
308
- n(p, {
309
- modelValue: s.value.localCredit,
310
- "onUpdate:modelValue": t[3] || (t[3] = (l) => s.value.localCredit = l),
308
+ s(p, {
309
+ modelValue: n.value.localCredit,
310
+ "onUpdate:modelValue": l[3] || (l[3] = (t) => n.value.localCredit = t),
311
311
  label: "Local Credit Card",
312
312
  "label-mark": "required",
313
313
  type: "number",
314
314
  inputmode: "numeric",
315
315
  decimal: 2,
316
316
  rules: e(u)(
317
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.9, { message: "Rate cannot lower than 0.9%" })
317
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
318
318
  )
319
319
  }, {
320
- append: c(() => t[41] || (t[41] = [
320
+ append: c(() => l[41] || (l[41] = [
321
321
  D("%")
322
322
  ])),
323
323
  _: 1
324
324
  }, 8, ["modelValue", "rules"]),
325
- n(p, {
326
- modelValue: s.value.foreignCard,
327
- "onUpdate:modelValue": t[4] || (t[4] = (l) => s.value.foreignCard = l),
325
+ s(p, {
326
+ modelValue: n.value.foreignCard,
327
+ "onUpdate:modelValue": l[4] || (l[4] = (t) => n.value.foreignCard = t),
328
328
  label: "Foreign Card",
329
329
  "label-mark": "required",
330
330
  type: "number",
331
331
  inputmode: "numeric",
332
332
  decimal: 2,
333
333
  rules: e(u)(
334
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.5, { message: "Rate cannot lower than 3.3%" })
334
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
335
335
  )
336
336
  }, {
337
- append: c(() => t[42] || (t[42] = [
337
+ append: c(() => l[42] || (l[42] = [
338
338
  D("%")
339
339
  ])),
340
340
  _: 1
341
341
  }, 8, ["modelValue", "rules"]),
342
- n(p, {
343
- modelValue: s.value.jcbStandard,
344
- "onUpdate:modelValue": t[5] || (t[5] = (l) => s.value.jcbStandard = l),
342
+ s(p, {
343
+ modelValue: n.value.jcbStandard,
344
+ "onUpdate:modelValue": l[5] || (l[5] = (t) => n.value.jcbStandard = t),
345
345
  label: "JCB Standard",
346
346
  "label-mark": "required",
347
347
  type: "number",
348
348
  inputmode: "numeric",
349
349
  decimal: 2,
350
350
  rules: e(u)(
351
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.5, { message: "Rate cannot lower than 3.3%" })
351
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
352
352
  )
353
353
  }, {
354
- append: c(() => t[43] || (t[43] = [
354
+ append: c(() => l[43] || (l[43] = [
355
355
  D("%")
356
356
  ])),
357
357
  _: 1
358
358
  }, 8, ["modelValue", "rules"]),
359
- n(p, {
360
- modelValue: s.value.jcbPlatinum,
361
- "onUpdate:modelValue": t[6] || (t[6] = (l) => s.value.jcbPlatinum = l),
359
+ s(p, {
360
+ modelValue: n.value.jcbPlatinum,
361
+ "onUpdate:modelValue": l[6] || (l[6] = (t) => n.value.jcbPlatinum = t),
362
362
  label: "JCB Platinum",
363
363
  "label-mark": "required",
364
364
  type: "number",
365
365
  inputmode: "numeric",
366
366
  decimal: 2,
367
367
  rules: e(u)(
368
- e(d).string().min(1, "Rate is required").transform((l) => parseFloat(l)).refine((l) => !isNaN(l), { message: "Rate must be a number" }).refine((l) => l < 0.5, { message: "Rate cannot lower than 3.3%" })
368
+ e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
369
369
  )
370
370
  }, {
371
- append: c(() => t[44] || (t[44] = [
371
+ append: c(() => l[44] || (l[44] = [
372
372
  D("%")
373
373
  ])),
374
374
  _: 1
375
375
  }, 8, ["modelValue", "rules"])
376
376
  ]),
377
377
  o("div", ye, [
378
- n(Q, {
379
- modelValue: N.value,
380
- "onUpdate:modelValue": t[8] || (t[8] = (l) => N.value = l)
378
+ s(Q, {
379
+ modelValue: S.value,
380
+ "onUpdate:modelValue": l[8] || (l[8] = (t) => S.value = t)
381
381
  }, {
382
382
  "dialog-button": c(() => [
383
- n(L, {
383
+ s(L, {
384
384
  class: "mr-6",
385
385
  type: "button",
386
386
  variant: "destructive",
@@ -389,18 +389,18 @@ const oe = ["src"], B = /* @__PURE__ */ $({
389
389
  label: "Reject Submission"
390
390
  }, null, 8, ["loading"])
391
391
  ]),
392
- "dialog-header": c(() => t[45] || (t[45] = [
392
+ "dialog-header": c(() => l[45] || (l[45] = [
393
393
  o("div", null, "Rejecting Submission", -1)
394
394
  ])),
395
395
  default: c(() => [
396
- n(K, {
396
+ s(K, {
397
397
  modelValue: v.value,
398
- "onUpdate:modelValue": t[7] || (t[7] = (l) => v.value = l),
398
+ "onUpdate:modelValue": l[7] || (l[7] = (t) => v.value = t),
399
399
  label: "Reason for Rejection",
400
400
  "label-mark": "optional",
401
401
  "helper-text": "Please provide a reason for rejection."
402
402
  }, null, 8, ["modelValue"]),
403
- n(L, {
403
+ s(L, {
404
404
  class: "mb-2 mt-6 w-full",
405
405
  label: "Submit",
406
406
  "prepend-icon": "save",
@@ -410,7 +410,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
410
410
  ]),
411
411
  _: 1
412
412
  }, 8, ["modelValue"]),
413
- n(L, {
413
+ s(L, {
414
414
  type: "button",
415
415
  variant: "primary",
416
416
  "prepend-icon": "approval",
@@ -420,14 +420,14 @@ const oe = ["src"], B = /* @__PURE__ */ $({
420
420
  loading: e(m)
421
421
  }, null, 8, ["disabled", "loading"])
422
422
  ]),
423
- n(h, { disabled: !0 }, {
423
+ s(W, { disabled: !0 }, {
424
424
  default: c(() => [
425
- t[46] || (t[46] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
425
+ l[46] || (l[46] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
426
426
  o("div", fe, [
427
427
  o("div", Ve, [
428
- n(p, {
428
+ s(p, {
429
429
  modelValue: e(a).picName,
430
- "onUpdate:modelValue": t[9] || (t[9] = (l) => e(a).picName = l),
430
+ "onUpdate:modelValue": l[9] || (l[9] = (t) => e(a).picName = t),
431
431
  label: "PIC Name",
432
432
  placeholder: "Enter your name",
433
433
  "label-mark": "required",
@@ -435,9 +435,9 @@ const oe = ["src"], B = /* @__PURE__ */ $({
435
435
  }, null, 8, ["modelValue", "rules"])
436
436
  ]),
437
437
  o("div", ke, [
438
- n(p, {
438
+ s(p, {
439
439
  modelValue: e(a).picRole,
440
- "onUpdate:modelValue": t[10] || (t[10] = (l) => e(a).picRole = l),
440
+ "onUpdate:modelValue": l[10] || (l[10] = (t) => e(a).picRole = t),
441
441
  label: "PIC Role",
442
442
  placeholder: "Enter your role",
443
443
  "label-mark": "required",
@@ -445,9 +445,9 @@ const oe = ["src"], B = /* @__PURE__ */ $({
445
445
  }, null, 8, ["modelValue", "rules"])
446
446
  ]),
447
447
  o("div", Ce, [
448
- n(p, {
448
+ s(p, {
449
449
  modelValue: e(a).picEmail,
450
- "onUpdate:modelValue": t[11] || (t[11] = (l) => e(a).picEmail = l),
450
+ "onUpdate:modelValue": l[11] || (l[11] = (t) => e(a).picEmail = t),
451
451
  label: "PIC Email",
452
452
  type: "email",
453
453
  placeholder: "Enter your email address",
@@ -455,64 +455,64 @@ const oe = ["src"], B = /* @__PURE__ */ $({
455
455
  rules: e(u)(e(d).string().min(1, "PIC Email is required"))
456
456
  }, null, 8, ["modelValue", "rules"])
457
457
  ]),
458
- o("div", we, [
459
- n(Y, {
458
+ o("div", Ne, [
459
+ s(Y, {
460
460
  "model-value": e(a).picContact,
461
- "onUpdate:modelValue": t[12] || (t[12] = (l) => e(a).picContact = l),
461
+ "onUpdate:modelValue": l[12] || (l[12] = (t) => e(a).picContact = t),
462
462
  "default-country": "MY",
463
463
  label: "PIC Contact",
464
464
  "label-mark": "required",
465
465
  rules: e(u)(e(d).string().min(1, "PIC Contact is required"))
466
466
  }, null, 8, ["model-value", "rules"])
467
467
  ]),
468
- o("div", Ne, [
469
- n(p, {
468
+ o("div", Se, [
469
+ s(p, {
470
470
  modelValue: e(a).outletName,
471
- "onUpdate:modelValue": t[13] || (t[13] = (l) => e(a).outletName = l),
471
+ "onUpdate:modelValue": l[13] || (l[13] = (t) => e(a).outletName = t),
472
472
  label: "Outlet Name",
473
473
  placeholder: "Enter outlet name",
474
474
  "label-mark": "required",
475
475
  rules: e(u)(e(d).string().min(1, "Outlet Name is required"))
476
476
  }, null, 8, ["modelValue", "rules"])
477
477
  ]),
478
- o("div", Se, [
479
- n(p, {
478
+ o("div", Fe, [
479
+ s(p, {
480
480
  modelValue: e(a).outletAddress,
481
- "onUpdate:modelValue": t[14] || (t[14] = (l) => e(a).outletAddress = l),
481
+ "onUpdate:modelValue": l[14] || (l[14] = (t) => e(a).outletAddress = t),
482
482
  label: "Outlet Address",
483
483
  placeholder: "Enter outlet address",
484
484
  "label-mark": "required",
485
485
  rules: e(u)(e(d).string().min(1, "Address is required"))
486
486
  }, null, 8, ["modelValue", "rules"])
487
487
  ]),
488
- n(p, {
488
+ s(p, {
489
489
  modelValue: e(a).outletPostCode,
490
- "onUpdate:modelValue": t[15] || (t[15] = (l) => e(a).outletPostCode = l),
490
+ "onUpdate:modelValue": l[15] || (l[15] = (t) => e(a).outletPostCode = t),
491
491
  label: "Postal Code",
492
492
  placeholder: "Enter postal code",
493
493
  "label-mark": "required",
494
494
  rules: e(u)(e(d).string().min(1, "Postal Code is required"))
495
495
  }, null, 8, ["modelValue", "rules"]),
496
- n(p, {
496
+ s(p, {
497
497
  modelValue: e(a).outletState,
498
- "onUpdate:modelValue": t[16] || (t[16] = (l) => e(a).outletState = l),
498
+ "onUpdate:modelValue": l[16] || (l[16] = (t) => e(a).outletState = t),
499
499
  label: "State",
500
500
  placeholder: "Enter state",
501
501
  "label-mark": "required",
502
502
  rules: e(u)(e(d).string().min(1, "State is required"))
503
503
  }, null, 8, ["modelValue", "rules"]),
504
- n(p, {
504
+ s(p, {
505
505
  modelValue: e(a).outletCity,
506
- "onUpdate:modelValue": t[17] || (t[17] = (l) => e(a).outletCity = l),
506
+ "onUpdate:modelValue": l[17] || (l[17] = (t) => e(a).outletCity = t),
507
507
  label: "City",
508
508
  placeholder: "Enter city",
509
509
  "label-mark": "required",
510
510
  rules: e(u)(e(d).string().min(1, "City is required"))
511
511
  }, null, 8, ["modelValue", "rules"]),
512
- o("div", Fe, [
513
- n(H, {
512
+ o("div", we, [
513
+ s(H, {
514
514
  modelValue: e(a).businessType,
515
- "onUpdate:modelValue": t[18] || (t[18] = (l) => e(a).businessType = l),
515
+ "onUpdate:modelValue": l[18] || (l[18] = (t) => e(a).businessType = t),
516
516
  label: "Type",
517
517
  placeholder: "Select business type",
518
518
  "label-mark": "required",
@@ -526,29 +526,29 @@ const oe = ["src"], B = /* @__PURE__ */ $({
526
526
  }, null, 8, ["modelValue", "rules"])
527
527
  ]),
528
528
  o("div", Pe, [
529
- n(p, {
529
+ s(p, {
530
530
  modelValue: e(a).businessRegNo,
531
- "onUpdate:modelValue": t[19] || (t[19] = (l) => e(a).businessRegNo = l),
531
+ "onUpdate:modelValue": l[19] || (l[19] = (t) => e(a).businessRegNo = t),
532
532
  label: "Registration No",
533
533
  placeholder: "Enter registration number",
534
534
  "label-mark": "required",
535
535
  rules: e(u)(e(d).string().min(1, "Reg No is required"))
536
536
  }, null, 8, ["modelValue", "rules"])
537
537
  ]),
538
- o("div", Re, [
539
- n(p, {
538
+ o("div", qe, [
539
+ s(p, {
540
540
  modelValue: e(a).tinNo,
541
- "onUpdate:modelValue": t[20] || (t[20] = (l) => e(a).tinNo = l),
541
+ "onUpdate:modelValue": l[20] || (l[20] = (t) => e(a).tinNo = t),
542
542
  label: "Tax Identification No (TIN)",
543
543
  placeholder: "Enter your TIN number",
544
544
  "label-mark": "required",
545
545
  rules: e(u)(e(d).string().min(1, "TIN is required"))
546
546
  }, null, 8, ["modelValue", "rules"])
547
547
  ]),
548
- o("div", qe, [
549
- n(p, {
548
+ o("div", Re, [
549
+ s(p, {
550
550
  modelValue: e(a).sstNo,
551
- "onUpdate:modelValue": t[21] || (t[21] = (l) => e(a).sstNo = l),
551
+ "onUpdate:modelValue": l[21] || (l[21] = (t) => e(a).sstNo = t),
552
552
  label: "SST Registration No (SST)",
553
553
  placeholder: "Enter your SST number",
554
554
  "label-mark": "required",
@@ -556,49 +556,49 @@ const oe = ["src"], B = /* @__PURE__ */ $({
556
556
  }, null, 8, ["modelValue", "rules"])
557
557
  ])
558
558
  ]),
559
- t[47] || (t[47] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information & Documents ", -1)),
559
+ l[47] || (l[47] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information & Documents ", -1)),
560
560
  o("div", xe, [
561
- n(H, {
561
+ s(H, {
562
562
  modelValue: e(a).bankName,
563
- "onUpdate:modelValue": t[22] || (t[22] = (l) => e(a).bankName = l),
563
+ "onUpdate:modelValue": l[22] || (l[22] = (t) => e(a).bankName = t),
564
564
  label: "Bank",
565
565
  placeholder: "Select bank type",
566
566
  "label-mark": "required",
567
567
  rules: e(u)(e(d).string().min(1, "Bank Type is required")),
568
568
  items: e(ee).bankNameOptions()
569
569
  }, null, 8, ["modelValue", "rules", "items"]),
570
- n(p, {
570
+ s(p, {
571
571
  modelValue: e(a).bankHolderName,
572
- "onUpdate:modelValue": t[23] || (t[23] = (l) => e(a).bankHolderName = l),
572
+ "onUpdate:modelValue": l[23] || (l[23] = (t) => e(a).bankHolderName = t),
573
573
  label: "Beneficiary Name",
574
574
  placeholder: "Enter Beneficiary Name",
575
575
  "label-mark": "required",
576
576
  rules: e(u)(e(d).string().min(1, "Beneficiary Name is required"))
577
577
  }, null, 8, ["modelValue", "rules"]),
578
- n(p, {
578
+ s(p, {
579
579
  modelValue: e(a).bankAccountNo,
580
- "onUpdate:modelValue": t[24] || (t[24] = (l) => e(a).bankAccountNo = l),
580
+ "onUpdate:modelValue": l[24] || (l[24] = (t) => e(a).bankAccountNo = t),
581
581
  label: "Account Number",
582
582
  placeholder: "Enter Account Number",
583
583
  "label-mark": "required",
584
584
  rules: e(u)(e(d).string().min(1, "Account Number is required"))
585
585
  }, null, 8, ["modelValue", "rules"]),
586
- n(B, {
586
+ s(B, {
587
587
  label: "Authorized Person ID",
588
588
  modelValue: e(r).authorizedPersonID,
589
- "onUpdate:modelValue": t[25] || (t[25] = (l) => e(r).authorizedPersonID = l),
589
+ "onUpdate:modelValue": l[25] || (l[25] = (t) => e(r).authorizedPersonID = t),
590
590
  type: "image"
591
591
  }, null, 8, ["modelValue"]),
592
- n(B, {
592
+ s(B, {
593
593
  label: "Outlet Photo",
594
594
  modelValue: e(r).outletPhoto,
595
- "onUpdate:modelValue": t[26] || (t[26] = (l) => e(r).outletPhoto = l),
595
+ "onUpdate:modelValue": l[26] || (l[26] = (t) => e(r).outletPhoto = t),
596
596
  type: "image"
597
597
  }, null, 8, ["modelValue"]),
598
- n(B, {
598
+ s(B, {
599
599
  label: "Latest Bank Statement",
600
600
  modelValue: e(r).bankStatement,
601
- "onUpdate:modelValue": t[27] || (t[27] = (l) => e(r).bankStatement = l),
601
+ "onUpdate:modelValue": l[27] || (l[27] = (t) => e(r).bankStatement = t),
602
602
  type: "pdf"
603
603
  }, null, 8, ["modelValue"]),
604
604
  e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (y(), j(B, {
@@ -606,28 +606,28 @@ const oe = ["src"], B = /* @__PURE__ */ $({
606
606
  label: "Superform",
607
607
  type: "pdf",
608
608
  modelValue: e(r).certificate,
609
- "onUpdate:modelValue": t[28] || (t[28] = (l) => e(r).certificate = l)
609
+ "onUpdate:modelValue": l[28] || (l[28] = (t) => e(r).certificate = t)
610
610
  }, null, 8, ["modelValue"])) : I("", !0),
611
611
  e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (y(), j(B, {
612
612
  key: 1,
613
613
  label: "SSM Certificate & Info",
614
614
  type: "pdf",
615
615
  modelValue: e(r).certificate,
616
- "onUpdate:modelValue": t[29] || (t[29] = (l) => e(r).certificate = l)
616
+ "onUpdate:modelValue": l[29] || (l[29] = (t) => e(r).certificate = t)
617
617
  }, null, 8, ["modelValue"])) : I("", !0)
618
618
  ]),
619
- t[48] || (t[48] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
619
+ l[48] || (l[48] = o("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
620
620
  o("div", Ue, [
621
- n(ie, {
621
+ s(ie, {
622
622
  modelValue: e(r).signature,
623
- "onUpdate:modelValue": t[30] || (t[30] = (l) => e(r).signature = l),
623
+ "onUpdate:modelValue": l[30] || (l[30] = (t) => e(r).signature = t),
624
624
  label: "Signature"
625
625
  }, null, 8, ["modelValue"]),
626
- n(B, {
626
+ s(B, {
627
627
  label: "Company Stamp",
628
628
  type: "image",
629
629
  modelValue: e(r).companyStamp,
630
- "onUpdate:modelValue": t[31] || (t[31] = (l) => e(r).companyStamp = l)
630
+ "onUpdate:modelValue": l[31] || (l[31] = (t) => e(r).companyStamp = t)
631
631
  }, null, 8, ["modelValue"])
632
632
  ])
633
633
  ]),
@@ -647,14 +647,14 @@ const oe = ["src"], B = /* @__PURE__ */ $({
647
647
  required: !0
648
648
  }
649
649
  },
650
- setup(q) {
651
- const { startAsyncCall: x, isLoading: V } = M(), b = J(), k = q, N = Z(), m = P(null);
652
- W(() => {
650
+ setup(R) {
651
+ const { startAsyncCall: x, isLoading: V } = M(), b = J(), k = R, S = h(), m = P(null);
652
+ X(() => {
653
653
  x(async () => {
654
654
  m.value = await T.readById(k.submissionId);
655
655
  });
656
656
  });
657
- const S = O(() => {
657
+ const F = O(() => {
658
658
  if (!m.value) return null;
659
659
  switch (m.value.type) {
660
660
  case "softspace":
@@ -667,7 +667,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
667
667
  m.value = i, a.value = Date.now();
668
668
  }
669
669
  const C = async (i) => {
670
- var g, F;
670
+ var g, w;
671
671
  if (m.value)
672
672
  switch (i) {
673
673
  case "preview":
@@ -679,11 +679,11 @@ const oe = ["src"], B = /* @__PURE__ */ $({
679
679
  }), await T.previewDocument(
680
680
  (g = m.value) == null ? void 0 : g._id
681
681
  );
682
- } catch (s) {
682
+ } catch (n) {
683
683
  b.open({
684
684
  type: "error",
685
685
  title: "Error occurs when generating submission document",
686
- message: A(s)
686
+ message: A(n)
687
687
  });
688
688
  } finally {
689
689
  v && b.close(v);
@@ -695,32 +695,32 @@ const oe = ["src"], B = /* @__PURE__ */ $({
695
695
  message: "Sending onboarding document...",
696
696
  type: "info"
697
697
  }), await T.sendDocument(
698
- (F = m.value) == null ? void 0 : F._id
698
+ (w = m.value) == null ? void 0 : w._id
699
699
  ), b.open({
700
700
  type: "success",
701
701
  title: "Submission documents send successfully"
702
702
  });
703
- } catch (s) {
703
+ } catch (n) {
704
704
  b.open({
705
705
  type: "error",
706
706
  title: "Error occurs when sending document",
707
- message: A(s)
707
+ message: A(n)
708
708
  });
709
709
  }
710
710
  break;
711
711
  }
712
712
  };
713
713
  return (i, g) => {
714
- var s, U;
715
- const F = f("FmCircularProgress"), v = f("FmPageHead");
716
- return e(V) ? (y(), R("div", Ee, [
717
- n(F, { size: "xxl" })
718
- ])) : (y(), R(z, { key: 1 }, [
719
- n(v, {
720
- title: `Submission - ${(s = m.value) == null ? void 0 : s.type}`,
714
+ var n, U;
715
+ const w = f("FmCircularProgress"), v = f("FmPageHead");
716
+ return e(V) ? (y(), q("div", Ee, [
717
+ s(w, { size: "xxl" })
718
+ ])) : (y(), q(z, { key: 1 }, [
719
+ s(v, {
720
+ title: `Submission - ${(n = m.value) == null ? void 0 : n.type}`,
721
721
  description: `ID - ${(U = m.value) == null ? void 0 : U._id}`,
722
722
  "back-button": !0,
723
- "onClick:back": g[0] || (g[0] = () => e(N).back()),
723
+ "onClick:back": g[0] || (g[0] = () => e(S).back()),
724
724
  "onClick:action": C,
725
725
  actions: [
726
726
  {
@@ -737,7 +737,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
737
737
  ]
738
738
  }, null, 8, ["title", "description"]),
739
739
  o("div", Ie, [
740
- (y(), j(X(S.value), {
740
+ (y(), j(Z(F.value), {
741
741
  key: a.value,
742
742
  submission: m.value,
743
743
  "onUpdate:submission": r