@feedmepos/mf-payment 1.7.20-dev → 1.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Actions.vue_vue_type_script_setup_true_lang-DIsaxbwq.js → Actions.vue_vue_type_script_setup_true_lang-CX1_lQSw.js} +1 -1
- package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-k8n02EsD.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-BeMe0eWN.js} +3 -3
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-BHhM1iTr.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DfYsAAaC.js} +2 -2
- package/dist/{Chargeback-D5GSAz8R.js → Chargeback-xwB_glv5.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DcnhF6ZR.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CrvzKQgC.js} +1 -1
- package/dist/{OnboardForm-BV8pty81.js → OnboardForm-DKhsjm3n.js} +199 -192
- package/dist/{OnboardForm-DgXsHzkT.js → OnboardForm-F2Qcvalp.js} +116 -116
- package/dist/{OnboardSubmission-D4VMYp5S.js → OnboardSubmission-0hfx_f8i.js} +3 -3
- package/dist/{OnboardSubmission-Dmp0SRgJ.js → OnboardSubmission-D2ebcVnG.js} +6 -6
- package/dist/{PayoutAccount-B7JR-Xfq.js → PayoutAccount-CIek2Qnh.js} +5 -5
- package/dist/{PayoutAccount-CLhPVMfM.js → PayoutAccount-Dw-_pf4z.js} +7 -7
- package/dist/{PayoutAccountSetting-Dk9EjE9I.js → PayoutAccountSetting-DSk8ZV9p.js} +6 -6
- package/dist/{Restaurant-DmTUlWEO.js → Restaurant-Bdike4SW.js} +4 -4
- package/dist/{RestaurantSetting-Bxmlhv1B.js → RestaurantSetting-DSDzRmgE.js} +3 -3
- package/dist/{Settlement-lhxgz-XH.js → Settlement-BEhvMZje.js} +4 -4
- package/dist/{Settlement-BaV2FYPZ.js → Settlement-Cw6JGHxU.js} +3 -3
- package/dist/{SettlementTransactions-BisVOkrF.js → SettlementTransactions-BlRbAo_K.js} +5 -5
- package/dist/{SettlementTransactions-ghbnNfB_.js → SettlementTransactions-yczyKInV.js} +23 -19
- package/dist/{Status.vue_vue_type_script_setup_true_lang-Qf0c8MTy.js → Status.vue_vue_type_script_setup_true_lang-sobv3LfF.js} +1 -1
- package/dist/{Terminal-0muJMA4c.js → Terminal-BwHi929R.js} +5 -5
- package/dist/{TerminalSetting-c2nPEMu9.js → TerminalSetting-ZA-ADJVD.js} +5 -5
- package/dist/{Transaction-BN5dWn9J.js → Transaction-BvvdK0go.js} +180 -175
- package/dist/{Transaction-BDprmXf5.js → Transaction-DqwB7HTI.js} +10 -10
- package/dist/{TransactionOld-BWlQdV2t.js → TransactionOld-B0fQrQ7W.js} +7 -7
- package/dist/TransactionStatus.vue_vue_type_script_setup_true_lang-KpyoB07o.js +90 -0
- package/dist/{app-CcAt9drb.js → app-v4m_QvHC.js} +355 -361
- package/dist/app.js +1 -1
- package/dist/{assets-BJc1BoVy.js → assets-xspGnWqt.js} +1 -1
- package/dist/{grafana-CIgq9UAr.js → grafana-By90eHTE.js} +1 -1
- package/dist/{index-DLFXt7nw.js → index-B-1dMDti.js} +1 -1
- package/dist/{index-vhoyKTN7.js → index-BO4m11-f.js} +1 -1
- package/dist/{index-DdoMxz3d.js → index-Bm1fndT6.js} +1 -1
- package/dist/{index-CNwBwTac.js → index-CMIKOUH0.js} +1 -1
- package/dist/{index-BzMH21qt.js → index-COhy5Sra.js} +1 -1
- package/dist/{index-9k1h4bB6.js → index-ClZtCkMC.js} +1 -1
- package/dist/{index-DhTaS0co.js → index-CnoeFPh3.js} +1 -1
- package/dist/{index-DLcuXAcB.js → index-D3G27Mr4.js} +2 -2
- package/dist/{index-oROQu9nF.js → index-DQ81tv1s.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CjVwzVhE.js → index.vue_vue_type_script_setup_true_lang-FjfVgwqj.js} +1 -1
- package/dist/model/transaction.d.ts +1 -0
- package/dist/{onboard-submission-BLWMIf12.js → onboard-submission-dp_mz2J_.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-M7TdqeaF.js → payout-account-Dz18wMnQ.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/transaction/cell/Gateway.vue.d.ts +1 -1
- package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +1 -0
- package/package.json +1 -1
- package/dist/TransactionStatus.vue_vue_type_script_setup_true_lang-BA8LuWC7.js +0 -89
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as $, computed as W, resolveComponent as C, openBlock as b, createElementBlock as
|
|
2
|
-
import { o as H } from "./index-
|
|
3
|
-
import { u as te, p as oe } from "./index-
|
|
1
|
+
import { defineComponent as Z, ref as $, computed as W, resolveComponent as C, openBlock as b, createElementBlock as P, createElementVNode as n, toDisplayString as U, createBlock as T, withCtx as f, createCommentVNode as A, createVNode as r, unref as e, Fragment as J, renderList as le, createTextVNode as z, onMounted as pe, resolveDynamicComponent as be } from "vue";
|
|
2
|
+
import { o as H } from "./index-D3G27Mr4.js";
|
|
3
|
+
import { u as te, p as oe } from "./index-B-1dMDti.js";
|
|
4
4
|
import { useRouter as ce } from "vue-router";
|
|
5
5
|
import { z as u, a as d } from "./validator-CTlVogBQ.js";
|
|
6
|
-
import { P as ye } from "./payout-account-
|
|
7
|
-
import { _ as re } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { P as ye } from "./payout-account-Dz18wMnQ.js";
|
|
7
|
+
import { _ as re } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-CrvzKQgC.js";
|
|
8
8
|
import { s as ge } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
9
|
-
import { _ as ie } from "./Status.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ie } from "./Status.vue_vue_type_script_setup_true_lang-sobv3LfF.js";
|
|
10
10
|
import { useSnackbar as ae } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as Q } from "./error-K1CakhA9.js";
|
|
12
|
-
const Ve = ["src"],
|
|
12
|
+
const Ve = ["src"], F = /* @__PURE__ */ Z({
|
|
13
13
|
__name: "UploadButton",
|
|
14
14
|
props: {
|
|
15
15
|
modelValue: {},
|
|
@@ -19,44 +19,44 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
21
|
setup(m, { emit: O }) {
|
|
22
|
-
const v = m, k = $(v.modelValue), g = O,
|
|
22
|
+
const v = m, k = $(v.modelValue), g = O, w = (a) => {
|
|
23
23
|
const i = new FileReader();
|
|
24
|
-
i.onload = (
|
|
24
|
+
i.onload = (x) => {
|
|
25
25
|
var V;
|
|
26
|
-
k.value = (V =
|
|
26
|
+
k.value = (V = x.target) == null ? void 0 : V.result, g("update:modelValue", a);
|
|
27
27
|
}, i.readAsDataURL(a);
|
|
28
28
|
}, c = (a) => {
|
|
29
29
|
window.open(a, "_blank", "noopener,noreferrer");
|
|
30
30
|
}, R = W(() => v.type === "image" ? ".png, .jpg, .jpeg" : ".pdf");
|
|
31
31
|
return (a, i) => {
|
|
32
|
-
const
|
|
33
|
-
return b(),
|
|
34
|
-
n("p", null,
|
|
32
|
+
const x = C("FmButton"), V = C("FmDropField");
|
|
33
|
+
return b(), P("div", null, [
|
|
34
|
+
n("p", null, U(m.label), 1),
|
|
35
35
|
k.value ? (b(), T(re, {
|
|
36
36
|
key: 0,
|
|
37
37
|
document: k.value,
|
|
38
38
|
"restaurant-id": m.restaurantId
|
|
39
39
|
}, {
|
|
40
|
-
default: f(({ src:
|
|
41
|
-
m.type === "image" ? (b(),
|
|
40
|
+
default: f(({ src: I }) => [
|
|
41
|
+
m.type === "image" ? (b(), P("img", {
|
|
42
42
|
key: 0,
|
|
43
|
-
src:
|
|
43
|
+
src: I
|
|
44
44
|
}, null, 8, Ve)) : A("", !0),
|
|
45
|
-
m.type === "pdf" ? (b(), T(
|
|
45
|
+
m.type === "pdf" ? (b(), T(x, {
|
|
46
46
|
key: 1,
|
|
47
47
|
class: "mt-4 w-full",
|
|
48
48
|
"prepend-icon": "manage_accounts",
|
|
49
49
|
label: "View Document",
|
|
50
50
|
variant: "primary",
|
|
51
|
-
onVnodeMounted: () => c(
|
|
52
|
-
onClick: () => c(
|
|
51
|
+
onVnodeMounted: () => c(I),
|
|
52
|
+
onClick: () => c(I)
|
|
53
53
|
}, null, 8, ["onVnodeMounted", "onClick"])) : A("", !0)
|
|
54
54
|
]),
|
|
55
55
|
_: 1
|
|
56
56
|
}, 8, ["document", "restaurant-id"])) : (b(), T(V, {
|
|
57
57
|
key: 1,
|
|
58
58
|
accept: R.value,
|
|
59
|
-
onFileUpload:
|
|
59
|
+
onFileUpload: w
|
|
60
60
|
}, null, 8, ["accept"]))
|
|
61
61
|
]);
|
|
62
62
|
};
|
|
@@ -73,10 +73,10 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
73
73
|
},
|
|
74
74
|
emits: ["update:modelValue"],
|
|
75
75
|
setup(m, { emit: O }) {
|
|
76
|
-
const v = m, k = O, g = $(v.modelValue),
|
|
77
|
-
function a(
|
|
76
|
+
const v = m, k = O, g = $(v.modelValue), w = $(!1), c = $(), R = $(!1);
|
|
77
|
+
function a(x, V) {
|
|
78
78
|
var D;
|
|
79
|
-
const
|
|
79
|
+
const I = x.split(","), B = ((D = I[0].match(/:(.*?);/)) == null ? void 0 : D[1]) || "", q = atob(I[1]);
|
|
80
80
|
let p = q.length;
|
|
81
81
|
const E = new Uint8Array(p);
|
|
82
82
|
for (; p--; )
|
|
@@ -84,15 +84,15 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
84
84
|
return new File([E], V, { type: B });
|
|
85
85
|
}
|
|
86
86
|
const i = function() {
|
|
87
|
-
const { isEmpty:
|
|
88
|
-
if (
|
|
89
|
-
return
|
|
87
|
+
const { isEmpty: x, data: V } = c.value.saveSignature();
|
|
88
|
+
if (x)
|
|
89
|
+
return w.value = !0;
|
|
90
90
|
g.value = V, R.value = !1, k("update:modelValue", a(V, "signature.png"));
|
|
91
91
|
};
|
|
92
|
-
return (
|
|
93
|
-
const
|
|
94
|
-
return b(),
|
|
95
|
-
n("p", null,
|
|
92
|
+
return (x, V) => {
|
|
93
|
+
const I = C("FmButton"), B = C("FmDialog");
|
|
94
|
+
return b(), P("div", null, [
|
|
95
|
+
n("p", null, U(m.label), 1),
|
|
96
96
|
g.value ? (b(), T(re, {
|
|
97
97
|
key: 0,
|
|
98
98
|
document: g.value,
|
|
@@ -113,7 +113,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
113
113
|
"onUpdate:modelValue": V[1] || (V[1] = (q) => R.value = q)
|
|
114
114
|
}, {
|
|
115
115
|
"dialog-button": f(() => [
|
|
116
|
-
r(
|
|
116
|
+
r(I, {
|
|
117
117
|
"prepend-icon": "signature",
|
|
118
118
|
class: "w-full",
|
|
119
119
|
label: "Signature"
|
|
@@ -130,15 +130,15 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
130
130
|
customStyle: { border: "2px solid #ccc", borderRadius: "3px" },
|
|
131
131
|
options: { penColor: "#000000" }
|
|
132
132
|
}, null, 512),
|
|
133
|
-
|
|
133
|
+
w.value ? (b(), P("p", fe, " Please sign your signature before saving. ")) : A("", !0),
|
|
134
134
|
n("div", ke, [
|
|
135
|
-
r(
|
|
135
|
+
r(I, {
|
|
136
136
|
variant: "destructive",
|
|
137
137
|
label: "Clear",
|
|
138
138
|
"prepend-icon": "delete",
|
|
139
139
|
onClick: V[0] || (V[0] = (q) => c.value.clearSignature())
|
|
140
140
|
}),
|
|
141
|
-
r(
|
|
141
|
+
r(I, {
|
|
142
142
|
label: "Save",
|
|
143
143
|
"prepend-icon": "save",
|
|
144
144
|
onClick: i
|
|
@@ -150,7 +150,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
150
150
|
]);
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
}), Ne = { class: "space-y-2" }, Se = { class: "text-gray-900" },
|
|
153
|
+
}), Ne = { class: "space-y-2" }, Se = { class: "text-gray-900" }, we = { class: "text-gray-900" }, qe = { class: "text-gray-900" }, Fe = { class: "text-gray-900" }, Pe = { class: "text-gray-900" }, Ue = { class: "text-gray-900" }, xe = { class: "grid grid-cols-4 gap-6" }, Ie = ["src"], Re = {
|
|
154
154
|
key: 1,
|
|
155
155
|
class: "mt-2 truncate text-gray-700"
|
|
156
156
|
}, De = { key: 0 }, Te = {
|
|
@@ -166,7 +166,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
166
166
|
},
|
|
167
167
|
emits: ["update:submission"],
|
|
168
168
|
setup(m, { emit: O }) {
|
|
169
|
-
const v = m, k = O, g = ae(),
|
|
169
|
+
const v = m, k = O, g = ae(), w = $(!1), { isLoading: c, startAsyncCall: R } = te(), { fields: a, documents: i, restaurantId: x, profile: V, status: I, statusReason: B } = v.submission, q = $(""), p = $(
|
|
170
170
|
v.submission.rates ? Object.fromEntries(
|
|
171
171
|
Object.entries(v.submission.rates).map(([y, l]) => [y, `${l}`])
|
|
172
172
|
) : {
|
|
@@ -209,7 +209,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
209
209
|
for (const { file: j } of M.value) {
|
|
210
210
|
const L = `additionalDocument${++y}`;
|
|
211
211
|
l[L] = await H.uploadDocument(
|
|
212
|
-
|
|
212
|
+
x,
|
|
213
213
|
L,
|
|
214
214
|
j
|
|
215
215
|
);
|
|
@@ -245,7 +245,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
245
245
|
status: "approved"
|
|
246
246
|
}
|
|
247
247
|
);
|
|
248
|
-
k("update:submission", y),
|
|
248
|
+
k("update:submission", y), w.value = !1, g.open({
|
|
249
249
|
type: "success",
|
|
250
250
|
title: "Submission updated successfully"
|
|
251
251
|
});
|
|
@@ -265,7 +265,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
265
265
|
statusReason: q.value
|
|
266
266
|
}
|
|
267
267
|
);
|
|
268
|
-
k("update:submission", y),
|
|
268
|
+
k("update:submission", y), w.value = !1, g.open({
|
|
269
269
|
type: "success",
|
|
270
270
|
title: "Submission updated successfully"
|
|
271
271
|
});
|
|
@@ -279,71 +279,71 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
279
279
|
});
|
|
280
280
|
return (y, l) => {
|
|
281
281
|
const j = C("FmButton"), L = C("FmDropField"), o = C("FmTextField"), K = C("FmTextarea"), ue = C("FmDialog"), de = C("FmPhoneNumber"), se = C("FmSelect"), me = C("FmForm");
|
|
282
|
-
return b(),
|
|
282
|
+
return b(), P(J, null, [
|
|
283
283
|
n("div", Ne, [
|
|
284
284
|
n("div", null, [
|
|
285
285
|
l[34] || (l[34] = n("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
|
|
286
|
-
n("span", Se,
|
|
286
|
+
n("span", Se, U(e(x)), 1)
|
|
287
287
|
]),
|
|
288
288
|
n("div", null, [
|
|
289
289
|
l[35] || (l[35] = n("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
|
|
290
|
-
n("span",
|
|
290
|
+
n("span", we, U(e(V).name) + " ( " + U(e(V).legalName) + " )", 1)
|
|
291
291
|
]),
|
|
292
292
|
n("div", null, [
|
|
293
293
|
l[36] || (l[36] = n("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
|
|
294
|
-
n("span", qe,
|
|
294
|
+
n("span", qe, U(e(V).email), 1)
|
|
295
295
|
]),
|
|
296
296
|
n("div", null, [
|
|
297
297
|
l[37] || (l[37] = n("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
|
|
298
|
-
n("span",
|
|
298
|
+
n("span", Fe, U(e(V).phoneNo), 1)
|
|
299
299
|
]),
|
|
300
300
|
n("div", null, [
|
|
301
301
|
l[38] || (l[38] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
|
|
302
|
-
n("span",
|
|
303
|
-
r(ie, { data: e(
|
|
302
|
+
n("span", Pe, [
|
|
303
|
+
r(ie, { data: e(I) }, null, 8, ["data"])
|
|
304
304
|
])
|
|
305
305
|
]),
|
|
306
306
|
n("div", null, [
|
|
307
307
|
l[39] || (l[39] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
|
|
308
|
-
n("span",
|
|
308
|
+
n("span", Ue, U(e(B)), 1)
|
|
309
309
|
])
|
|
310
310
|
]),
|
|
311
311
|
l[51] || (l[51] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Additional Documents ", -1)),
|
|
312
|
-
n("div",
|
|
313
|
-
(b(!0),
|
|
312
|
+
n("div", xe, [
|
|
313
|
+
(b(!0), P(J, null, le(Y.value, (t) => (b(), T(F, {
|
|
314
314
|
key: t,
|
|
315
315
|
label: t.replace("additionalDocument", "Document "),
|
|
316
316
|
type: /\.pdf$/i.test(v.submission.documents[t]) ? "pdf" : "image",
|
|
317
317
|
modelValue: v.submission.documents[t],
|
|
318
318
|
"onUpdate:modelValue": (h) => v.submission.documents[t] = h,
|
|
319
|
-
"restaurant-id": e(
|
|
319
|
+
"restaurant-id": e(x)
|
|
320
320
|
}, null, 8, ["label", "type", "modelValue", "onUpdate:modelValue", "restaurant-id"]))), 128)),
|
|
321
|
-
(b(!0),
|
|
321
|
+
(b(!0), P(J, null, le(M.value, (t, h) => (b(), P("div", {
|
|
322
322
|
key: `new-${h}`
|
|
323
323
|
}, [
|
|
324
|
-
n("p", null, "Document " +
|
|
325
|
-
t.file.type.startsWith("image/") ? (b(),
|
|
324
|
+
n("p", null, "Document " + U(Y.value.length + h + 1), 1),
|
|
325
|
+
t.file.type.startsWith("image/") ? (b(), P("img", {
|
|
326
326
|
key: 0,
|
|
327
327
|
src: t.preview,
|
|
328
328
|
class: "mt-2 rounded border"
|
|
329
|
-
}, null, 8,
|
|
329
|
+
}, null, 8, Ie)) : (b(), P("p", Re, U(t.file.name), 1)),
|
|
330
330
|
r(j, {
|
|
331
331
|
class: "mt-4",
|
|
332
332
|
"prepend-icon": "delete",
|
|
333
333
|
label: "Remove",
|
|
334
334
|
variant: "destructive",
|
|
335
|
-
onClick: (
|
|
335
|
+
onClick: (wl) => M.value.splice(h, 1)
|
|
336
336
|
}, null, 8, ["onClick"])
|
|
337
337
|
]))), 128)),
|
|
338
|
-
ee.value < ne ? (b(),
|
|
339
|
-
n("p", null, "Document " +
|
|
338
|
+
ee.value < ne ? (b(), P("div", De, [
|
|
339
|
+
n("p", null, "Document " + U(ee.value + 1), 1),
|
|
340
340
|
r(L, {
|
|
341
341
|
accept: ".png, .jpg, .jpeg, .pdf",
|
|
342
342
|
onFileUpload: S
|
|
343
343
|
})
|
|
344
344
|
])) : A("", !0)
|
|
345
345
|
]),
|
|
346
|
-
M.value.length ? (b(),
|
|
346
|
+
M.value.length ? (b(), P("div", Te, [
|
|
347
347
|
r(j, {
|
|
348
348
|
type: "button",
|
|
349
349
|
variant: "primary",
|
|
@@ -477,8 +477,8 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
477
477
|
]),
|
|
478
478
|
n("div", Ae, [
|
|
479
479
|
r(ue, {
|
|
480
|
-
modelValue:
|
|
481
|
-
"onUpdate:modelValue": l[8] || (l[8] = (t) =>
|
|
480
|
+
modelValue: w.value,
|
|
481
|
+
"onUpdate:modelValue": l[8] || (l[8] = (t) => w.value = t)
|
|
482
482
|
}, {
|
|
483
483
|
"dialog-button": f(() => [
|
|
484
484
|
r(j, {
|
|
@@ -529,31 +529,31 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
529
529
|
r(o, {
|
|
530
530
|
modelValue: e(a).picName,
|
|
531
531
|
"onUpdate:modelValue": l[9] || (l[9] = (t) => e(a).picName = t),
|
|
532
|
-
label: "
|
|
532
|
+
label: "Owner/Director Name",
|
|
533
533
|
placeholder: "Enter your name",
|
|
534
534
|
"label-mark": "required",
|
|
535
|
-
rules: e(u)(e(d).string().min(1, "
|
|
535
|
+
rules: e(u)(e(d).string().min(1, "Owner/Director Name is required"))
|
|
536
536
|
}, null, 8, ["modelValue", "rules"])
|
|
537
537
|
]),
|
|
538
538
|
n("div", Ee, [
|
|
539
539
|
r(o, {
|
|
540
540
|
modelValue: e(a).picRole,
|
|
541
541
|
"onUpdate:modelValue": l[10] || (l[10] = (t) => e(a).picRole = t),
|
|
542
|
-
label: "
|
|
542
|
+
label: "Owner/Director Role",
|
|
543
543
|
placeholder: "Enter your role",
|
|
544
544
|
"label-mark": "required",
|
|
545
|
-
rules: e(u)(e(d).string().min(1, "
|
|
545
|
+
rules: e(u)(e(d).string().min(1, "Owner/Director Role is required"))
|
|
546
546
|
}, null, 8, ["modelValue", "rules"])
|
|
547
547
|
]),
|
|
548
548
|
n("div", Oe, [
|
|
549
549
|
r(o, {
|
|
550
550
|
modelValue: e(a).picEmail,
|
|
551
551
|
"onUpdate:modelValue": l[11] || (l[11] = (t) => e(a).picEmail = t),
|
|
552
|
-
label: "
|
|
552
|
+
label: "Owner/Director Email",
|
|
553
553
|
type: "email",
|
|
554
554
|
placeholder: "Enter your email address",
|
|
555
555
|
"label-mark": "required",
|
|
556
|
-
rules: e(u)(e(d).string().min(1, "
|
|
556
|
+
rules: e(u)(e(d).string().min(1, "Owner/Director Email is required"))
|
|
557
557
|
}, null, 8, ["modelValue", "rules"])
|
|
558
558
|
]),
|
|
559
559
|
n("div", Le, [
|
|
@@ -561,9 +561,9 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
561
561
|
"model-value": e(a).picContact,
|
|
562
562
|
"onUpdate:modelValue": l[12] || (l[12] = (t) => e(a).picContact = t),
|
|
563
563
|
"default-country": "MY",
|
|
564
|
-
label: "
|
|
564
|
+
label: "Owner/Director Contact",
|
|
565
565
|
"label-mark": "required",
|
|
566
|
-
rules: e(u)(e(d).string().min(1, "
|
|
566
|
+
rules: e(u)(e(d).string().min(1, "Owner/Director Contact is required"))
|
|
567
567
|
}, null, 8, ["model-value", "rules"])
|
|
568
568
|
]),
|
|
569
569
|
n("div", Me, [
|
|
@@ -699,23 +699,23 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
699
699
|
"label-mark": "required",
|
|
700
700
|
rules: e(u)(e(d).string().min(1, "Account Number is required"))
|
|
701
701
|
}, null, 8, ["modelValue", "rules"]),
|
|
702
|
-
r(
|
|
702
|
+
r(F, {
|
|
703
703
|
label: "Authorized Person ID",
|
|
704
704
|
modelValue: e(i).authorizedPersonID,
|
|
705
705
|
"onUpdate:modelValue": l[26] || (l[26] = (t) => e(i).authorizedPersonID = t),
|
|
706
706
|
type: "image",
|
|
707
707
|
"restaurant-id": m.submission.restaurantId
|
|
708
708
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
709
|
-
r(
|
|
709
|
+
r(F, {
|
|
710
710
|
label: "Outlet Photo",
|
|
711
711
|
modelValue: e(i).outletPhoto,
|
|
712
712
|
"onUpdate:modelValue": l[27] || (l[27] = (t) => e(i).outletPhoto = t),
|
|
713
713
|
type: "image",
|
|
714
714
|
"restaurant-id": m.submission.restaurantId
|
|
715
715
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
716
|
-
(b(!0),
|
|
716
|
+
(b(!0), P(J, null, le([1, 2, 3, 4, 5].filter(
|
|
717
717
|
(t) => !!e(i)[`onsitePhoto${t}`]
|
|
718
|
-
), (t) => (b(), T(
|
|
718
|
+
), (t) => (b(), T(F, {
|
|
719
719
|
key: t,
|
|
720
720
|
label: `Onsite Photo ${t}`,
|
|
721
721
|
modelValue: e(i)[`onsitePhoto${t}`],
|
|
@@ -723,7 +723,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
723
723
|
type: "image",
|
|
724
724
|
"restaurant-id": m.submission.restaurantId
|
|
725
725
|
}, null, 8, ["label", "modelValue", "onUpdate:modelValue", "restaurant-id"]))), 128)),
|
|
726
|
-
e(i).interiorPhoto ? (b(), T(
|
|
726
|
+
e(i).interiorPhoto ? (b(), T(F, {
|
|
727
727
|
key: 0,
|
|
728
728
|
label: "Interior Photo",
|
|
729
729
|
modelValue: e(i).interiorPhoto,
|
|
@@ -731,14 +731,14 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
731
731
|
type: "image",
|
|
732
732
|
"restaurant-id": m.submission.restaurantId
|
|
733
733
|
}, null, 8, ["modelValue", "restaurant-id"])) : A("", !0),
|
|
734
|
-
r(
|
|
734
|
+
r(F, {
|
|
735
735
|
label: "Latest Bank Statement",
|
|
736
736
|
modelValue: e(i).bankStatement,
|
|
737
737
|
"onUpdate:modelValue": l[29] || (l[29] = (t) => e(i).bankStatement = t),
|
|
738
738
|
type: "pdf",
|
|
739
739
|
"restaurant-id": m.submission.restaurantId
|
|
740
740
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
741
|
-
e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (b(), T(
|
|
741
|
+
e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (b(), T(F, {
|
|
742
742
|
key: 1,
|
|
743
743
|
label: "Superform",
|
|
744
744
|
type: "pdf",
|
|
@@ -746,7 +746,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
746
746
|
"onUpdate:modelValue": l[30] || (l[30] = (t) => e(i).certificate = t),
|
|
747
747
|
"restaurant-id": m.submission.restaurantId
|
|
748
748
|
}, null, 8, ["modelValue", "restaurant-id"])) : A("", !0),
|
|
749
|
-
e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (b(), T(
|
|
749
|
+
e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (b(), T(F, {
|
|
750
750
|
key: 2,
|
|
751
751
|
label: "SSM Certificate & Info",
|
|
752
752
|
type: "pdf",
|
|
@@ -763,7 +763,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
763
763
|
"restaurant-id": m.submission.restaurantId,
|
|
764
764
|
label: "Signature"
|
|
765
765
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
766
|
-
r(
|
|
766
|
+
r(F, {
|
|
767
767
|
label: "Company Stamp",
|
|
768
768
|
type: "image",
|
|
769
769
|
modelValue: e(i).companyStamp,
|
|
@@ -787,7 +787,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
787
787
|
},
|
|
788
788
|
emits: ["update:submission"],
|
|
789
789
|
setup(m, { emit: O }) {
|
|
790
|
-
const v = m, k = O, g = ae(),
|
|
790
|
+
const v = m, k = O, g = ae(), w = $(!1), { isLoading: c, startAsyncCall: R } = te(), { fields: a, documents: i, restaurantId: x, profile: V, status: I, statusReason: B } = v.submission, q = $(""), p = [
|
|
791
791
|
{ key: "localCardDebit", label: "Local Card (Debit)", defaultValue: "2.3" },
|
|
792
792
|
{
|
|
793
793
|
key: "localCardStandard",
|
|
@@ -880,7 +880,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
880
880
|
statusReason: q.value
|
|
881
881
|
}
|
|
882
882
|
);
|
|
883
|
-
k("update:submission", S),
|
|
883
|
+
k("update:submission", S), w.value = !1, g.open({
|
|
884
884
|
type: "success",
|
|
885
885
|
title: "Submission updated successfully"
|
|
886
886
|
});
|
|
@@ -894,38 +894,38 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
894
894
|
});
|
|
895
895
|
return (S, s) => {
|
|
896
896
|
const N = C("FmTextField"), X = C("FmButton"), y = C("FmTextarea"), l = C("FmDialog"), j = C("FmPhoneNumber"), L = C("FmForm");
|
|
897
|
-
return b(),
|
|
897
|
+
return b(), P(J, null, [
|
|
898
898
|
n("div", Xe, [
|
|
899
899
|
n("div", null, [
|
|
900
900
|
s[31] || (s[31] = n("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
|
|
901
|
-
n("span", Ze,
|
|
901
|
+
n("span", Ze, U(e(x)), 1)
|
|
902
902
|
]),
|
|
903
903
|
n("div", null, [
|
|
904
904
|
s[32] || (s[32] = n("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
|
|
905
|
-
n("span", _e,
|
|
905
|
+
n("span", _e, U(e(V).name) + " ( " + U(e(V).legalName) + " )", 1)
|
|
906
906
|
]),
|
|
907
907
|
n("div", null, [
|
|
908
908
|
s[33] || (s[33] = n("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
|
|
909
|
-
n("span", el,
|
|
909
|
+
n("span", el, U(e(V).email), 1)
|
|
910
910
|
]),
|
|
911
911
|
n("div", null, [
|
|
912
912
|
s[34] || (s[34] = n("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
|
|
913
|
-
n("span", ll,
|
|
913
|
+
n("span", ll, U(e(V).phoneNo), 1)
|
|
914
914
|
]),
|
|
915
915
|
n("div", null, [
|
|
916
916
|
s[35] || (s[35] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
|
|
917
917
|
n("span", tl, [
|
|
918
|
-
r(ie, { data: e(
|
|
918
|
+
r(ie, { data: e(I) }, null, 8, ["data"])
|
|
919
919
|
])
|
|
920
920
|
]),
|
|
921
921
|
n("div", null, [
|
|
922
922
|
s[36] || (s[36] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
|
|
923
|
-
n("span", al,
|
|
923
|
+
n("span", al, U(e(B)), 1)
|
|
924
924
|
])
|
|
925
925
|
]),
|
|
926
926
|
s[43] || (s[43] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Rate Settings", -1)),
|
|
927
927
|
n("div", sl, [
|
|
928
|
-
(b(),
|
|
928
|
+
(b(), P(J, null, le(p, (o) => r(N, {
|
|
929
929
|
key: o.key,
|
|
930
930
|
modelValue: D.value[o.key],
|
|
931
931
|
"onUpdate:modelValue": (K) => D.value[o.key] = K,
|
|
@@ -946,8 +946,8 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
946
946
|
]),
|
|
947
947
|
n("div", nl, [
|
|
948
948
|
r(l, {
|
|
949
|
-
modelValue:
|
|
950
|
-
"onUpdate:modelValue": s[1] || (s[1] = (o) =>
|
|
949
|
+
modelValue: w.value,
|
|
950
|
+
"onUpdate:modelValue": s[1] || (s[1] = (o) => w.value = o)
|
|
951
951
|
}, {
|
|
952
952
|
"dialog-button": f(() => [
|
|
953
953
|
r(X, {
|
|
@@ -989,7 +989,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
989
989
|
onClick: Y,
|
|
990
990
|
loading: e(c)
|
|
991
991
|
}, null, 8, ["disabled", "loading"]),
|
|
992
|
-
e(
|
|
992
|
+
e(I) === "approved" ? (b(), T(X, {
|
|
993
993
|
key: 0,
|
|
994
994
|
type: "button",
|
|
995
995
|
variant: "secondary",
|
|
@@ -1113,35 +1113,35 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1113
1113
|
]),
|
|
1114
1114
|
s[41] || (s[41] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Documents", -1)),
|
|
1115
1115
|
n("div", pl, [
|
|
1116
|
-
r(
|
|
1116
|
+
r(F, {
|
|
1117
1117
|
label: "Authorized Person ID",
|
|
1118
1118
|
modelValue: e(i).authorizedPersonID,
|
|
1119
1119
|
"onUpdate:modelValue": s[15] || (s[15] = (o) => e(i).authorizedPersonID = o),
|
|
1120
1120
|
type: "image",
|
|
1121
1121
|
"restaurant-id": m.submission.restaurantId
|
|
1122
1122
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1123
|
-
r(
|
|
1123
|
+
r(F, {
|
|
1124
1124
|
label: "Outlet Photo",
|
|
1125
1125
|
modelValue: e(i).outletPhoto,
|
|
1126
1126
|
"onUpdate:modelValue": s[16] || (s[16] = (o) => e(i).outletPhoto = o),
|
|
1127
1127
|
type: "image",
|
|
1128
1128
|
"restaurant-id": m.submission.restaurantId
|
|
1129
1129
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1130
|
-
r(
|
|
1130
|
+
r(F, {
|
|
1131
1131
|
label: "Interior Photo",
|
|
1132
1132
|
modelValue: e(i).interiorPhoto,
|
|
1133
1133
|
"onUpdate:modelValue": s[17] || (s[17] = (o) => e(i).interiorPhoto = o),
|
|
1134
1134
|
type: "image",
|
|
1135
1135
|
"restaurant-id": m.submission.restaurantId
|
|
1136
1136
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1137
|
-
r(
|
|
1137
|
+
r(F, {
|
|
1138
1138
|
label: "Bank Statement",
|
|
1139
1139
|
modelValue: e(i).bankStatement,
|
|
1140
1140
|
"onUpdate:modelValue": s[18] || (s[18] = (o) => e(i).bankStatement = o),
|
|
1141
1141
|
type: "pdf",
|
|
1142
1142
|
"restaurant-id": m.submission.restaurantId
|
|
1143
1143
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1144
|
-
e(a).businessType === "juristic" ? (b(), T(
|
|
1144
|
+
e(a).businessType === "juristic" ? (b(), T(F, {
|
|
1145
1145
|
key: 0,
|
|
1146
1146
|
label: "Company Certificate",
|
|
1147
1147
|
type: "pdf",
|
|
@@ -1149,7 +1149,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1149
1149
|
"onUpdate:modelValue": s[19] || (s[19] = (o) => e(i).companyCertificate = o),
|
|
1150
1150
|
"restaurant-id": m.submission.restaurantId
|
|
1151
1151
|
}, null, 8, ["modelValue", "restaurant-id"])) : A("", !0),
|
|
1152
|
-
e(a).businessType === "juristic" ? (b(), T(
|
|
1152
|
+
e(a).businessType === "juristic" ? (b(), T(F, {
|
|
1153
1153
|
key: 1,
|
|
1154
1154
|
label: "VAT Certificate",
|
|
1155
1155
|
type: "pdf",
|
|
@@ -1157,7 +1157,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1157
1157
|
"onUpdate:modelValue": s[20] || (s[20] = (o) => e(i).vatCertificate = o),
|
|
1158
1158
|
"restaurant-id": m.submission.restaurantId
|
|
1159
1159
|
}, null, 8, ["modelValue", "restaurant-id"])) : A("", !0),
|
|
1160
|
-
e(a).businessType === "individual" ? (b(), T(
|
|
1160
|
+
e(a).businessType === "individual" ? (b(), T(F, {
|
|
1161
1161
|
key: 2,
|
|
1162
1162
|
label: "Commercial Certificate",
|
|
1163
1163
|
type: "pdf",
|
|
@@ -1223,21 +1223,21 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1223
1223
|
rules: e(u)(e(d).string().min(1, "Witness Role is required"))
|
|
1224
1224
|
}, null, 8, ["modelValue", "rules"])
|
|
1225
1225
|
]),
|
|
1226
|
-
r(
|
|
1226
|
+
r(F, {
|
|
1227
1227
|
label: "Signature",
|
|
1228
1228
|
type: "image",
|
|
1229
1229
|
modelValue: e(i).signature,
|
|
1230
1230
|
"onUpdate:modelValue": s[28] || (s[28] = (o) => e(i).signature = o),
|
|
1231
1231
|
"restaurant-id": m.submission.restaurantId
|
|
1232
1232
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1233
|
-
r(
|
|
1233
|
+
r(F, {
|
|
1234
1234
|
label: "Witness Signature",
|
|
1235
1235
|
type: "image",
|
|
1236
1236
|
modelValue: e(i).witnessSignature,
|
|
1237
1237
|
"onUpdate:modelValue": s[29] || (s[29] = (o) => e(i).witnessSignature = o),
|
|
1238
1238
|
"restaurant-id": m.submission.restaurantId
|
|
1239
1239
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1240
|
-
r(
|
|
1240
|
+
r(F, {
|
|
1241
1241
|
label: "Company Stamp",
|
|
1242
1242
|
type: "image",
|
|
1243
1243
|
modelValue: e(i).companyStamp,
|
|
@@ -1262,7 +1262,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1262
1262
|
emits: ["update:submission"],
|
|
1263
1263
|
setup(m) {
|
|
1264
1264
|
const O = m, v = W(() => {
|
|
1265
|
-
const k = O.submission.fields || {}, g = (
|
|
1265
|
+
const k = O.submission.fields || {}, g = (w) => k[w] || "N/A";
|
|
1266
1266
|
return [
|
|
1267
1267
|
{
|
|
1268
1268
|
label: "Tyro POS Reference ID",
|
|
@@ -1283,7 +1283,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1283
1283
|
];
|
|
1284
1284
|
});
|
|
1285
1285
|
return (k, g) => {
|
|
1286
|
-
const
|
|
1286
|
+
const w = C("FmCardHeader"), c = C("FmCardSection"), R = C("FmCard");
|
|
1287
1287
|
return b(), T(R, {
|
|
1288
1288
|
class: "max-w-3xl mt-8 p-6",
|
|
1289
1289
|
variant: "elevated"
|
|
@@ -1291,19 +1291,19 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1291
1291
|
default: f(() => [
|
|
1292
1292
|
r(c, { class: "flex flex-col gap-16 justify-between" }, {
|
|
1293
1293
|
default: f(() => [
|
|
1294
|
-
r(
|
|
1294
|
+
r(w, {
|
|
1295
1295
|
class: "p-0",
|
|
1296
1296
|
title: "Tyro Authorisation",
|
|
1297
1297
|
subtitle: ""
|
|
1298
1298
|
}),
|
|
1299
1299
|
r(c, { class: "p-0" }, {
|
|
1300
1300
|
default: f(() => [
|
|
1301
|
-
(b(!0),
|
|
1301
|
+
(b(!0), P(J, null, le(v.value, (a) => (b(), P("p", {
|
|
1302
1302
|
key: a.label,
|
|
1303
1303
|
class: "text-sm text-gray-900 break-all mb-4 last:mb-0"
|
|
1304
1304
|
}, [
|
|
1305
|
-
n("b", null,
|
|
1306
|
-
z(": " +
|
|
1305
|
+
n("b", null, U(a.label), 1),
|
|
1306
|
+
z(": " + U(a.value), 1)
|
|
1307
1307
|
]))), 128))
|
|
1308
1308
|
]),
|
|
1309
1309
|
_: 1
|
|
@@ -1328,17 +1328,17 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1328
1328
|
}
|
|
1329
1329
|
},
|
|
1330
1330
|
setup(m) {
|
|
1331
|
-
const { startAsyncCall: O, isLoading: v } = te(), k = ae(), g = m,
|
|
1331
|
+
const { startAsyncCall: O, isLoading: v } = te(), k = ae(), g = m, w = ce(), c = $(null), R = W(
|
|
1332
1332
|
() => {
|
|
1333
1333
|
var B;
|
|
1334
1334
|
return ((B = c.value) == null ? void 0 : B.type) === oe.FdoOnboardType.enum.tyro;
|
|
1335
1335
|
}
|
|
1336
1336
|
), a = () => {
|
|
1337
1337
|
if (window.history.length > 1) {
|
|
1338
|
-
|
|
1338
|
+
w.back();
|
|
1339
1339
|
return;
|
|
1340
1340
|
}
|
|
1341
|
-
|
|
1341
|
+
w.push({ name: "mf-payment-admin.onboard-submission" });
|
|
1342
1342
|
};
|
|
1343
1343
|
pe(() => {
|
|
1344
1344
|
O(async () => {
|
|
@@ -1357,11 +1357,11 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1357
1357
|
default:
|
|
1358
1358
|
return null;
|
|
1359
1359
|
}
|
|
1360
|
-
}),
|
|
1360
|
+
}), x = $(0);
|
|
1361
1361
|
function V(B) {
|
|
1362
|
-
c.value = B,
|
|
1362
|
+
c.value = B, x.value = Date.now();
|
|
1363
1363
|
}
|
|
1364
|
-
const
|
|
1364
|
+
const I = async (B) => {
|
|
1365
1365
|
var q, p;
|
|
1366
1366
|
if (c.value)
|
|
1367
1367
|
switch (B) {
|
|
@@ -1408,15 +1408,15 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1408
1408
|
return (B, q) => {
|
|
1409
1409
|
var D, G;
|
|
1410
1410
|
const p = C("FmCircularProgress"), E = C("FmPageHead");
|
|
1411
|
-
return e(v) ? (b(),
|
|
1411
|
+
return e(v) ? (b(), P("div", Nl, [
|
|
1412
1412
|
r(p, { size: "xxl" })
|
|
1413
|
-
])) : (b(),
|
|
1413
|
+
])) : (b(), P(J, { key: 1 }, [
|
|
1414
1414
|
r(E, {
|
|
1415
1415
|
title: `Submission - ${(D = c.value) == null ? void 0 : D.type}`,
|
|
1416
1416
|
description: `ID - ${(G = c.value) == null ? void 0 : G._id}`,
|
|
1417
1417
|
"back-button": !0,
|
|
1418
1418
|
"onClick:back": a,
|
|
1419
|
-
"onClick:action":
|
|
1419
|
+
"onClick:action": I,
|
|
1420
1420
|
actions: R.value ? [] : [
|
|
1421
1421
|
{
|
|
1422
1422
|
label: "Preview Document",
|
|
@@ -1433,7 +1433,7 @@ const Ve = ["src"], w = /* @__PURE__ */ Z({
|
|
|
1433
1433
|
}, null, 8, ["title", "description", "actions"]),
|
|
1434
1434
|
n("div", Sl, [
|
|
1435
1435
|
(b(), T(be(i.value), {
|
|
1436
|
-
key:
|
|
1436
|
+
key: x.value,
|
|
1437
1437
|
submission: c.value,
|
|
1438
1438
|
"onUpdate:submission": V
|
|
1439
1439
|
}, null, 40, ["submission"]))
|