@feedmepos/mf-payment 1.10.4-dev → 1.10.6-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.
Files changed (89) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-DWEzAvsz.js → Actions.vue_vue_type_script_setup_true_lang-ATn3Tlcj.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CZdQwUHi.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-D9hJtlmx.js} +3 -3
  3. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-BHNukQgp.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DYSvmA3k.js} +2 -2
  4. package/dist/{Chargeback-DX6btYQD.js → Chargeback-DY1lpPba.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-D1U0GGBL.js → DocumentViewer.vue_vue_type_script_setup_true_lang-Db0KxLSo.js} +1 -1
  6. package/dist/{ExternalTerminal-BQRUDzIN.js → ExternalTerminal-DEaWdTTK.js} +6 -6
  7. package/dist/{OnboardForm-BMljWq6i.js → OnboardForm-CNpruJP8.js} +6 -6
  8. package/dist/{OnboardForm-BJn0vnaI.js → OnboardForm-jArObBrH.js} +296 -285
  9. package/dist/{OnboardSubmission-CbEIskW_.js → OnboardSubmission-DHhqzyc9.js} +3 -3
  10. package/dist/{OnboardSubmission-B3uhuuS0.js → OnboardSubmission-o6Pm5NTr.js} +6 -6
  11. package/dist/{PayoutAccount-DrHmix7L.js → PayoutAccount-DSoPmV57.js} +7 -7
  12. package/dist/{PayoutAccount-lK6S8iFC.js → PayoutAccount-DuvsXvJs.js} +5 -5
  13. package/dist/{PayoutAccountSetting-Y0UjGXB_.js → PayoutAccountSetting-e19ax2vk.js} +722 -715
  14. package/dist/{Restaurant-DIxJpmSI.js → Restaurant-CCEJBvxb.js} +4 -4
  15. package/dist/{RestaurantSetting-8WT3PwCq.js → RestaurantSetting-CheSyHkb.js} +3 -3
  16. package/dist/{Settlement-DCIg5lYX.js → Settlement-3DbkvPBv.js} +4 -4
  17. package/dist/{Settlement-qtUt-fV7.js → Settlement-dRrhA56K.js} +3 -3
  18. package/dist/{SettlementTransactions-CrtEN8Qk.js → SettlementTransactions-B-Wmfaib.js} +5 -5
  19. package/dist/{SettlementTransactions-CHC53bzQ.js → SettlementTransactions-C7iNdEk6.js} +5 -5
  20. package/dist/{Status.vue_vue_type_script_setup_true_lang-Bgtawcmv.js → Status.vue_vue_type_script_setup_true_lang-DLH4nADh.js} +1 -1
  21. package/dist/{Terminal-C_wDQsYu.js → Terminal-BpL4cbOU.js} +6 -6
  22. package/dist/{TerminalSetting-leYySvWx.js → TerminalSetting-BbrAd4hL.js} +6 -6
  23. package/dist/{Transaction-BvZ3sQKk.js → Transaction-AaxwllI6.js} +10 -10
  24. package/dist/{Transaction-PkfDY_22.js → Transaction-DwqOmYbT.js} +11 -11
  25. package/dist/{TransactionOld-DZfYgD-J.js → TransactionOld-odjyhbxH.js} +7 -7
  26. package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-2JjmRrBE.js → TransactionStatus.vue_vue_type_script_setup_true_lang-CQZ8Z9h-.js} +1 -1
  27. package/dist/{app-BN99hFif.js → app-DwFwOy1b.js} +24 -24
  28. package/dist/app.js +1 -1
  29. package/dist/{assets-C__HD_rf.js → assets-NDLHbw8x.js} +1 -1
  30. package/dist/{grafana-B4tXE6aU.js → grafana-BoDtircI.js} +1 -1
  31. package/dist/{index-BVkRb_Qy.js → index-BpFNeku9.js} +1 -1
  32. package/dist/{index-CdJLIUK1.js → index-C77qYIZZ.js} +2 -1
  33. package/dist/{index-DmxOGKCp.js → index-CqMb7ApF.js} +1 -1
  34. package/dist/{index-CgL2TLW2.js → index-D1TFVU05.js} +1 -1
  35. package/dist/{index-Bku7iW7x.js → index-D8Y1-C5S.js} +1 -1
  36. package/dist/{index-CWO4ygXh.js → index-DMZJs3ZX.js} +1 -1
  37. package/dist/{index-Dfh5_ii8.js → index-Dk2HNPKO.js} +1 -1
  38. package/dist/{index-Bxzzp9Hp.js → index-DyfgcRmw.js} +1 -1
  39. package/dist/{index-BiC8s_0I.js → index-JPLrFuPE.js} +1 -1
  40. package/dist/{index-BJukJrqD.js → index-VAVCTmge.js} +2 -2
  41. package/dist/{index.vue_vue_type_script_setup_true_lang-B-BcbMgi.js → index.vue_vue_type_script_setup_true_lang-CsuYHoaF.js} +1 -1
  42. package/dist/model/payout-account.d.ts +2 -2
  43. package/dist/{onboard-submission-ClwLhJmC.js → onboard-submission-DQ4dLVBO.js} +1 -1
  44. package/dist/package.json +2 -2
  45. package/dist/{payout-account-DydUp6Qo.js → payout-account-CnLC1IAK.js} +3 -3
  46. package/dist/stores/payoutAccount.d.ts +16 -16
  47. package/dist/tsconfig.app.tsbuildinfo +1 -1
  48. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +12 -12
  49. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +12 -12
  50. package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +12 -12
  51. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +16 -16
  52. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +38 -38
  53. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +38 -38
  54. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
  55. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +16 -16
  56. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +38 -38
  57. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  58. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  59. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +32 -32
  60. package/dist/views/admin/terminal/TerminalSideSheet.vue.d.ts +18 -18
  61. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +18 -18
  62. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +18 -18
  63. package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +18 -18
  64. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +18 -18
  65. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +18 -18
  66. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +18 -18
  67. package/dist/views/admin/terminal/tabs/ecr/BeamGateway.vue.d.ts +18 -18
  68. package/dist/views/admin/terminal/tabs/ecr/BriGateway.vue.d.ts +18 -18
  69. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +18 -18
  70. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +18 -18
  71. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +18 -18
  72. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +18 -18
  73. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +18 -18
  74. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +18 -18
  75. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +18 -18
  76. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +18 -18
  77. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +18 -18
  78. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +18 -18
  79. package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +18 -18
  80. package/dist/views/admin/terminal/tabs/ecr/PbbGateway.vue.d.ts +18 -18
  81. package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +18 -18
  82. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +18 -18
  83. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +18 -18
  84. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +18 -18
  85. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
  86. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +80 -80
  87. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +40 -40
  88. package/dist/views/settlement/SettlementTable.vue.d.ts +32 -32
  89. package/package.json +2 -2
@@ -1,13 +1,13 @@
1
- import { defineComponent as X, ref as j, computed as z, resolveComponent as C, openBlock as d, createElementBlock as q, createElementVNode as a, toDisplayString as I, createBlock as U, withCtx as f, createCommentVNode as $, createVNode as n, unref as e, Fragment as K, renderList as G, createTextVNode as J, onMounted as Ve, resolveDynamicComponent as ve } from "vue";
2
- import { o as M } from "./index-BJukJrqD.js";
3
- import { u as ee, p as de } from "./index-CdJLIUK1.js";
1
+ import { defineComponent as X, ref as j, computed as z, resolveComponent as N, openBlock as d, createElementBlock as w, createElementVNode as a, toDisplayString as F, createBlock as D, withCtx as f, createCommentVNode as $, createVNode as n, unref as e, Fragment as K, renderList as G, createTextVNode as J, onMounted as Ve, resolveDynamicComponent as ve } from "vue";
2
+ import { o as M } from "./index-VAVCTmge.js";
3
+ import { u as ee, p as de } from "./index-C77qYIZZ.js";
4
4
  import { useRouter as fe } from "vue-router";
5
5
  import { z as i, a as u } from "./validator-CTlVogBQ.js";
6
- import { P as ke } from "./payout-account-DydUp6Qo.js";
7
- import { a as Ce } from "./onboard-submission-ClwLhJmC.js";
8
- import { _ as me } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-D1U0GGBL.js";
6
+ import { P as ke } from "./payout-account-CnLC1IAK.js";
7
+ import { a as Ce } from "./onboard-submission-DQ4dLVBO.js";
8
+ import { _ as me } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-Db0KxLSo.js";
9
9
  import { s as Ne } from "./vue-signature-pad.esm-IXPjf4fL.js";
10
- import { _ as pe } from "./Status.vue_vue_type_script_setup_true_lang-Bgtawcmv.js";
10
+ import { _ as pe } from "./Status.vue_vue_type_script_setup_true_lang-DLH4nADh.js";
11
11
  import { useSnackbar as oe } from "@feedmepos/ui-library";
12
12
  import { u as Q } from "./error-K1CakhA9.js";
13
13
  const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X({
@@ -20,51 +20,51 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
20
20
  },
21
21
  emits: ["update:modelValue"],
22
22
  setup(m, { emit: O }) {
23
- const c = m, k = j(c.modelValue), y = O, x = (r) => {
23
+ const c = m, k = j(c.modelValue), y = O, I = (r) => {
24
24
  const R = new FileReader();
25
25
  R.onload = (V) => {
26
- var D;
27
- k.value = (D = V.target) == null ? void 0 : D.result, y("update:modelValue", r);
26
+ var U;
27
+ k.value = (U = V.target) == null ? void 0 : U.result, y("update:modelValue", r);
28
28
  }, R.readAsDataURL(r);
29
29
  }, g = (r) => {
30
30
  window.open(r, "_blank", "noopener,noreferrer");
31
- }, T = z(() => c.type === "image" ? re : c.type === "pdf" ? ie : `${re}, ${ie}`), o = (r) => c.type === "pdf" ? !0 : c.type === "image" ? !1 : r === "application/pdf";
31
+ }, B = z(() => c.type === "image" ? re : c.type === "pdf" ? ie : `${re}, ${ie}`), o = (r) => c.type === "pdf" ? !0 : c.type === "image" ? !1 : r === "application/pdf";
32
32
  return (r, R) => {
33
- const V = C("FmButton"), D = C("FmDropField");
34
- return d(), q("div", null, [
35
- a("p", null, I(m.label), 1),
36
- k.value ? (d(), U(me, {
33
+ const V = N("FmButton"), U = N("FmDropField");
34
+ return d(), w("div", null, [
35
+ a("p", null, F(m.label), 1),
36
+ k.value ? (d(), D(me, {
37
37
  key: 0,
38
38
  document: k.value,
39
39
  "restaurant-id": m.restaurantId
40
40
  }, {
41
- default: f(({ src: F, type: w }) => [
42
- o(w) ? (d(), U(V, {
41
+ default: f(({ src: x, type: q }) => [
42
+ o(q) ? (d(), D(V, {
43
43
  key: 1,
44
44
  class: "mt-4 w-full",
45
45
  "prepend-icon": "manage_accounts",
46
46
  label: "View Document",
47
47
  variant: "primary",
48
- onVnodeMounted: () => g(F),
49
- onClick: () => g(F)
50
- }, null, 8, ["onVnodeMounted", "onClick"])) : (d(), q("img", {
48
+ onVnodeMounted: () => g(x),
49
+ onClick: () => g(x)
50
+ }, null, 8, ["onVnodeMounted", "onClick"])) : (d(), w("img", {
51
51
  key: 0,
52
- src: F
52
+ src: x
53
53
  }, null, 8, Se))
54
54
  ]),
55
55
  _: 1
56
- }, 8, ["document", "restaurant-id"])) : (d(), U(D, {
56
+ }, 8, ["document", "restaurant-id"])) : (d(), D(U, {
57
57
  key: 1,
58
- accept: T.value,
59
- onFileUpload: x
58
+ accept: B.value,
59
+ onFileUpload: I
60
60
  }, null, 8, ["accept"]))
61
61
  ]);
62
62
  };
63
63
  }
64
- }), Pe = ["src"], we = {
64
+ }), Pe = ["src"], qe = {
65
65
  key: 0,
66
66
  class: "text-center text-red-700 py-4"
67
- }, qe = { class: "flex justify-evenly py-3" }, xe = /* @__PURE__ */ X({
67
+ }, we = { class: "flex justify-evenly py-3" }, Ie = /* @__PURE__ */ X({
68
68
  __name: "SignatureBoard",
69
69
  props: {
70
70
  modelValue: {},
@@ -73,47 +73,47 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
73
73
  },
74
74
  emits: ["update:modelValue"],
75
75
  setup(m, { emit: O }) {
76
- const c = m, k = O, y = j(c.modelValue), x = j(!1), g = j(), T = j(!1);
76
+ const c = m, k = O, y = j(c.modelValue), I = j(!1), g = j(), B = j(!1);
77
77
  function o(R, V) {
78
78
  var E;
79
- const D = R.split(","), F = ((E = D[0].match(/:(.*?);/)) == null ? void 0 : E[1]) || "", w = atob(D[1]);
80
- let B = w.length;
81
- const p = new Uint8Array(B);
82
- for (; B--; )
83
- p[B] = w.charCodeAt(B);
84
- return new File([p], V, { type: F });
79
+ const U = R.split(","), x = ((E = U[0].match(/:(.*?);/)) == null ? void 0 : E[1]) || "", q = atob(U[1]);
80
+ let A = q.length;
81
+ const p = new Uint8Array(A);
82
+ for (; A--; )
83
+ p[A] = q.charCodeAt(A);
84
+ return new File([p], V, { type: x });
85
85
  }
86
86
  const r = function() {
87
87
  const { isEmpty: R, data: V } = g.value.saveSignature();
88
88
  if (R)
89
- return x.value = !0;
90
- y.value = V, T.value = !1, k("update:modelValue", o(V, "signature.png"));
89
+ return I.value = !0;
90
+ y.value = V, B.value = !1, k("update:modelValue", o(V, "signature.png"));
91
91
  };
92
92
  return (R, V) => {
93
- const D = C("FmButton"), F = C("FmDialog");
94
- return d(), q("div", null, [
95
- a("p", null, I(m.label), 1),
96
- y.value ? (d(), U(me, {
93
+ const U = N("FmButton"), x = N("FmDialog");
94
+ return d(), w("div", null, [
95
+ a("p", null, F(m.label), 1),
96
+ y.value ? (d(), D(me, {
97
97
  key: 0,
98
98
  document: y.value,
99
99
  "restaurant-id": m.restaurantId
100
100
  }, {
101
- default: f(({ src: w }) => [
101
+ default: f(({ src: q }) => [
102
102
  a("img", {
103
- src: w,
103
+ src: q,
104
104
  alt: "Signature Preview",
105
105
  class: "w-full h-auto"
106
106
  }, null, 8, Pe)
107
107
  ]),
108
108
  _: 1
109
109
  }, 8, ["document", "restaurant-id"])) : $("", !0),
110
- y.value ? $("", !0) : (d(), U(F, {
110
+ y.value ? $("", !0) : (d(), D(x, {
111
111
  key: 1,
112
- modelValue: T.value,
113
- "onUpdate:modelValue": V[1] || (V[1] = (w) => T.value = w)
112
+ modelValue: B.value,
113
+ "onUpdate:modelValue": V[1] || (V[1] = (q) => B.value = q)
114
114
  }, {
115
115
  "dialog-button": f(() => [
116
- n(D, {
116
+ n(U, {
117
117
  "prepend-icon": "signature",
118
118
  class: "w-full",
119
119
  label: "Signature"
@@ -130,15 +130,15 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
130
130
  customStyle: { border: "2px solid #ccc", borderRadius: "3px" },
131
131
  options: { penColor: "#000000" }
132
132
  }, null, 512),
133
- x.value ? (d(), q("p", we, " Please sign your signature before saving. ")) : $("", !0),
134
- a("div", qe, [
135
- n(D, {
133
+ I.value ? (d(), w("p", qe, " Please sign your signature before saving. ")) : $("", !0),
134
+ a("div", we, [
135
+ n(U, {
136
136
  variant: "destructive",
137
137
  label: "Clear",
138
138
  "prepend-icon": "delete",
139
- onClick: V[0] || (V[0] = (w) => g.value.clearSignature())
139
+ onClick: V[0] || (V[0] = (q) => g.value.clearSignature())
140
140
  }),
141
- n(D, {
141
+ n(U, {
142
142
  label: "Save",
143
143
  "prepend-icon": "save",
144
144
  onClick: r
@@ -150,16 +150,16 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
150
150
  ]);
151
151
  };
152
152
  }
153
- }), Fe = { class: "space-y-2" }, Ie = { class: "text-gray-900" }, Ue = { class: "text-gray-900" }, De = { class: "text-gray-900" }, Re = { class: "text-gray-900" }, Ae = { class: "text-gray-900" }, Te = { class: "text-gray-900" }, Be = { class: "grid grid-cols-4 gap-6" }, Ee = ["src"], $e = {
153
+ }), xe = { class: "space-y-2" }, Fe = { class: "text-gray-900" }, De = { class: "text-gray-900" }, Ue = { class: "text-gray-900" }, Re = { class: "text-gray-900" }, Ae = { class: "text-gray-900" }, Te = { class: "text-gray-900" }, Be = { class: "grid grid-cols-4 gap-6" }, Ee = ["src"], $e = {
154
154
  key: 1,
155
155
  class: "mt-2 truncate text-gray-700"
156
156
  }, je = { key: 0 }, Oe = {
157
157
  key: 0,
158
158
  class: "w-full flex justify-end mt-6"
159
- }, Le = { class: "mt-6 grid grid-cols-4 gap-24" }, ze = { class: "grid grid-cols-4 gap-6" }, Me = { class: "w-full flex justify-end mt-6" }, He = { class: "mt-6 grid grid-cols-4 gap-24" }, We = { class: "col-span-2" }, Je = { class: "col-span-2" }, Ke = { class: "col-span-2" }, Qe = { class: "col-span-2" }, Ye = { class: "col-span-2" }, he = { class: "col-span-2" }, Ge = { class: "col-span-2" }, Xe = { class: "col-start-1 col-span-2" }, Ze = { class: "col-span-2" }, _e = { class: "col-span-2" }, el = { class: "col-span-2" }, ll = { class: "mt-6 grid grid-cols-4 gap-6" }, tl = { class: "mt-6 grid grid-cols-4 gap-6" }, al = { class: "mt-6 grid grid-cols-4 gap-6" }, sl = { class: "mt-6 grid grid-cols-4 gap-6" }, ol = { class: "mt-6 grid grid-cols-4 gap-6" }, nl = { class: "mt-6 grid grid-cols-4 gap-6" }, rl = {
159
+ }, Le = { class: "mt-6 grid grid-cols-4 gap-24" }, ze = { class: "grid grid-cols-4 gap-6" }, Me = { class: "w-full flex justify-end mt-6" }, He = { class: "mt-6 grid grid-cols-4 gap-24" }, We = { class: "col-span-2" }, Je = { class: "col-span-2" }, Ke = { class: "col-span-2" }, Qe = { class: "col-span-2" }, Ye = { class: "col-span-2" }, he = { class: "col-span-2" }, Ge = { class: "col-span-2" }, Xe = { class: "col-span-2" }, Ze = { class: "col-start-1 col-span-2" }, _e = { class: "col-span-2" }, el = { class: "col-span-2" }, ll = { class: "col-span-2" }, tl = { class: "mt-6 grid grid-cols-4 gap-6" }, al = { class: "mt-6 grid grid-cols-4 gap-6" }, sl = { class: "mt-6 grid grid-cols-4 gap-6" }, ol = { class: "mt-6 grid grid-cols-4 gap-6" }, nl = { class: "mt-6 grid grid-cols-4 gap-6" }, rl = { class: "mt-6 grid grid-cols-4 gap-6" }, il = {
160
160
  key: 2,
161
161
  class: "text-sm text-gray-500"
162
- }, il = { class: "mt-6 grid grid-cols-2 gap-24" }, ue = 30, ul = /* @__PURE__ */ X({
162
+ }, ul = { class: "mt-6 grid grid-cols-2 gap-24" }, ue = 30, dl = /* @__PURE__ */ X({
163
163
  __name: "SoftspaceSubmission",
164
164
  props: {
165
165
  submission: {
@@ -170,7 +170,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
170
170
  emits: ["update:submission"],
171
171
  setup(m, { emit: O }) {
172
172
  var _;
173
- const c = m, k = O, y = oe(), x = j(!1), { isLoading: g, startAsyncCall: T } = ee(), { fields: o, documents: r, restaurantId: R, profile: V, status: D, statusReason: F } = c.submission, w = j(""), B = j(
173
+ const c = m, k = O, y = oe(), I = j(!1), { isLoading: g, startAsyncCall: B } = ee(), { fields: o, documents: r, restaurantId: R, profile: V, status: U, statusReason: x } = c.submission, q = j(""), A = j(
174
174
  parseInt(((_ = c.submission.fields) == null ? void 0 : _.numberOfDevices) ?? 1)
175
175
  ), p = j(
176
176
  c.submission.rates ? Object.fromEntries(
@@ -194,15 +194,15 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
194
194
  () => Object.keys(c.submission.documents).filter((b) => /^additionalDocument\d+$/.test(b)).sort((b, l) => Z(b) - Z(l))
195
195
  ), s = z(
196
196
  () => v.value.length + L.value.length
197
- ), N = (b) => {
197
+ ), S = (b) => {
198
198
  if (!(s.value >= ue)) {
199
199
  if (b.type.startsWith("image/")) {
200
200
  const l = new FileReader();
201
- l.onload = (A) => {
201
+ l.onload = (T) => {
202
202
  var H;
203
203
  return L.value.push({
204
204
  file: b,
205
- preview: String(((H = A.target) == null ? void 0 : H.result) ?? "")
205
+ preview: String(((H = T.target) == null ? void 0 : H.result) ?? "")
206
206
  });
207
207
  }, l.readAsDataURL(b);
208
208
  return;
@@ -212,16 +212,16 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
212
212
  }, h = () => te(async () => {
213
213
  try {
214
214
  let b = v.value.reduce(
215
- (A, H) => Math.max(A, Z(H)),
215
+ (T, H) => Math.max(T, Z(H)),
216
216
  0
217
217
  );
218
218
  const l = {};
219
- for (const { file: A } of L.value) {
219
+ for (const { file: T } of L.value) {
220
220
  const H = `additionalDocument${++b}`;
221
221
  l[H] = await M.uploadDocument(
222
222
  R,
223
223
  H,
224
- A
224
+ T
225
225
  );
226
226
  }
227
227
  k(
@@ -238,11 +238,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
238
238
  message: Q(b)
239
239
  });
240
240
  }
241
- }), ae = () => T(async () => {
241
+ }), ae = () => B(async () => {
242
242
  try {
243
243
  const b = await M.reviewById(
244
244
  c.submission._id,
245
245
  {
246
+ numberOfDevices: A.value.toString(),
246
247
  rates: {
247
248
  duitNow: parseFloat(p.value.duitNow),
248
249
  mydebitCard: parseFloat(p.value.mydebitCard),
@@ -255,7 +256,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
255
256
  status: "approved"
256
257
  }
257
258
  );
258
- k("update:submission", b), x.value = !1, y.open({
259
+ k("update:submission", b), I.value = !1, y.open({
259
260
  type: "success",
260
261
  title: "Submission updated successfully"
261
262
  });
@@ -266,16 +267,16 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
266
267
  message: Q(b)
267
268
  });
268
269
  }
269
- }), se = () => T(async () => {
270
+ }), se = () => B(async () => {
270
271
  try {
271
272
  const b = await M.reviewById(
272
273
  c.submission._id,
273
274
  {
274
275
  status: "rejected",
275
- statusReason: w.value
276
+ statusReason: q.value
276
277
  }
277
278
  );
278
- k("update:submission", b), x.value = !1, y.open({
279
+ k("update:submission", b), I.value = !1, y.open({
279
280
  type: "success",
280
281
  title: "Submission updated successfully"
281
282
  });
@@ -288,39 +289,39 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
288
289
  }
289
290
  });
290
291
  return (b, l) => {
291
- const A = C("FmButton"), H = C("FmDropField"), S = C("FmTextField"), be = C("FmTextarea"), ce = C("FmDialog"), ge = C("FmPhoneNumber"), ne = C("FmSelect"), ye = C("FmForm");
292
- return d(), q(K, null, [
293
- a("div", Fe, [
292
+ const T = N("FmButton"), H = N("FmDropField"), C = N("FmTextField"), be = N("FmTextarea"), ce = N("FmDialog"), ge = N("FmPhoneNumber"), ne = N("FmSelect"), ye = N("FmForm");
293
+ return d(), w(K, null, [
294
+ a("div", xe, [
294
295
  a("div", null, [
295
- l[37] || (l[37] = a("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
296
- a("span", Ie, I(e(R)), 1)
296
+ l[38] || (l[38] = a("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
297
+ a("span", Fe, F(e(R)), 1)
297
298
  ]),
298
299
  a("div", null, [
299
- l[38] || (l[38] = a("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
300
- a("span", Ue, I(e(V).name) + " ( " + I(e(V).legalName) + " )", 1)
300
+ l[39] || (l[39] = a("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
301
+ a("span", De, F(e(V).name) + " ( " + F(e(V).legalName) + " )", 1)
301
302
  ]),
302
303
  a("div", null, [
303
- l[39] || (l[39] = a("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
304
- a("span", De, I(e(V).email), 1)
304
+ l[40] || (l[40] = a("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
305
+ a("span", Ue, F(e(V).email), 1)
305
306
  ]),
306
307
  a("div", null, [
307
- l[40] || (l[40] = a("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
308
- a("span", Re, I(e(V).phoneNo), 1)
308
+ l[41] || (l[41] = a("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
309
+ a("span", Re, F(e(V).phoneNo), 1)
309
310
  ]),
310
311
  a("div", null, [
311
- l[41] || (l[41] = a("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
312
+ l[42] || (l[42] = a("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
312
313
  a("span", Ae, [
313
- n(pe, { data: e(D) }, null, 8, ["data"])
314
+ n(pe, { data: e(U) }, null, 8, ["data"])
314
315
  ])
315
316
  ]),
316
317
  a("div", null, [
317
- l[42] || (l[42] = a("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
318
- a("span", Te, I(e(F)), 1)
318
+ l[43] || (l[43] = a("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
319
+ a("span", Te, F(e(x)), 1)
319
320
  ])
320
321
  ]),
321
- l[60] || (l[60] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " (SharePoint) Additional Requested Documents ", -1)),
322
+ l[61] || (l[61] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " (SharePoint) Additional Requested Documents ", -1)),
322
323
  a("div", Be, [
323
- (d(!0), q(K, null, G(v.value, (t) => (d(), U(P, {
324
+ (d(!0), w(K, null, G(v.value, (t) => (d(), D(P, {
324
325
  key: t,
325
326
  label: t.replace("additionalDocument", "Document "),
326
327
  type: /\.pdf$/i.test(c.submission.documents[t]) ? "pdf" : "image",
@@ -328,33 +329,33 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
328
329
  "onUpdate:modelValue": (W) => c.submission.documents[t] = W,
329
330
  "restaurant-id": e(R)
330
331
  }, null, 8, ["label", "type", "modelValue", "onUpdate:modelValue", "restaurant-id"]))), 128)),
331
- (d(!0), q(K, null, G(L.value, (t, W) => (d(), q("div", {
332
+ (d(!0), w(K, null, G(L.value, (t, W) => (d(), w("div", {
332
333
  key: `new-${W}`
333
334
  }, [
334
- a("p", null, "Document " + I(v.value.length + W + 1), 1),
335
- t.file.type.startsWith("image/") ? (d(), q("img", {
335
+ a("p", null, "Document " + F(v.value.length + W + 1), 1),
336
+ t.file.type.startsWith("image/") ? (d(), w("img", {
336
337
  key: 0,
337
338
  src: t.preview,
338
339
  class: "mt-2 rounded border"
339
- }, null, 8, Ee)) : (d(), q("p", $e, I(t.file.name), 1)),
340
- n(A, {
340
+ }, null, 8, Ee)) : (d(), w("p", $e, F(t.file.name), 1)),
341
+ n(T, {
341
342
  class: "mt-4",
342
343
  "prepend-icon": "delete",
343
344
  label: "Remove",
344
345
  variant: "destructive",
345
- onClick: ($l) => L.value.splice(W, 1)
346
+ onClick: (jl) => L.value.splice(W, 1)
346
347
  }, null, 8, ["onClick"])
347
348
  ]))), 128)),
348
- s.value < ue ? (d(), q("div", je, [
349
- a("p", null, "Document " + I(s.value + 1), 1),
349
+ s.value < ue ? (d(), w("div", je, [
350
+ a("p", null, "Document " + F(s.value + 1), 1),
350
351
  n(H, {
351
352
  accept: ".png, .jpg, .jpeg, .pdf",
352
- onFileUpload: N
353
+ onFileUpload: S
353
354
  })
354
355
  ])) : $("", !0)
355
356
  ]),
356
- L.value.length ? (d(), q("div", Oe, [
357
- n(A, {
357
+ L.value.length ? (d(), w("div", Oe, [
358
+ n(T, {
358
359
  type: "button",
359
360
  variant: "primary",
360
361
  "prepend-icon": "cloud_upload",
@@ -363,9 +364,9 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
363
364
  onClick: h
364
365
  }, null, 8, ["loading"])
365
366
  ])) : $("", !0),
366
- l[61] || (l[61] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Rate Settings", -1)),
367
+ l[62] || (l[62] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Rate Settings", -1)),
367
368
  a("div", Le, [
368
- n(S, {
369
+ n(C, {
369
370
  modelValue: p.value.duitNow,
370
371
  "onUpdate:modelValue": l[0] || (l[0] = (t) => p.value.duitNow = t),
371
372
  label: "DuitNow QR",
@@ -377,12 +378,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
377
378
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
378
379
  )
379
380
  }, {
380
- append: f(() => [...l[43] || (l[43] = [
381
+ append: f(() => [...l[44] || (l[44] = [
381
382
  J("%", -1)
382
383
  ])]),
383
384
  _: 1
384
385
  }, 8, ["modelValue", "rules"]),
385
- n(S, {
386
+ n(C, {
386
387
  modelValue: p.value.mydebitCard,
387
388
  "onUpdate:modelValue": l[1] || (l[1] = (t) => p.value.mydebitCard = t),
388
389
  label: "myDebit Card",
@@ -394,12 +395,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
394
395
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
395
396
  )
396
397
  }, {
397
- append: f(() => [...l[44] || (l[44] = [
398
+ append: f(() => [...l[45] || (l[45] = [
398
399
  J("%", -1)
399
400
  ])]),
400
401
  _: 1
401
402
  }, 8, ["modelValue", "rules"]),
402
- n(S, {
403
+ n(C, {
403
404
  modelValue: p.value.localDebit,
404
405
  "onUpdate:modelValue": l[2] || (l[2] = (t) => p.value.localDebit = t),
405
406
  label: "Local Debit Card",
@@ -411,12 +412,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
411
412
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
412
413
  )
413
414
  }, {
414
- append: f(() => [...l[45] || (l[45] = [
415
+ append: f(() => [...l[46] || (l[46] = [
415
416
  J("%", -1)
416
417
  ])]),
417
418
  _: 1
418
419
  }, 8, ["modelValue", "rules"]),
419
- n(S, {
420
+ n(C, {
420
421
  modelValue: p.value.localCredit,
421
422
  "onUpdate:modelValue": l[3] || (l[3] = (t) => p.value.localCredit = t),
422
423
  label: "Local Credit Card",
@@ -428,12 +429,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
428
429
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
429
430
  )
430
431
  }, {
431
- append: f(() => [...l[46] || (l[46] = [
432
+ append: f(() => [...l[47] || (l[47] = [
432
433
  J("%", -1)
433
434
  ])]),
434
435
  _: 1
435
436
  }, 8, ["modelValue", "rules"]),
436
- n(S, {
437
+ n(C, {
437
438
  modelValue: p.value.foreignCard,
438
439
  "onUpdate:modelValue": l[4] || (l[4] = (t) => p.value.foreignCard = t),
439
440
  label: "Foreign Card",
@@ -445,12 +446,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
445
446
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
446
447
  )
447
448
  }, {
448
- append: f(() => [...l[47] || (l[47] = [
449
+ append: f(() => [...l[48] || (l[48] = [
449
450
  J("%", -1)
450
451
  ])]),
451
452
  _: 1
452
453
  }, 8, ["modelValue", "rules"]),
453
- n(S, {
454
+ n(C, {
454
455
  modelValue: p.value.jcbStandard,
455
456
  "onUpdate:modelValue": l[5] || (l[5] = (t) => p.value.jcbStandard = t),
456
457
  label: "JCB Standard",
@@ -462,12 +463,12 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
462
463
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
463
464
  )
464
465
  }, {
465
- append: f(() => [...l[48] || (l[48] = [
466
+ append: f(() => [...l[49] || (l[49] = [
466
467
  J("%", -1)
467
468
  ])]),
468
469
  _: 1
469
470
  }, 8, ["modelValue", "rules"]),
470
- n(S, {
471
+ n(C, {
471
472
  modelValue: p.value.jcbPlatinum,
472
473
  "onUpdate:modelValue": l[6] || (l[6] = (t) => p.value.jcbPlatinum = t),
473
474
  label: "JCB Platinum",
@@ -479,17 +480,17 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
479
480
  e(u).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
480
481
  )
481
482
  }, {
482
- append: f(() => [...l[49] || (l[49] = [
483
+ append: f(() => [...l[50] || (l[50] = [
483
484
  J("%", -1)
484
485
  ])]),
485
486
  _: 1
486
487
  }, 8, ["modelValue", "rules"])
487
488
  ]),
488
- l[62] || (l[62] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-6" }, "Extra Settings", -1)),
489
+ l[63] || (l[63] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-6" }, "Extra Settings", -1)),
489
490
  a("div", ze, [
490
- n(S, {
491
- modelValue: B.value,
492
- "onUpdate:modelValue": l[7] || (l[7] = (t) => B.value = t),
491
+ n(C, {
492
+ modelValue: A.value,
493
+ "onUpdate:modelValue": l[7] || (l[7] = (t) => A.value = t),
493
494
  label: "Number of Devices",
494
495
  "label-mark": "required",
495
496
  type: "number",
@@ -498,11 +499,11 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
498
499
  ]),
499
500
  a("div", Me, [
500
501
  n(ce, {
501
- modelValue: x.value,
502
- "onUpdate:modelValue": l[9] || (l[9] = (t) => x.value = t)
502
+ modelValue: I.value,
503
+ "onUpdate:modelValue": l[9] || (l[9] = (t) => I.value = t)
503
504
  }, {
504
505
  "dialog-button": f(() => [
505
- n(A, {
506
+ n(T, {
506
507
  class: "mr-6",
507
508
  type: "button",
508
509
  variant: "destructive",
@@ -511,18 +512,18 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
511
512
  label: "Reject Submission"
512
513
  }, null, 8, ["loading"])
513
514
  ]),
514
- "dialog-header": f(() => [...l[50] || (l[50] = [
515
+ "dialog-header": f(() => [...l[51] || (l[51] = [
515
516
  a("div", null, "Rejecting Submission", -1)
516
517
  ])]),
517
518
  default: f(() => [
518
519
  n(be, {
519
- modelValue: w.value,
520
- "onUpdate:modelValue": l[8] || (l[8] = (t) => w.value = t),
520
+ modelValue: q.value,
521
+ "onUpdate:modelValue": l[8] || (l[8] = (t) => q.value = t),
521
522
  label: "Reason for Rejection",
522
523
  "label-mark": "optional",
523
524
  "helper-text": "Please provide a reason for rejection."
524
525
  }, null, 8, ["modelValue"]),
525
- n(A, {
526
+ n(T, {
526
527
  class: "mb-2 mt-6 w-full",
527
528
  label: "Submit",
528
529
  "prepend-icon": "save",
@@ -532,7 +533,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
532
533
  ]),
533
534
  _: 1
534
535
  }, 8, ["modelValue"]),
535
- n(A, {
536
+ n(T, {
536
537
  type: "button",
537
538
  variant: "primary",
538
539
  "prepend-icon": "approval",
@@ -544,10 +545,10 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
544
545
  ]),
545
546
  n(ye, { disabled: !0 }, {
546
547
  default: f(() => [
547
- l[51] || (l[51] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
548
+ l[52] || (l[52] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
548
549
  a("div", He, [
549
550
  a("div", We, [
550
- n(S, {
551
+ n(C, {
551
552
  modelValue: e(o).picName,
552
553
  "onUpdate:modelValue": l[10] || (l[10] = (t) => e(o).picName = t),
553
554
  label: "Owner/Director Name",
@@ -557,7 +558,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
557
558
  }, null, 8, ["modelValue", "rules"])
558
559
  ]),
559
560
  a("div", Je, [
560
- n(S, {
561
+ n(C, {
561
562
  modelValue: e(o).picRole,
562
563
  "onUpdate:modelValue": l[11] || (l[11] = (t) => e(o).picRole = t),
563
564
  label: "Owner/Director Role",
@@ -567,7 +568,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
567
568
  }, null, 8, ["modelValue", "rules"])
568
569
  ]),
569
570
  a("div", Ke, [
570
- n(S, {
571
+ n(C, {
571
572
  modelValue: e(o).picEmail,
572
573
  "onUpdate:modelValue": l[12] || (l[12] = (t) => e(o).picEmail = t),
573
574
  label: "Owner/Director Email",
@@ -588,63 +589,73 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
588
589
  }, null, 8, ["model-value", "rules"])
589
590
  ]),
590
591
  a("div", Ye, [
591
- n(S, {
592
+ n(C, {
593
+ modelValue: e(o).nric,
594
+ "onUpdate:modelValue": l[14] || (l[14] = (t) => e(o).nric = t),
595
+ label: "Owner/Director NRIC No",
596
+ placeholder: "Enter your NRIC number",
597
+ "label-mark": "required",
598
+ rules: e(i)(e(u).string().min(1, "NRIC No is required"))
599
+ }, null, 8, ["modelValue", "rules"])
600
+ ]),
601
+ a("div", he, [
602
+ n(C, {
592
603
  modelValue: e(o).tradingName,
593
- "onUpdate:modelValue": l[14] || (l[14] = (t) => e(o).tradingName = t),
604
+ "onUpdate:modelValue": l[15] || (l[15] = (t) => e(o).tradingName = t),
594
605
  label: "Trading Name",
595
606
  placeholder: "Enter trading name",
596
607
  "label-mark": "required",
597
608
  rules: e(i)(e(u).string().min(1, "Trading Name is required"))
598
609
  }, null, 8, ["modelValue", "rules"])
599
610
  ]),
600
- a("div", he, [
601
- n(S, {
611
+ a("div", Ge, [
612
+ n(C, {
602
613
  modelValue: e(o).outletName,
603
- "onUpdate:modelValue": l[15] || (l[15] = (t) => e(o).outletName = t),
614
+ "onUpdate:modelValue": l[16] || (l[16] = (t) => e(o).outletName = t),
604
615
  label: "Registered Name",
605
616
  placeholder: "Enter registered name",
606
617
  "label-mark": "required",
607
618
  rules: e(i)(e(u).string().min(1, "Registered Name is required"))
608
619
  }, null, 8, ["modelValue", "rules"])
609
620
  ]),
610
- a("div", Ge, [
611
- n(S, {
621
+ a("div", Xe, [
622
+ n(C, {
612
623
  modelValue: e(o).outletAddress,
613
- "onUpdate:modelValue": l[16] || (l[16] = (t) => e(o).outletAddress = t),
624
+ "onUpdate:modelValue": l[17] || (l[17] = (t) => e(o).outletAddress = t),
614
625
  label: "Outlet Address",
615
626
  placeholder: "Enter outlet address",
616
627
  "label-mark": "required",
617
628
  rules: e(i)(e(u).string().min(1, "Address is required"))
618
629
  }, null, 8, ["modelValue", "rules"])
619
630
  ]),
620
- n(S, {
631
+ n(C, {
621
632
  modelValue: e(o).outletPostCode,
622
- "onUpdate:modelValue": l[17] || (l[17] = (t) => e(o).outletPostCode = t),
633
+ "onUpdate:modelValue": l[18] || (l[18] = (t) => e(o).outletPostCode = t),
623
634
  label: "Postal Code",
624
635
  placeholder: "Enter postal code",
625
636
  "label-mark": "required",
626
637
  rules: e(i)(e(u).string().min(1, "Postal Code is required"))
627
638
  }, null, 8, ["modelValue", "rules"]),
628
- n(S, {
639
+ n(C, {
629
640
  modelValue: e(o).outletState,
630
- "onUpdate:modelValue": l[18] || (l[18] = (t) => e(o).outletState = t),
641
+ "onUpdate:modelValue": l[19] || (l[19] = (t) => e(o).outletState = t),
631
642
  label: "State",
632
643
  placeholder: "Enter state",
633
644
  "label-mark": "required",
634
645
  rules: e(i)(e(u).string().min(1, "State is required"))
635
646
  }, null, 8, ["modelValue", "rules"]),
636
- n(S, {
647
+ n(C, {
637
648
  modelValue: e(o).outletCity,
638
- "onUpdate:modelValue": l[19] || (l[19] = (t) => e(o).outletCity = t),
649
+ "onUpdate:modelValue": l[20] || (l[20] = (t) => e(o).outletCity = t),
639
650
  label: "City",
640
651
  placeholder: "Enter city",
641
652
  "label-mark": "required",
642
653
  rules: e(i)(e(u).string().min(1, "City is required"))
643
654
  }, null, 8, ["modelValue", "rules"]),
644
- a("div", Xe, [
655
+ a("div", Ze, [
645
656
  n(ne, {
646
657
  modelValue: e(o).businessType,
647
- "onUpdate:modelValue": l[20] || (l[20] = (t) => e(o).businessType = t),
658
+ "onUpdate:modelValue": l[21] || (l[21] = (t) => e(o).businessType = t),
648
659
  label: "Type",
649
660
  placeholder: "Select business type",
650
661
  "label-mark": "required",
@@ -663,75 +674,75 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
663
674
  ]
664
675
  }, null, 8, ["modelValue", "rules"])
665
676
  ]),
666
- a("div", Ze, [
667
- n(S, {
677
+ a("div", _e, [
678
+ n(C, {
668
679
  modelValue: e(o).businessRegNo,
669
- "onUpdate:modelValue": l[21] || (l[21] = (t) => e(o).businessRegNo = t),
680
+ "onUpdate:modelValue": l[22] || (l[22] = (t) => e(o).businessRegNo = t),
670
681
  label: "Registration No",
671
682
  placeholder: "Enter registration number",
672
683
  "label-mark": "required",
673
684
  rules: e(i)(e(u).string().min(1, "Reg No is required"))
674
685
  }, null, 8, ["modelValue", "rules"])
675
686
  ]),
676
- a("div", _e, [
677
- n(S, {
687
+ a("div", el, [
688
+ n(C, {
678
689
  modelValue: e(o).tinNo,
679
- "onUpdate:modelValue": l[22] || (l[22] = (t) => e(o).tinNo = t),
690
+ "onUpdate:modelValue": l[23] || (l[23] = (t) => e(o).tinNo = t),
680
691
  label: "Tax Identification No (TIN)",
681
692
  placeholder: "Enter your TIN number",
682
693
  "label-mark": "required",
683
694
  rules: e(i)(e(u).string().min(1, "TIN is required"))
684
695
  }, null, 8, ["modelValue", "rules"])
685
696
  ]),
686
- a("div", el, [
687
- n(S, {
697
+ a("div", ll, [
698
+ n(C, {
688
699
  modelValue: e(o).sstNo,
689
- "onUpdate:modelValue": l[23] || (l[23] = (t) => e(o).sstNo = t),
700
+ "onUpdate:modelValue": l[24] || (l[24] = (t) => e(o).sstNo = t),
690
701
  label: "SST Registration No (SST)",
691
702
  placeholder: "Enter your SST number",
692
703
  "label-mark": "optional"
693
704
  }, null, 8, ["modelValue"])
694
705
  ])
695
706
  ]),
696
- l[52] || (l[52] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information ", -1)),
697
- a("div", ll, [
707
+ l[53] || (l[53] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information ", -1)),
708
+ a("div", tl, [
698
709
  n(ne, {
699
710
  modelValue: e(o).bankName,
700
- "onUpdate:modelValue": l[24] || (l[24] = (t) => e(o).bankName = t),
711
+ "onUpdate:modelValue": l[25] || (l[25] = (t) => e(o).bankName = t),
701
712
  label: "Bank",
702
713
  placeholder: "Select bank type",
703
714
  "label-mark": "required",
704
715
  rules: e(i)(e(u).string().min(1, "Bank Type is required")),
705
716
  items: e(ke).bankNameOptions()
706
717
  }, null, 8, ["modelValue", "rules", "items"]),
707
- n(S, {
718
+ n(C, {
708
719
  modelValue: e(o).bankHolderName,
709
- "onUpdate:modelValue": l[25] || (l[25] = (t) => e(o).bankHolderName = t),
720
+ "onUpdate:modelValue": l[26] || (l[26] = (t) => e(o).bankHolderName = t),
710
721
  label: "Beneficiary Name",
711
722
  placeholder: "Enter Beneficiary Name",
712
723
  "label-mark": "required",
713
724
  rules: e(i)(e(u).string().min(1, "Beneficiary Name is required"))
714
725
  }, null, 8, ["modelValue", "rules"]),
715
- n(S, {
726
+ n(C, {
716
727
  modelValue: e(o).bankAccountNo,
717
- "onUpdate:modelValue": l[26] || (l[26] = (t) => e(o).bankAccountNo = t),
728
+ "onUpdate:modelValue": l[27] || (l[27] = (t) => e(o).bankAccountNo = t),
718
729
  label: "Account Number",
719
730
  placeholder: "Enter Account Number",
720
731
  "label-mark": "required",
721
732
  rules: e(i)(e(u).string().min(1, "Account Number is required"))
722
733
  }, null, 8, ["modelValue", "rules"])
723
734
  ]),
724
- l[53] || (l[53] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Documents", -1)),
725
- l[54] || (l[54] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 1. All Directors/Owner ICs ", -1)),
726
- a("div", tl, [
735
+ l[54] || (l[54] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Documents", -1)),
736
+ l[55] || (l[55] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 1. All Directors/Owner ICs ", -1)),
737
+ a("div", al, [
727
738
  n(P, {
728
739
  label: "Authorized Person ID",
729
740
  modelValue: e(r).authorizedPersonID,
730
- "onUpdate:modelValue": l[27] || (l[27] = (t) => e(r).authorizedPersonID = t),
741
+ "onUpdate:modelValue": l[28] || (l[28] = (t) => e(r).authorizedPersonID = t),
731
742
  type: "image",
732
743
  "restaurant-id": m.submission.restaurantId
733
744
  }, null, 8, ["modelValue", "restaurant-id"]),
734
- (d(!0), q(K, null, G(Y.value, (t) => (d(), U(P, {
745
+ (d(!0), w(K, null, G(Y.value, (t) => (d(), D(P, {
735
746
  key: t,
736
747
  label: `Authorized Person ID ${t.replace("authorizedPersonID", "")}`,
737
748
  modelValue: e(r)[t],
@@ -740,55 +751,55 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
740
751
  "restaurant-id": m.submission.restaurantId
741
752
  }, null, 8, ["label", "modelValue", "onUpdate:modelValue", "restaurant-id"]))), 128))
742
753
  ]),
743
- l[55] || (l[55] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-6" }, " Section 2. Business Information ", -1)),
744
- a("div", al, [
745
- e(o).businessType === "private_limited" || e(o).businessType === "public_limited" ? (d(), U(P, {
754
+ l[56] || (l[56] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-6" }, " Section 2. Business Information ", -1)),
755
+ a("div", sl, [
756
+ e(o).businessType === "private_limited" || e(o).businessType === "public_limited" ? (d(), D(P, {
746
757
  key: 0,
747
758
  label: "Superform",
748
759
  type: "pdf",
749
760
  modelValue: e(r).certificate,
750
- "onUpdate:modelValue": l[28] || (l[28] = (t) => e(r).certificate = t),
761
+ "onUpdate:modelValue": l[29] || (l[29] = (t) => e(r).certificate = t),
751
762
  "restaurant-id": m.submission.restaurantId
752
763
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
753
- e(o).businessType === "sole_proprietorship" || e(o).businessType === "partnership" ? (d(), U(P, {
764
+ e(o).businessType === "sole_proprietorship" || e(o).businessType === "partnership" ? (d(), D(P, {
754
765
  key: 1,
755
766
  label: "Business Registration Document",
756
767
  type: "pdf",
757
768
  modelValue: e(r).certificate,
758
- "onUpdate:modelValue": l[29] || (l[29] = (t) => e(r).certificate = t),
769
+ "onUpdate:modelValue": l[30] || (l[30] = (t) => e(r).certificate = t),
759
770
  "restaurant-id": m.submission.restaurantId
760
771
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
761
- e(r).interiorPhoto ? (d(), U(P, {
772
+ e(r).interiorPhoto ? (d(), D(P, {
762
773
  key: 2,
763
774
  label: "Interior Photo",
764
775
  modelValue: e(r).interiorPhoto,
765
- "onUpdate:modelValue": l[30] || (l[30] = (t) => e(r).interiorPhoto = t),
776
+ "onUpdate:modelValue": l[31] || (l[31] = (t) => e(r).interiorPhoto = t),
766
777
  type: "image",
767
778
  "restaurant-id": m.submission.restaurantId
768
779
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
769
780
  n(P, {
770
781
  label: "Outlet Photo",
771
782
  modelValue: e(r).outletPhoto,
772
- "onUpdate:modelValue": l[31] || (l[31] = (t) => e(r).outletPhoto = t),
783
+ "onUpdate:modelValue": l[32] || (l[32] = (t) => e(r).outletPhoto = t),
773
784
  type: "image-or-pdf",
774
785
  "restaurant-id": m.submission.restaurantId
775
786
  }, null, 8, ["modelValue", "restaurant-id"])
776
787
  ]),
777
- l[56] || (l[56] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 3. Payout Information ", -1)),
778
- a("div", sl, [
788
+ l[57] || (l[57] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 3. Payout Information ", -1)),
789
+ a("div", ol, [
779
790
  n(P, {
780
791
  label: "Latest Bank Statement",
781
792
  modelValue: e(r).bankStatement,
782
- "onUpdate:modelValue": l[32] || (l[32] = (t) => e(r).bankStatement = t),
793
+ "onUpdate:modelValue": l[33] || (l[33] = (t) => e(r).bankStatement = t),
783
794
  type: "pdf",
784
795
  "restaurant-id": m.submission.restaurantId
785
796
  }, null, 8, ["modelValue", "restaurant-id"])
786
797
  ]),
787
- l[57] || (l[57] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 4. Site Photos ", -1)),
788
- a("div", ol, [
789
- (d(!0), q(K, null, G([1, 2, 3, 4, 5].filter(
798
+ l[58] || (l[58] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 4. Site Photos ", -1)),
799
+ a("div", nl, [
800
+ (d(!0), w(K, null, G([1, 2, 3, 4, 5].filter(
790
801
  (t) => !!e(r)[`onsitePhoto${t}`]
791
- ), (t) => (d(), U(P, {
802
+ ), (t) => (d(), D(P, {
792
803
  key: t,
793
804
  label: e(Ce)[t - 1],
794
805
  modelValue: e(r)[`onsitePhoto${t}`],
@@ -797,31 +808,31 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
797
808
  "restaurant-id": m.submission.restaurantId
798
809
  }, null, 8, ["label", "modelValue", "onUpdate:modelValue", "restaurant-id"]))), 128))
799
810
  ]),
800
- l[58] || (l[58] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 5. Additional Documents ", -1)),
801
- a("div", nl, [
802
- e(r).liquorLicense ? (d(), U(P, {
811
+ l[59] || (l[59] = a("h4", { class: "font-semibold border-b pb-1 mt-6 mb-4" }, " Section 5. Additional Documents ", -1)),
812
+ a("div", rl, [
813
+ e(r).liquorLicense ? (d(), D(P, {
803
814
  key: 0,
804
815
  label: "Liquor License",
805
816
  modelValue: e(r).liquorLicense,
806
- "onUpdate:modelValue": l[33] || (l[33] = (t) => e(r).liquorLicense = t),
817
+ "onUpdate:modelValue": l[34] || (l[34] = (t) => e(r).liquorLicense = t),
807
818
  type: "image-or-pdf",
808
819
  "restaurant-id": m.submission.restaurantId
809
820
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
810
- e(r).appendixC ? (d(), U(P, {
821
+ e(r).appendixC ? (d(), D(P, {
811
822
  key: 1,
812
823
  label: "Appendix C",
813
824
  modelValue: e(r).appendixC,
814
- "onUpdate:modelValue": l[34] || (l[34] = (t) => e(r).appendixC = t),
825
+ "onUpdate:modelValue": l[35] || (l[35] = (t) => e(r).appendixC = t),
815
826
  type: "pdf",
816
827
  "restaurant-id": m.submission.restaurantId
817
828
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
818
- !e(r).liquorLicense && !e(r).appendixC ? (d(), q("p", rl, " No additional documents submitted. ")) : $("", !0)
829
+ !e(r).liquorLicense && !e(r).appendixC ? (d(), w("p", il, " No additional documents submitted. ")) : $("", !0)
819
830
  ]),
820
- l[59] || (l[59] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
821
- a("div", il, [
822
- n(xe, {
831
+ l[60] || (l[60] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
832
+ a("div", ul, [
833
+ n(Ie, {
823
834
  modelValue: e(r).signature,
824
- "onUpdate:modelValue": l[35] || (l[35] = (t) => e(r).signature = t),
835
+ "onUpdate:modelValue": l[36] || (l[36] = (t) => e(r).signature = t),
825
836
  "restaurant-id": m.submission.restaurantId,
826
837
  label: "Signature"
827
838
  }, null, 8, ["modelValue", "restaurant-id"]),
@@ -829,7 +840,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
829
840
  label: "Company Stamp",
830
841
  type: "image",
831
842
  modelValue: e(r).companyStamp,
832
- "onUpdate:modelValue": l[36] || (l[36] = (t) => e(r).companyStamp = t),
843
+ "onUpdate:modelValue": l[37] || (l[37] = (t) => e(r).companyStamp = t),
833
844
  "restaurant-id": m.submission.restaurantId
834
845
  }, null, 8, ["modelValue", "restaurant-id"])
835
846
  ])
@@ -839,7 +850,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
839
850
  ], 64);
840
851
  };
841
852
  }
842
- }), dl = { class: "space-y-2" }, ml = { class: "text-gray-900" }, pl = { class: "text-gray-900" }, bl = { class: "text-gray-900" }, cl = { class: "text-gray-900" }, gl = { class: "text-gray-900" }, yl = { class: "text-gray-900" }, Vl = { class: "mt-6 grid grid-cols-4 gap-24" }, vl = { class: "w-full flex justify-end mt-6" }, fl = { class: "mt-6 grid grid-cols-4 gap-24" }, kl = { class: "col-span-2" }, Cl = { class: "col-span-2" }, Nl = { class: "col-span-2" }, Sl = { class: "col-span-2" }, Pl = { class: "mt-6 grid grid-cols-4 gap-24" }, wl = { class: "mt-6 grid grid-cols-4 gap-24" }, ql = { class: "mt-6 grid grid-cols-4 gap-24" }, xl = { class: "col-span-2" }, Fl = { class: "col-span-2" }, Il = { class: "col-span-2" }, Ul = { class: "col-span-2" }, Dl = { class: "col-span-2" }, Rl = { class: "col-span-2" }, Al = /* @__PURE__ */ X({
853
+ }), ml = { class: "space-y-2" }, pl = { class: "text-gray-900" }, bl = { class: "text-gray-900" }, cl = { class: "text-gray-900" }, gl = { class: "text-gray-900" }, yl = { class: "text-gray-900" }, Vl = { class: "text-gray-900" }, vl = { class: "mt-6 grid grid-cols-4 gap-24" }, fl = { class: "w-full flex justify-end mt-6" }, kl = { class: "mt-6 grid grid-cols-4 gap-24" }, Cl = { class: "col-span-2" }, Nl = { class: "col-span-2" }, Sl = { class: "col-span-2" }, Pl = { class: "col-span-2" }, ql = { class: "mt-6 grid grid-cols-4 gap-24" }, wl = { class: "mt-6 grid grid-cols-4 gap-24" }, Il = { class: "mt-6 grid grid-cols-4 gap-24" }, xl = { class: "col-span-2" }, Fl = { class: "col-span-2" }, Dl = { class: "col-span-2" }, Ul = { class: "col-span-2" }, Rl = { class: "col-span-2" }, Al = { class: "col-span-2" }, Tl = /* @__PURE__ */ X({
843
854
  __name: "NTTSubmission",
844
855
  props: {
845
856
  submission: {
@@ -849,7 +860,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
849
860
  },
850
861
  emits: ["update:submission"],
851
862
  setup(m, { emit: O }) {
852
- const c = m, k = O, y = oe(), x = j(!1), { isLoading: g, startAsyncCall: T } = ee(), { fields: o, documents: r, restaurantId: R, profile: V, status: D, statusReason: F } = c.submission, w = j(""), B = [
863
+ const c = m, k = O, y = oe(), I = j(!1), { isLoading: g, startAsyncCall: B } = ee(), { fields: o, documents: r, restaurantId: R, profile: V, status: U, statusReason: x } = c.submission, q = j(""), A = [
853
864
  { key: "localCardDebit", label: "Local Card (Debit)", defaultValue: "2.3" },
854
865
  {
855
866
  key: "localCardStandard",
@@ -882,14 +893,14 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
882
893
  { key: "linePay", label: "LinePay", defaultValue: "2.1" },
883
894
  { key: "thaiQr", label: "ThaiQR", defaultValue: "0.5" }
884
895
  ], p = Object.fromEntries(
885
- B.map((v) => [v.key, v.defaultValue])
896
+ A.map((v) => [v.key, v.defaultValue])
886
897
  ), E = j(
887
898
  c.submission.rates ? Object.fromEntries(
888
899
  Object.entries(c.submission.rates).map(([v, s]) => [v, `${s}`])
889
900
  ) : { ...p }
890
901
  ), Y = z(
891
902
  () => Object.values(E.value).every((v) => parseFloat(v) > 0)
892
- ), le = z(() => o.businessType === "juristic" ? "Juristic" : o.businessType === "individual" ? "Individual" : o.businessType || "-"), te = () => T(async () => {
903
+ ), le = z(() => o.businessType === "juristic" ? "Juristic" : o.businessType === "individual" ? "Individual" : o.businessType || "-"), te = () => B(async () => {
893
904
  try {
894
905
  const v = await M.reviewById(
895
906
  c.submission._id,
@@ -908,13 +919,13 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
908
919
  message: Q(v)
909
920
  });
910
921
  }
911
- }), L = () => T(async () => {
922
+ }), L = () => B(async () => {
912
923
  try {
913
924
  const v = await M.reviewById(
914
925
  c.submission._id,
915
926
  {
916
927
  rates: Object.fromEntries(
917
- B.map((s) => [
928
+ A.map((s) => [
918
929
  s.key,
919
930
  parseFloat(E.value[s.key])
920
931
  ])
@@ -933,16 +944,16 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
933
944
  message: Q(v)
934
945
  });
935
946
  }
936
- }), Z = () => T(async () => {
947
+ }), Z = () => B(async () => {
937
948
  try {
938
949
  const v = await M.reviewById(
939
950
  c.submission._id,
940
951
  {
941
952
  status: "rejected",
942
- statusReason: w.value
953
+ statusReason: q.value
943
954
  }
944
955
  );
945
- k("update:submission", v), x.value = !1, y.open({
956
+ k("update:submission", v), I.value = !1, y.open({
946
957
  type: "success",
947
958
  title: "Submission updated successfully"
948
959
  });
@@ -955,49 +966,49 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
955
966
  }
956
967
  });
957
968
  return (v, s) => {
958
- const N = C("FmTextField"), h = C("FmButton"), ae = C("FmTextarea"), se = C("FmDialog"), _ = C("FmPhoneNumber"), b = C("FmForm");
959
- return d(), q(K, null, [
960
- a("div", dl, [
969
+ const S = N("FmTextField"), h = N("FmButton"), ae = N("FmTextarea"), se = N("FmDialog"), _ = N("FmPhoneNumber"), b = N("FmForm");
970
+ return d(), w(K, null, [
971
+ a("div", ml, [
961
972
  a("div", null, [
962
973
  s[31] || (s[31] = a("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
963
- a("span", ml, I(e(R)), 1)
974
+ a("span", pl, F(e(R)), 1)
964
975
  ]),
965
976
  a("div", null, [
966
977
  s[32] || (s[32] = a("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
967
- a("span", pl, I(e(V).name) + " ( " + I(e(V).legalName) + " )", 1)
978
+ a("span", bl, F(e(V).name) + " ( " + F(e(V).legalName) + " )", 1)
968
979
  ]),
969
980
  a("div", null, [
970
981
  s[33] || (s[33] = a("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
971
- a("span", bl, I(e(V).email), 1)
982
+ a("span", cl, F(e(V).email), 1)
972
983
  ]),
973
984
  a("div", null, [
974
985
  s[34] || (s[34] = a("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
975
- a("span", cl, I(e(V).phoneNo), 1)
986
+ a("span", gl, F(e(V).phoneNo), 1)
976
987
  ]),
977
988
  a("div", null, [
978
989
  s[35] || (s[35] = a("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
979
- a("span", gl, [
980
- n(pe, { data: e(D) }, null, 8, ["data"])
990
+ a("span", yl, [
991
+ n(pe, { data: e(U) }, null, 8, ["data"])
981
992
  ])
982
993
  ]),
983
994
  a("div", null, [
984
995
  s[36] || (s[36] = a("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
985
- a("span", yl, I(e(F)), 1)
996
+ a("span", Vl, F(e(x)), 1)
986
997
  ])
987
998
  ]),
988
999
  s[43] || (s[43] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Rate Settings", -1)),
989
- a("div", Vl, [
990
- (d(), q(K, null, G(B, (l) => n(N, {
1000
+ a("div", vl, [
1001
+ (d(), w(K, null, G(A, (l) => n(S, {
991
1002
  key: l.key,
992
1003
  modelValue: E.value[l.key],
993
- "onUpdate:modelValue": (A) => E.value[l.key] = A,
1004
+ "onUpdate:modelValue": (T) => E.value[l.key] = T,
994
1005
  label: l.label,
995
1006
  "label-mark": "required",
996
1007
  type: "number",
997
1008
  inputmode: "numeric",
998
1009
  decimal: 2,
999
1010
  rules: e(i)(
1000
- e(u).string().min(1, "Rate is required").transform((A) => parseFloat(A)).refine((A) => !isNaN(A), { message: "Rate must be a number" })
1011
+ e(u).string().min(1, "Rate is required").transform((T) => parseFloat(T)).refine((T) => !isNaN(T), { message: "Rate must be a number" })
1001
1012
  )
1002
1013
  }, {
1003
1014
  append: f(() => [...s[37] || (s[37] = [
@@ -1006,10 +1017,10 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1006
1017
  _: 1
1007
1018
  }, 8, ["modelValue", "onUpdate:modelValue", "label", "rules"])), 64))
1008
1019
  ]),
1009
- a("div", vl, [
1020
+ a("div", fl, [
1010
1021
  n(se, {
1011
- modelValue: x.value,
1012
- "onUpdate:modelValue": s[1] || (s[1] = (l) => x.value = l)
1022
+ modelValue: I.value,
1023
+ "onUpdate:modelValue": s[1] || (s[1] = (l) => I.value = l)
1013
1024
  }, {
1014
1025
  "dialog-button": f(() => [
1015
1026
  n(h, {
@@ -1026,8 +1037,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1026
1037
  ])]),
1027
1038
  default: f(() => [
1028
1039
  n(ae, {
1029
- modelValue: w.value,
1030
- "onUpdate:modelValue": s[0] || (s[0] = (l) => w.value = l),
1040
+ modelValue: q.value,
1041
+ "onUpdate:modelValue": s[0] || (s[0] = (l) => q.value = l),
1031
1042
  label: "Reason for Rejection",
1032
1043
  "label-mark": "optional",
1033
1044
  "helper-text": "Please provide a reason for rejection."
@@ -1051,7 +1062,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1051
1062
  onClick: L,
1052
1063
  loading: e(g)
1053
1064
  }, null, 8, ["disabled", "loading"]),
1054
- e(D) === "approved" ? (d(), U(h, {
1065
+ e(U) === "approved" ? (d(), D(h, {
1055
1066
  key: 0,
1056
1067
  type: "button",
1057
1068
  variant: "secondary",
@@ -1065,9 +1076,9 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1065
1076
  n(b, { disabled: !0 }, {
1066
1077
  default: f(() => [
1067
1078
  s[39] || (s[39] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
1068
- a("div", fl, [
1069
- a("div", kl, [
1070
- n(N, {
1079
+ a("div", kl, [
1080
+ a("div", Cl, [
1081
+ n(S, {
1071
1082
  modelValue: e(o).companyName,
1072
1083
  "onUpdate:modelValue": s[2] || (s[2] = (l) => e(o).companyName = l),
1073
1084
  label: "Company Name",
@@ -1075,8 +1086,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1075
1086
  rules: e(i)(e(u).string().min(1, "Company Name is required"))
1076
1087
  }, null, 8, ["modelValue", "rules"])
1077
1088
  ]),
1078
- a("div", Cl, [
1079
- n(N, {
1089
+ a("div", Nl, [
1090
+ n(S, {
1080
1091
  modelValue: e(o).outletName,
1081
1092
  "onUpdate:modelValue": s[3] || (s[3] = (l) => e(o).outletName = l),
1082
1093
  label: "Outlet Name (Thai)",
@@ -1084,8 +1095,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1084
1095
  rules: e(i)(e(u).string().min(1, "Outlet Name is required"))
1085
1096
  }, null, 8, ["modelValue", "rules"])
1086
1097
  ]),
1087
- a("div", Nl, [
1088
- n(N, {
1098
+ a("div", Sl, [
1099
+ n(S, {
1089
1100
  modelValue: e(o).outletNameEnglish,
1090
1101
  "onUpdate:modelValue": s[4] || (s[4] = (l) => e(o).outletNameEnglish = l),
1091
1102
  label: "Outlet Name (English)",
@@ -1093,8 +1104,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1093
1104
  rules: e(i)(e(u).string().min(1, "Outlet Name English is required"))
1094
1105
  }, null, 8, ["modelValue", "rules"])
1095
1106
  ]),
1096
- a("div", Sl, [
1097
- n(N, {
1107
+ a("div", Pl, [
1108
+ n(S, {
1098
1109
  modelValue: e(o).outletAddress,
1099
1110
  "onUpdate:modelValue": s[5] || (s[5] = (l) => e(o).outletAddress = l),
1100
1111
  label: "Outlet Address",
@@ -1102,33 +1113,33 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1102
1113
  rules: e(i)(e(u).string().min(1, "Outlet Address is required"))
1103
1114
  }, null, 8, ["modelValue", "rules"])
1104
1115
  ]),
1105
- n(N, {
1116
+ n(S, {
1106
1117
  modelValue: e(o).outletPostCode,
1107
1118
  "onUpdate:modelValue": s[6] || (s[6] = (l) => e(o).outletPostCode = l),
1108
1119
  label: "Post Code",
1109
1120
  "label-mark": "required",
1110
1121
  rules: e(i)(e(u).string().min(1, "Post Code is required"))
1111
1122
  }, null, 8, ["modelValue", "rules"]),
1112
- n(N, {
1123
+ n(S, {
1113
1124
  modelValue: e(o).outletState,
1114
1125
  "onUpdate:modelValue": s[7] || (s[7] = (l) => e(o).outletState = l),
1115
1126
  label: "State",
1116
1127
  "label-mark": "required",
1117
1128
  rules: e(i)(e(u).string().min(1, "State is required"))
1118
1129
  }, null, 8, ["modelValue", "rules"]),
1119
- n(N, {
1130
+ n(S, {
1120
1131
  modelValue: e(o).outletCity,
1121
1132
  "onUpdate:modelValue": s[8] || (s[8] = (l) => e(o).outletCity = l),
1122
1133
  label: "City",
1123
1134
  "label-mark": "required",
1124
1135
  rules: e(i)(e(u).string().min(1, "City is required"))
1125
1136
  }, null, 8, ["modelValue", "rules"]),
1126
- n(N, {
1137
+ n(S, {
1127
1138
  "model-value": le.value,
1128
1139
  label: "Business Type",
1129
1140
  "label-mark": "required"
1130
1141
  }, null, 8, ["model-value"]),
1131
- n(N, {
1142
+ n(S, {
1132
1143
  modelValue: e(o).numberOfDevices,
1133
1144
  "onUpdate:modelValue": s[9] || (s[9] = (l) => e(o).numberOfDevices = l),
1134
1145
  label: "Number of Devices",
@@ -1136,36 +1147,36 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1136
1147
  }, null, 8, ["modelValue"])
1137
1148
  ]),
1138
1149
  s[40] || (s[40] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information ", -1)),
1139
- a("div", Pl, [
1140
- n(N, {
1150
+ a("div", ql, [
1151
+ n(S, {
1141
1152
  modelValue: e(o).bankName,
1142
1153
  "onUpdate:modelValue": s[10] || (s[10] = (l) => e(o).bankName = l),
1143
1154
  label: "Bank Name",
1144
1155
  "label-mark": "required",
1145
1156
  rules: e(i)(e(u).string().min(1, "Bank Name is required"))
1146
1157
  }, null, 8, ["modelValue", "rules"]),
1147
- n(N, {
1158
+ n(S, {
1148
1159
  modelValue: e(o).bankHolderName,
1149
1160
  "onUpdate:modelValue": s[11] || (s[11] = (l) => e(o).bankHolderName = l),
1150
1161
  label: "Bank Holder Name",
1151
1162
  "label-mark": "required",
1152
1163
  rules: e(i)(e(u).string().min(1, "Bank Holder Name is required"))
1153
1164
  }, null, 8, ["modelValue", "rules"]),
1154
- n(N, {
1165
+ n(S, {
1155
1166
  modelValue: e(o).bankAccountNo,
1156
1167
  "onUpdate:modelValue": s[12] || (s[12] = (l) => e(o).bankAccountNo = l),
1157
1168
  label: "Bank Account No",
1158
1169
  "label-mark": "required",
1159
1170
  rules: e(i)(e(u).string().min(1, "Bank Account No is required"))
1160
1171
  }, null, 8, ["modelValue", "rules"]),
1161
- n(N, {
1172
+ n(S, {
1162
1173
  modelValue: e(o).bankBranch,
1163
1174
  "onUpdate:modelValue": s[13] || (s[13] = (l) => e(o).bankBranch = l),
1164
1175
  label: "Bank Branch",
1165
1176
  "label-mark": "required",
1166
1177
  rules: e(i)(e(u).string().min(1, "Bank Branch is required"))
1167
1178
  }, null, 8, ["modelValue", "rules"]),
1168
- n(N, {
1179
+ n(S, {
1169
1180
  modelValue: e(o).bankBranchCode,
1170
1181
  "onUpdate:modelValue": s[14] || (s[14] = (l) => e(o).bankBranchCode = l),
1171
1182
  label: "Bank Branch Code",
@@ -1203,7 +1214,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1203
1214
  type: "pdf",
1204
1215
  "restaurant-id": m.submission.restaurantId
1205
1216
  }, null, 8, ["modelValue", "restaurant-id"]),
1206
- e(o).businessType === "juristic" ? (d(), U(P, {
1217
+ e(o).businessType === "juristic" ? (d(), D(P, {
1207
1218
  key: 0,
1208
1219
  label: "Company Certificate",
1209
1220
  type: "pdf",
@@ -1211,7 +1222,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1211
1222
  "onUpdate:modelValue": s[19] || (s[19] = (l) => e(r).companyCertificate = l),
1212
1223
  "restaurant-id": m.submission.restaurantId
1213
1224
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
1214
- e(o).businessType === "juristic" ? (d(), U(P, {
1225
+ e(o).businessType === "juristic" ? (d(), D(P, {
1215
1226
  key: 1,
1216
1227
  label: "VAT Certificate",
1217
1228
  type: "pdf",
@@ -1219,7 +1230,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1219
1230
  "onUpdate:modelValue": s[20] || (s[20] = (l) => e(r).vatCertificate = l),
1220
1231
  "restaurant-id": m.submission.restaurantId
1221
1232
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
1222
- e(o).businessType === "individual" ? (d(), U(P, {
1233
+ e(o).businessType === "individual" ? (d(), D(P, {
1223
1234
  key: 2,
1224
1235
  label: "Commercial Certificate",
1225
1236
  type: "pdf",
@@ -1229,9 +1240,9 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1229
1240
  }, null, 8, ["modelValue", "restaurant-id"])) : $("", !0)
1230
1241
  ]),
1231
1242
  s[42] || (s[42] = a("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
1232
- a("div", ql, [
1243
+ a("div", Il, [
1233
1244
  a("div", xl, [
1234
- n(N, {
1245
+ n(S, {
1235
1246
  modelValue: e(o).picName,
1236
1247
  "onUpdate:modelValue": s[22] || (s[22] = (l) => e(o).picName = l),
1237
1248
  label: "PIC Name",
@@ -1240,7 +1251,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1240
1251
  }, null, 8, ["modelValue", "rules"])
1241
1252
  ]),
1242
1253
  a("div", Fl, [
1243
- n(N, {
1254
+ n(S, {
1244
1255
  modelValue: e(o).picRole,
1245
1256
  "onUpdate:modelValue": s[23] || (s[23] = (l) => e(o).picRole = l),
1246
1257
  label: "PIC Role",
@@ -1248,8 +1259,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1248
1259
  rules: e(i)(e(u).string().min(1, "PIC Role is required"))
1249
1260
  }, null, 8, ["modelValue", "rules"])
1250
1261
  ]),
1251
- a("div", Il, [
1252
- n(N, {
1262
+ a("div", Dl, [
1263
+ n(S, {
1253
1264
  modelValue: e(o).picEmail,
1254
1265
  "onUpdate:modelValue": s[24] || (s[24] = (l) => e(o).picEmail = l),
1255
1266
  label: "PIC Email",
@@ -1267,8 +1278,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1267
1278
  rules: e(i)(e(u).string().min(1, "PIC Contact is required"))
1268
1279
  }, null, 8, ["model-value", "rules"])
1269
1280
  ]),
1270
- a("div", Dl, [
1271
- n(N, {
1281
+ a("div", Rl, [
1282
+ n(S, {
1272
1283
  modelValue: e(o).witnessName,
1273
1284
  "onUpdate:modelValue": s[26] || (s[26] = (l) => e(o).witnessName = l),
1274
1285
  label: "Witness Name",
@@ -1276,8 +1287,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1276
1287
  rules: e(i)(e(u).string().min(1, "Witness Name is required"))
1277
1288
  }, null, 8, ["modelValue", "rules"])
1278
1289
  ]),
1279
- a("div", Rl, [
1280
- n(N, {
1290
+ a("div", Al, [
1291
+ n(S, {
1281
1292
  modelValue: e(o).witnessRole,
1282
1293
  "onUpdate:modelValue": s[27] || (s[27] = (l) => e(o).witnessRole = l),
1283
1294
  label: "Witness Role",
@@ -1313,7 +1324,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1313
1324
  ], 64);
1314
1325
  };
1315
1326
  }
1316
- }), Tl = /* @__PURE__ */ X({
1327
+ }), Bl = /* @__PURE__ */ X({
1317
1328
  __name: "TyroSubmission",
1318
1329
  props: {
1319
1330
  submission: {
@@ -1324,7 +1335,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1324
1335
  emits: ["update:submission"],
1325
1336
  setup(m) {
1326
1337
  const O = m, c = z(() => {
1327
- const k = O.submission.fields || {}, y = (x) => k[x] || "N/A";
1338
+ const k = O.submission.fields || {}, y = (I) => k[I] || "N/A";
1328
1339
  return [
1329
1340
  {
1330
1341
  label: "Tyro POS Reference ID",
@@ -1345,27 +1356,27 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1345
1356
  ];
1346
1357
  });
1347
1358
  return (k, y) => {
1348
- const x = C("FmCardHeader"), g = C("FmCardSection"), T = C("FmCard");
1349
- return d(), U(T, {
1359
+ const I = N("FmCardHeader"), g = N("FmCardSection"), B = N("FmCard");
1360
+ return d(), D(B, {
1350
1361
  class: "max-w-3xl mt-8 p-6",
1351
1362
  variant: "elevated"
1352
1363
  }, {
1353
1364
  default: f(() => [
1354
1365
  n(g, { class: "flex flex-col gap-16 justify-between" }, {
1355
1366
  default: f(() => [
1356
- n(x, {
1367
+ n(I, {
1357
1368
  class: "p-0",
1358
1369
  title: "Tyro Authorisation",
1359
1370
  subtitle: ""
1360
1371
  }),
1361
1372
  n(g, { class: "p-0" }, {
1362
1373
  default: f(() => [
1363
- (d(!0), q(K, null, G(c.value, (o) => (d(), q("p", {
1374
+ (d(!0), w(K, null, G(c.value, (o) => (d(), w("p", {
1364
1375
  key: o.label,
1365
1376
  class: "text-sm text-gray-900 break-all mb-4 last:mb-0"
1366
1377
  }, [
1367
- a("b", null, I(o.label), 1),
1368
- J(": " + I(o.value), 1)
1378
+ a("b", null, F(o.label), 1),
1379
+ J(": " + F(o.value), 1)
1369
1380
  ]))), 128))
1370
1381
  ]),
1371
1382
  _: 1
@@ -1378,10 +1389,10 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1378
1389
  });
1379
1390
  };
1380
1391
  }
1381
- }), Bl = {
1392
+ }), El = {
1382
1393
  key: 0,
1383
1394
  class: "flex items-center justify-center min-h-[80vh]"
1384
- }, El = { class: "px-32 pb-32" }, Gl = /* @__PURE__ */ X({
1395
+ }, $l = { class: "px-32 pb-32" }, Xl = /* @__PURE__ */ X({
1385
1396
  __name: "OnboardForm",
1386
1397
  props: {
1387
1398
  submissionId: {
@@ -1390,17 +1401,17 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1390
1401
  }
1391
1402
  },
1392
1403
  setup(m) {
1393
- const { startAsyncCall: O, isLoading: c } = ee(), k = oe(), y = m, x = fe(), g = j(null), T = z(
1404
+ const { startAsyncCall: O, isLoading: c } = ee(), k = oe(), y = m, I = fe(), g = j(null), B = z(
1394
1405
  () => {
1395
- var F;
1396
- return ((F = g.value) == null ? void 0 : F.type) === de.FdoOnboardType.enum.tyro;
1406
+ var x;
1407
+ return ((x = g.value) == null ? void 0 : x.type) === de.FdoOnboardType.enum.tyro;
1397
1408
  }
1398
1409
  ), o = () => {
1399
1410
  if (window.history.length > 1) {
1400
- x.back();
1411
+ I.back();
1401
1412
  return;
1402
1413
  }
1403
- x.push({ name: "mf-payment-admin.onboard-submission" });
1414
+ I.push({ name: "mf-payment-admin.onboard-submission" });
1404
1415
  };
1405
1416
  Ve(() => {
1406
1417
  O(async () => {
@@ -1411,22 +1422,22 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1411
1422
  if (!g.value) return null;
1412
1423
  switch (g.value.type) {
1413
1424
  case "softspace":
1414
- return ul;
1425
+ return dl;
1415
1426
  case "ntt":
1416
- return Al;
1417
- case "tyro":
1418
1427
  return Tl;
1428
+ case "tyro":
1429
+ return Bl;
1419
1430
  default:
1420
1431
  return null;
1421
1432
  }
1422
1433
  }), R = j(0);
1423
- function V(F) {
1424
- g.value = F, R.value = Date.now();
1434
+ function V(x) {
1435
+ g.value = x, R.value = Date.now();
1425
1436
  }
1426
- const D = async (F) => {
1427
- var w, B;
1437
+ const U = async (x) => {
1438
+ var q, A;
1428
1439
  if (g.value)
1429
- switch (F) {
1440
+ switch (x) {
1430
1441
  case "preview":
1431
1442
  let p;
1432
1443
  try {
@@ -1434,7 +1445,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1434
1445
  message: "Generating preview document...",
1435
1446
  type: "info"
1436
1447
  }), await M.previewDocument(
1437
- (w = g.value) == null ? void 0 : w._id
1448
+ (q = g.value) == null ? void 0 : q._id
1438
1449
  );
1439
1450
  } catch (E) {
1440
1451
  k.open({
@@ -1452,7 +1463,7 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1452
1463
  message: "Sending onboarding document...",
1453
1464
  type: "info"
1454
1465
  }), await M.sendDocument(
1455
- (B = g.value) == null ? void 0 : B._id
1466
+ (A = g.value) == null ? void 0 : A._id
1456
1467
  ), k.open({
1457
1468
  type: "success",
1458
1469
  title: "Submission documents send successfully"
@@ -1467,19 +1478,19 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1467
1478
  break;
1468
1479
  }
1469
1480
  };
1470
- return (F, w) => {
1481
+ return (x, q) => {
1471
1482
  var E, Y;
1472
- const B = C("FmCircularProgress"), p = C("FmPageHead");
1473
- return e(c) ? (d(), q("div", Bl, [
1474
- n(B, { size: "xxl" })
1475
- ])) : (d(), q(K, { key: 1 }, [
1483
+ const A = N("FmCircularProgress"), p = N("FmPageHead");
1484
+ return e(c) ? (d(), w("div", El, [
1485
+ n(A, { size: "xxl" })
1486
+ ])) : (d(), w(K, { key: 1 }, [
1476
1487
  n(p, {
1477
1488
  title: `Submission - ${(E = g.value) == null ? void 0 : E.type}`,
1478
1489
  description: `ID - ${(Y = g.value) == null ? void 0 : Y._id}`,
1479
1490
  "back-button": !0,
1480
1491
  "onClick:back": o,
1481
- "onClick:action": D,
1482
- actions: T.value ? [] : [
1492
+ "onClick:action": U,
1493
+ actions: B.value ? [] : [
1483
1494
  {
1484
1495
  label: "Preview Document",
1485
1496
  value: "preview",
@@ -1493,8 +1504,8 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1493
1504
  }
1494
1505
  ]
1495
1506
  }, null, 8, ["title", "description", "actions"]),
1496
- a("div", El, [
1497
- (d(), U(ve(r.value), {
1507
+ a("div", $l, [
1508
+ (d(), D(ve(r.value), {
1498
1509
  key: R.value,
1499
1510
  submission: g.value,
1500
1511
  "onUpdate:submission": V
@@ -1505,5 +1516,5 @@ const Se = ["src"], re = ".png, .jpg, .jpeg", ie = ".pdf", P = /* @__PURE__ */ X
1505
1516
  }
1506
1517
  });
1507
1518
  export {
1508
- Gl as default
1519
+ Xl as default
1509
1520
  };