@fewangsit/wangsvue-fats 1.0.1-alpha.52 → 1.0.1-alpha.54
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/assetinfo/index.es.js +82 -81
- package/disposalreportbulkaction/index.es.js +18 -15
- package/disposalreporttable/index.es.js +18 -17
- package/package.json +1 -1
- package/stats.html +1 -1
- package/wangsvue-fats.esm.browser.js +21 -16
- package/wangsvue-fats.system.js +2 -2
package/assetinfo/index.es.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { shallowRef as
|
|
2
|
-
import { AssetServices as
|
|
1
|
+
import { shallowRef as O, ref as Y, defineComponent as Z, onMounted as ee, computed as c, watch as se, createElementBlock as r, openBlock as d, createVNode as p, createElementVNode as l, createCommentVNode as f, toDisplayString as x, Fragment as ae, unref as z, normalizeClass as y } from "vue";
|
|
2
|
+
import { AssetServices as te } from "@tagsamurai/fats-api-services";
|
|
3
3
|
import "../utils/role.util.es.js";
|
|
4
|
-
import { g as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
const
|
|
10
|
-
loading:
|
|
11
|
-
message:
|
|
12
|
-
setLoading: (
|
|
13
|
-
|
|
4
|
+
import { g as le } from "../utils/getStatusSeverity.util.es.js";
|
|
5
|
+
import { u as ne } from "../utils/toast.util.es.js";
|
|
6
|
+
import { _ } from "../badge/index.es.js";
|
|
7
|
+
import { _ as oe } from "../image/index.es.js";
|
|
8
|
+
import { _ as ie } from "../tagtype/index.es.js";
|
|
9
|
+
const J = O(!1), K = Y(), ue = () => ({
|
|
10
|
+
loading: J,
|
|
11
|
+
message: K,
|
|
12
|
+
setLoading: (m, t) => {
|
|
13
|
+
J.value = m, K.value = t, document.body.classList[m ? "add" : "remove"]("loading");
|
|
14
14
|
}
|
|
15
|
-
}), re = { class: "flex justify-between gap-[18px] dark:text-general-100" },
|
|
15
|
+
}), re = { class: "flex justify-between gap-[18px] dark:text-general-100" }, de = { class: "w-full flex flex-col gap-[6px]" }, ce = { class: "flex justify-between" }, pe = { class: "" }, fe = { class: "text-[16px] font-bold leading-[19.12px]" }, me = { class: "flex items-center gap-[6px]" }, ve = { class: "text-general-400 leading-[16.39px]" }, ge = ["href"], ye = { class: "flex flex-col gap-1" }, _e = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "flex gap-3"
|
|
18
|
-
},
|
|
18
|
+
}, xe = {
|
|
19
19
|
key: 1,
|
|
20
20
|
class: "flex gap-3"
|
|
21
|
-
},
|
|
21
|
+
}, be = {
|
|
22
22
|
key: 2,
|
|
23
23
|
class: "flex gap-3"
|
|
24
|
-
},
|
|
24
|
+
}, he = {
|
|
25
25
|
key: 3,
|
|
26
26
|
class: "flex gap-3"
|
|
27
|
-
},
|
|
27
|
+
}, Ce = /* @__PURE__ */ Z({
|
|
28
28
|
__name: "AssetInfo",
|
|
29
29
|
props: {
|
|
30
30
|
id: {},
|
|
@@ -33,122 +33,123 @@ const q = J(!1), z = X(), ie = () => ({
|
|
|
33
33
|
useNfc: { type: Boolean, default: !0 },
|
|
34
34
|
useTagType: { type: Boolean, default: !0 }
|
|
35
35
|
},
|
|
36
|
-
setup(
|
|
37
|
-
const t =
|
|
38
|
-
|
|
39
|
-
t.transactionDetail ? e.value = t.transactionDetail : await
|
|
36
|
+
setup(b, { expose: m }) {
|
|
37
|
+
const t = b;
|
|
38
|
+
ee(async () => {
|
|
39
|
+
t.transactionDetail ? e.value = t.transactionDetail : await X();
|
|
40
40
|
});
|
|
41
|
-
const
|
|
41
|
+
const R = ne(), { setLoading: h } = ue(), H = JSON.parse(localStorage.getItem("user") ?? "{}"), e = O(), k = c(() => {
|
|
42
42
|
var s;
|
|
43
43
|
return (s = t.fields) == null ? void 0 : s.includes("status");
|
|
44
|
-
}),
|
|
44
|
+
}), P = c(() => {
|
|
45
45
|
const {
|
|
46
46
|
setDefault: s,
|
|
47
47
|
firstImageBig: a,
|
|
48
48
|
secondImageBig: n,
|
|
49
49
|
assetImage: o,
|
|
50
50
|
firstImage: i,
|
|
51
|
-
secondImage:
|
|
52
|
-
} = e.value ?? {},
|
|
53
|
-
return t.transactionDetail ? o :
|
|
54
|
-
}),
|
|
55
|
-
var
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
secondImage: u
|
|
52
|
+
} = e.value ?? {}, g = s === "firstImage";
|
|
53
|
+
return t.transactionDetail ? o : g ? i ?? a : u ?? n;
|
|
54
|
+
}), I = c(() => {
|
|
55
|
+
var a, n, o, i, u;
|
|
56
|
+
const s = t.transactionDetail ? "assetName" : "name";
|
|
57
|
+
return (o = (n = (a = e.value) == null ? void 0 : a[s]) == null ? void 0 : n.aliasCode) != null && o.length ? `${(u = (i = e.value) == null ? void 0 : i[s]) == null ? void 0 : u.aliasCode}` : void 0;
|
|
58
|
+
}), Q = c(() => {
|
|
58
59
|
var s, a;
|
|
59
60
|
return ((s = e.value) == null ? void 0 : s.assetTagType) ?? ((a = e.value) == null ? void 0 : a.tagType);
|
|
60
|
-
}),
|
|
61
|
+
}), U = c(() => {
|
|
61
62
|
var s, a;
|
|
62
63
|
return ((s = e.value) == null ? void 0 : s.assetName) ?? ((a = e.value) == null ? void 0 : a.name);
|
|
63
|
-
}),
|
|
64
|
+
}), v = c(() => [
|
|
64
65
|
{
|
|
65
|
-
"w-[69px]": !
|
|
66
|
-
"w-[76px]":
|
|
66
|
+
"w-[69px]": !k.value,
|
|
67
|
+
"w-[76px]": k.value
|
|
67
68
|
}
|
|
68
|
-
]),
|
|
69
|
+
]), X = async () => {
|
|
69
70
|
try {
|
|
70
|
-
|
|
71
|
-
const { data: s } = await
|
|
71
|
+
h(!0);
|
|
72
|
+
const { data: s } = await te.getAssetDetail(t.id);
|
|
72
73
|
s && (e.value = s.data);
|
|
73
74
|
} catch (s) {
|
|
74
|
-
|
|
75
|
+
R.add({ error: s, message: "Error, failed to load asset details." });
|
|
75
76
|
} finally {
|
|
76
|
-
|
|
77
|
+
h(!1);
|
|
77
78
|
}
|
|
78
79
|
};
|
|
79
|
-
return
|
|
80
|
+
return se(
|
|
80
81
|
() => t.transactionDetail,
|
|
81
82
|
(s) => {
|
|
82
83
|
e.value = s;
|
|
83
84
|
},
|
|
84
85
|
{ deep: !0 }
|
|
85
|
-
),
|
|
86
|
-
var n, o, i,
|
|
87
|
-
return
|
|
88
|
-
|
|
89
|
-
l("div",
|
|
90
|
-
l("div",
|
|
91
|
-
l("div",
|
|
92
|
-
l("div",
|
|
93
|
-
l("div",
|
|
94
|
-
l("span",
|
|
95
|
-
s.useTagType ? (
|
|
86
|
+
), m({ asset: e }), (s, a) => {
|
|
87
|
+
var n, o, i, u, g, T, w, D, S, B, N, C, A, $, L, E, F, M, V, j, G, W, q;
|
|
88
|
+
return d(), r("div", re, [
|
|
89
|
+
p(oe, { src: P.value }, null, 8, ["src"]),
|
|
90
|
+
l("div", de, [
|
|
91
|
+
l("div", ce, [
|
|
92
|
+
l("div", pe, [
|
|
93
|
+
l("div", fe, x(((n = U.value) == null ? void 0 : n.nameWithSequence) ?? "-"), 1),
|
|
94
|
+
l("div", me, [
|
|
95
|
+
l("span", ve, x(I.value ?? ((o = e.value) == null ? void 0 : o.assetId)) + " " + x(I.value ? `(${(i = e.value) == null ? void 0 : i.assetId})` : ""), 1),
|
|
96
|
+
s.useTagType ? (d(), r(ae, { key: 0 }, [
|
|
96
97
|
a[0] || (a[0] = l("div", { class: "w-[6px] h-[6px] rounded-full bg-general-100" }, null, -1)),
|
|
97
|
-
|
|
98
|
-
type:
|
|
98
|
+
p(ie, {
|
|
99
|
+
type: Q.value,
|
|
99
100
|
"use-nfc": s.useNfc
|
|
100
101
|
}, null, 8, ["type", "use-nfc"])
|
|
101
|
-
], 64)) :
|
|
102
|
+
], 64)) : f("", !0)
|
|
102
103
|
])
|
|
103
104
|
]),
|
|
104
|
-
|
|
105
|
+
z(H).userType !== "Basic" ? (d(), r("a", {
|
|
105
106
|
key: 0,
|
|
106
|
-
href: `/assets/detail/${((
|
|
107
|
+
href: `/assets/detail/${((u = e.value) == null ? void 0 : u.asset) ?? ((g = e.value) == null ? void 0 : g._id)}`,
|
|
107
108
|
class: "text-primary-500",
|
|
108
109
|
target: "_blank"
|
|
109
|
-
}, " Asset Detail > ", 8,
|
|
110
|
+
}, " Asset Detail > ", 8, ge)) : f("", !0)
|
|
110
111
|
]),
|
|
111
|
-
l("div",
|
|
112
|
-
!t.fields || (
|
|
112
|
+
l("div", ye, [
|
|
113
|
+
!t.fields || (T = t.fields) != null && T.includes("brand") ? (d(), r("div", _e, [
|
|
113
114
|
l("span", {
|
|
114
|
-
class:
|
|
115
|
+
class: y(v.value)
|
|
115
116
|
}, " Brand ", 2),
|
|
116
117
|
a[1] || (a[1] = l("span", null, ":", -1)),
|
|
117
|
-
|
|
118
|
-
label: ((
|
|
118
|
+
p(_, {
|
|
119
|
+
label: ((D = (w = e.value) == null ? void 0 : w.assetBrand) == null ? void 0 : D.name) ?? ((B = (S = e.value) == null ? void 0 : S.brand) == null ? void 0 : B.name) ?? "-",
|
|
119
120
|
severity: "dark"
|
|
120
121
|
}, null, 8, ["label"])
|
|
121
|
-
])) :
|
|
122
|
-
!t.fields || (N = t.fields) != null && N.includes("model") ? (
|
|
122
|
+
])) : f("", !0),
|
|
123
|
+
!t.fields || (N = t.fields) != null && N.includes("model") ? (d(), r("div", xe, [
|
|
123
124
|
l("span", {
|
|
124
|
-
class:
|
|
125
|
+
class: y(v.value)
|
|
125
126
|
}, " Model/Type ", 2),
|
|
126
127
|
a[2] || (a[2] = l("span", null, ":", -1)),
|
|
127
|
-
|
|
128
|
-
label: ((
|
|
128
|
+
p(_, {
|
|
129
|
+
label: ((A = (C = e.value) == null ? void 0 : C.assetModel) == null ? void 0 : A.name) ?? ((L = ($ = e.value) == null ? void 0 : $.model) == null ? void 0 : L.name) ?? "-",
|
|
129
130
|
severity: "dark"
|
|
130
131
|
}, null, 8, ["label"])
|
|
131
|
-
])) :
|
|
132
|
-
!t.fields || (
|
|
132
|
+
])) : f("", !0),
|
|
133
|
+
!t.fields || (E = t.fields) != null && E.includes("group") ? (d(), r("div", be, [
|
|
133
134
|
l("span", {
|
|
134
|
-
class:
|
|
135
|
+
class: y(v.value)
|
|
135
136
|
}, " Group ", 2),
|
|
136
137
|
a[3] || (a[3] = l("span", null, ":", -1)),
|
|
137
|
-
|
|
138
|
-
label: ((
|
|
138
|
+
p(_, {
|
|
139
|
+
label: ((M = (F = e.value) == null ? void 0 : F.assetGroup) == null ? void 0 : M.name) ?? ((j = (V = e.value) == null ? void 0 : V.group) == null ? void 0 : j.name) ?? "-"
|
|
139
140
|
}, null, 8, ["label"])
|
|
140
|
-
])) :
|
|
141
|
-
(
|
|
141
|
+
])) : f("", !0),
|
|
142
|
+
(G = t.fields) != null && G.includes("status") ? (d(), r("div", he, [
|
|
142
143
|
l("span", {
|
|
143
|
-
class:
|
|
144
|
+
class: y(v.value)
|
|
144
145
|
}, " Asset Status ", 2),
|
|
145
146
|
a[4] || (a[4] = l("span", null, ":", -1)),
|
|
146
|
-
|
|
147
|
-
label: ((
|
|
148
|
-
severity:
|
|
147
|
+
p(_, {
|
|
148
|
+
label: ((W = e.value) == null ? void 0 : W.status) ?? "-",
|
|
149
|
+
severity: z(le)((q = e.value) == null ? void 0 : q.status),
|
|
149
150
|
format: "nowrap"
|
|
150
151
|
}, null, 8, ["label", "severity"])
|
|
151
|
-
])) :
|
|
152
|
+
])) : f("", !0)
|
|
152
153
|
])
|
|
153
154
|
])
|
|
154
155
|
]);
|
|
@@ -156,6 +157,6 @@ const q = J(!1), z = X(), ie = () => ({
|
|
|
156
157
|
}
|
|
157
158
|
});
|
|
158
159
|
export {
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
Ce as _,
|
|
161
|
+
ue as u
|
|
161
162
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as _, ref as
|
|
2
|
-
import { e as
|
|
1
|
+
import { defineComponent as _, ref as x, shallowRef as u, createElementBlock as h, openBlock as d, Fragment as w, createVNode as v, mergeProps as R, withCtx as k, createBlock as B, createCommentVNode as V, unref as l } from "vue";
|
|
2
|
+
import { e as p } from "../event-bus/index.es.js";
|
|
3
3
|
import { u as y } from "../plugins/basei18n.es.js";
|
|
4
4
|
import { _ as A } from "../buttonbulkaction/index.es.js";
|
|
5
5
|
import { _ as C } from "../dialogconfirm/index.es.js";
|
|
@@ -10,14 +10,14 @@ const S = /* @__PURE__ */ _({
|
|
|
10
10
|
tableName: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["noted", "removed"],
|
|
13
|
-
setup(
|
|
14
|
-
const { t: e } = y(), r =
|
|
13
|
+
setup(c, { emit: b }) {
|
|
14
|
+
const { t: e } = y(), r = c, s = b, o = x([]), n = u(!1), m = u(), f = [
|
|
15
15
|
{
|
|
16
16
|
label: e("Note"),
|
|
17
17
|
icon: "note",
|
|
18
18
|
useAdditionSlot: !0,
|
|
19
19
|
command: () => {
|
|
20
|
-
s("noted", o.value, m.value),
|
|
20
|
+
s("noted", o.value, m.value), p.emit("data-table:clear-selected-data", {
|
|
21
21
|
tableName: r.tableName
|
|
22
22
|
}), m.value = void 0;
|
|
23
23
|
}
|
|
@@ -30,13 +30,13 @@ const S = /* @__PURE__ */ _({
|
|
|
30
30
|
n.value = !0;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
],
|
|
34
|
-
s("removed", o.value),
|
|
33
|
+
], g = () => {
|
|
34
|
+
s("removed", o.value), p.emit("data-table:clear-selected-data", {
|
|
35
35
|
tableName: r.tableName
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
|
-
return (i, t) => (d(),
|
|
39
|
-
v(A,
|
|
38
|
+
return (i, t) => (d(), h(w, null, [
|
|
39
|
+
v(A, R({
|
|
40
40
|
"selected-data": o.value,
|
|
41
41
|
"onUpdate:selectedData": t[1] || (t[1] = (a) => o.value = a)
|
|
42
42
|
}, i.$attrs, {
|
|
@@ -44,11 +44,13 @@ const S = /* @__PURE__ */ _({
|
|
|
44
44
|
"table-name": i.tableName,
|
|
45
45
|
naming: "Asset(s)"
|
|
46
46
|
}), {
|
|
47
|
-
addition:
|
|
48
|
-
(a == null ? void 0 : a.label) === l(e)("Note") ? (d(),
|
|
47
|
+
addition: k(({ selectedOption: a }) => [
|
|
48
|
+
(a == null ? void 0 : a.label) === l(e)("Note") ? (d(), B(D, {
|
|
49
49
|
key: 0,
|
|
50
50
|
modelValue: m.value,
|
|
51
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
51
|
+
"onUpdate:modelValue": t[0] || (t[0] = (N) => m.value = N),
|
|
52
|
+
"max-input": 30,
|
|
53
|
+
maxlength: 30,
|
|
52
54
|
placeholder: l(e)("Enter note"),
|
|
53
55
|
rows: 1,
|
|
54
56
|
"textarea-pt": {
|
|
@@ -56,8 +58,9 @@ const S = /* @__PURE__ */ _({
|
|
|
56
58
|
maxlength: 30
|
|
57
59
|
}
|
|
58
60
|
},
|
|
59
|
-
class: "!max-w-[250px]"
|
|
60
|
-
|
|
61
|
+
class: "!max-w-[250px]",
|
|
62
|
+
"prevent-input-on-max-length": ""
|
|
63
|
+
}, null, 8, ["modelValue", "placeholder"])) : V("", !0)
|
|
61
64
|
]),
|
|
62
65
|
_: 1
|
|
63
66
|
}, 16, ["selected-data", "table-name"]),
|
|
@@ -68,7 +71,7 @@ const S = /* @__PURE__ */ _({
|
|
|
68
71
|
header: l(e)("Remove from List"),
|
|
69
72
|
list: o.value,
|
|
70
73
|
message: l(e)("Are you sure you want to remove it?"),
|
|
71
|
-
onConfirm:
|
|
74
|
+
onConfirm: g,
|
|
72
75
|
"list-label": "name.nameWithSequence",
|
|
73
76
|
severity: "danger"
|
|
74
77
|
}, null, 8, ["visible", "confirm-label", "header", "list", "message"])
|
|
@@ -65,7 +65,7 @@ const ue = {
|
|
|
65
65
|
z(() => {
|
|
66
66
|
$();
|
|
67
67
|
});
|
|
68
|
-
const m = se(), { t: a } = te(), { setLoading: c } = ee(), y = f(!1),
|
|
68
|
+
const m = se(), { t: a } = te(), { setLoading: c } = ee(), y = f(!1), v = f(!1), b = f(!1), x = f([]), h = f(), n = f(
|
|
69
69
|
[]
|
|
70
70
|
), p = W(
|
|
71
71
|
/* @__PURE__ */ new Map()
|
|
@@ -164,7 +164,8 @@ const ue = {
|
|
|
164
164
|
modelValue: (e = p.value.get(s._id ?? "assetId")) == null ? void 0 : e.notes,
|
|
165
165
|
placeholder: a("Enter note"),
|
|
166
166
|
rows: 1,
|
|
167
|
-
maxlength: 30
|
|
167
|
+
maxlength: 30,
|
|
168
|
+
preventInputOnMaxLength: !0
|
|
168
169
|
},
|
|
169
170
|
events: {
|
|
170
171
|
"update:modelValue": (t) => {
|
|
@@ -210,10 +211,10 @@ const ue = {
|
|
|
210
211
|
icon: "delete-bin",
|
|
211
212
|
danger: !0,
|
|
212
213
|
command: () => {
|
|
213
|
-
|
|
214
|
+
v.value = !0;
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
|
-
],
|
|
217
|
+
], I = (s) => {
|
|
217
218
|
n.value = n.value.filter(
|
|
218
219
|
(e) => !s.some((t) => e._id === t._id)
|
|
219
220
|
), E(s);
|
|
@@ -234,7 +235,7 @@ const ue = {
|
|
|
234
235
|
}, _ = () => {
|
|
235
236
|
const s = window.location.pathname, e = s.slice(0, s.lastIndexOf("/"));
|
|
236
237
|
u.router.replace(e), sessionStorage.removeItem("assetsDisposalReport");
|
|
237
|
-
},
|
|
238
|
+
}, L = async () => {
|
|
238
239
|
const s = [];
|
|
239
240
|
p.value.forEach((e, t) => {
|
|
240
241
|
const o = {
|
|
@@ -256,11 +257,11 @@ const ue = {
|
|
|
256
257
|
} finally {
|
|
257
258
|
c(!1);
|
|
258
259
|
}
|
|
259
|
-
},
|
|
260
|
+
}, F = async (s) => {
|
|
260
261
|
try {
|
|
261
262
|
c(!0);
|
|
262
263
|
const e = s.map((t) => {
|
|
263
|
-
var o, r, i,
|
|
264
|
+
var o, r, i, R, S, A;
|
|
264
265
|
return p.value.set(t.asset ?? "", {
|
|
265
266
|
notes: null,
|
|
266
267
|
reason: ["Damaged", "Missing"].includes(t.status) ? t.status : u.reason
|
|
@@ -283,7 +284,7 @@ const ue = {
|
|
|
283
284
|
key: (i = t.category) == null ? void 0 : i.key
|
|
284
285
|
},
|
|
285
286
|
group: {
|
|
286
|
-
_id: (
|
|
287
|
+
_id: (R = t.assetGroup) == null ? void 0 : R._id,
|
|
287
288
|
name: (S = t.assetGroup) == null ? void 0 : S.name,
|
|
288
289
|
key: (A = t.assetGroup) == null ? void 0 : A.key
|
|
289
290
|
}
|
|
@@ -355,7 +356,7 @@ const ue = {
|
|
|
355
356
|
"selected-data": x.value,
|
|
356
357
|
"onUpdate:selectedData": e[1] || (e[1] = (t) => x.value = t),
|
|
357
358
|
onNoted: P,
|
|
358
|
-
onRemoved: e[2] || (e[2] = (t) =>
|
|
359
|
+
onRemoved: e[2] || (e[2] = (t) => I(t)),
|
|
359
360
|
"table-name": "disposal-report-page-table"
|
|
360
361
|
}, null, 8, ["assets-to-report", "selected-data"]),
|
|
361
362
|
l(oe, {
|
|
@@ -390,22 +391,22 @@ const ue = {
|
|
|
390
391
|
"onUpdate:visible": e[5] || (e[5] = (t) => y.value = t),
|
|
391
392
|
"fetch-function": u.from === "damage" ? q : U,
|
|
392
393
|
"fetch-option-function": u.from === "damage" ? J : G,
|
|
393
|
-
onSelect:
|
|
394
|
+
onSelect: F
|
|
394
395
|
}, null, 8, ["visible", "fetch-function", "fetch-option-function"]),
|
|
395
396
|
l(M, {
|
|
396
|
-
visible:
|
|
397
|
-
"onUpdate:visible": e[6] || (e[6] = (t) =>
|
|
397
|
+
visible: v.value,
|
|
398
|
+
"onUpdate:visible": e[6] || (e[6] = (t) => v.value = t),
|
|
398
399
|
body: d(a)("Are you sure you want to remove it?"),
|
|
399
400
|
"confirm-label": d(a)("Remove"),
|
|
400
401
|
header: d(a)("Remove from List"),
|
|
401
402
|
lists: [h.value],
|
|
402
|
-
onConfirm: e[7] || (e[7] = (t) =>
|
|
403
|
+
onConfirm: e[7] || (e[7] = (t) => I([h.value])),
|
|
403
404
|
"list-label": "name.nameWithSequence",
|
|
404
405
|
severity: "danger"
|
|
405
406
|
}, null, 8, ["visible", "body", "confirm-label", "header", "lists"]),
|
|
406
407
|
l(M, {
|
|
407
|
-
visible:
|
|
408
|
-
"onUpdate:visible": e[8] || (e[8] = (t) =>
|
|
408
|
+
visible: b.value,
|
|
409
|
+
"onUpdate:visible": e[8] || (e[8] = (t) => b.value = t),
|
|
409
410
|
"confirm-label": d(a)("Continue"),
|
|
410
411
|
header: d(a)("Cancel Report"),
|
|
411
412
|
onConfirm: _,
|
|
@@ -420,13 +421,13 @@ const ue = {
|
|
|
420
421
|
g("div", ce, [
|
|
421
422
|
l(w, {
|
|
422
423
|
label: d(a)("Cancel"),
|
|
423
|
-
onClick: e[9] || (e[9] = (t) =>
|
|
424
|
+
onClick: e[9] || (e[9] = (t) => b.value = !0),
|
|
424
425
|
severity: "dark",
|
|
425
426
|
text: ""
|
|
426
427
|
}, null, 8, ["label"]),
|
|
427
428
|
l(w, {
|
|
428
429
|
label: d(a)("Submit"),
|
|
429
|
-
onClick:
|
|
430
|
+
onClick: L,
|
|
430
431
|
severity: "success"
|
|
431
432
|
}, null, 8, ["label"])
|
|
432
433
|
])
|