@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
|
@@ -58199,8 +58199,9 @@ const Gre = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%2
|
|
|
58199
58199
|
} = o.value ?? {}, w = h === "firstImage";
|
|
58200
58200
|
return n.transactionDetail ? A : w ? b ?? m : k ?? g;
|
|
58201
58201
|
}), u = Z(() => {
|
|
58202
|
-
var
|
|
58203
|
-
|
|
58202
|
+
var m, g, A, b, k;
|
|
58203
|
+
const h = n.transactionDetail ? "assetName" : "name";
|
|
58204
|
+
return (A = (g = (m = o.value) == null ? void 0 : m[h]) == null ? void 0 : g.aliasCode) != null && A.length ? `${(k = (b = o.value) == null ? void 0 : b[h]) == null ? void 0 : k.aliasCode}` : void 0;
|
|
58204
58205
|
}), c = Z(() => {
|
|
58205
58206
|
var h, m;
|
|
58206
58207
|
return ((h = o.value) == null ? void 0 : h.assetTagType) ?? ((m = o.value) == null ? void 0 : m.tagType);
|
|
@@ -58230,7 +58231,7 @@ const Gre = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%2
|
|
|
58230
58231
|
},
|
|
58231
58232
|
{ deep: !0 }
|
|
58232
58233
|
), e({ asset: o }), (h, m) => {
|
|
58233
|
-
var g, A, b, k, w, S, y, C, P, L, T, E, R, U, X, fe, ae, ge, ue, Le, Te, Oe;
|
|
58234
|
+
var g, A, b, k, w, S, y, C, P, L, T, E, R, U, X, fe, ae, ge, ue, Le, Te, Oe, de;
|
|
58234
58235
|
return v(), x("div", wse, [
|
|
58235
58236
|
D(Or, { src: l.value }, null, 8, ["src"]),
|
|
58236
58237
|
I("div", Sse, [
|
|
@@ -58238,7 +58239,7 @@ const Gre = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%2
|
|
|
58238
58239
|
I("div", kse, [
|
|
58239
58240
|
I("div", Ose, J(((g = d.value) == null ? void 0 : g.nameWithSequence) ?? "-"), 1),
|
|
58240
58241
|
I("div", Tse, [
|
|
58241
|
-
I("span", xse, J(((A = o.value) == null ? void 0 : A.assetId)
|
|
58242
|
+
I("span", xse, J(u.value ?? ((A = o.value) == null ? void 0 : A.assetId)) + " " + J(u.value ? `(${(b = o.value) == null ? void 0 : b.assetId})` : ""), 1),
|
|
58242
58243
|
h.useTagType ? (v(), x(le, { key: 0 }, [
|
|
58243
58244
|
m[0] || (m[0] = I("div", { class: "w-[6px] h-[6px] rounded-full bg-general-100" }, null, -1)),
|
|
58244
58245
|
D(j8, {
|
|
@@ -58250,49 +58251,49 @@ const Gre = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%2
|
|
|
58250
58251
|
]),
|
|
58251
58252
|
M(s).userType !== "Basic" ? (v(), x("a", {
|
|
58252
58253
|
key: 0,
|
|
58253
|
-
href: `/assets/detail/${((
|
|
58254
|
+
href: `/assets/detail/${((k = o.value) == null ? void 0 : k.asset) ?? ((w = o.value) == null ? void 0 : w._id)}`,
|
|
58254
58255
|
class: "text-primary-500",
|
|
58255
58256
|
target: "_blank"
|
|
58256
58257
|
}, " Asset Detail > ", 8, Mse)) : B("", !0)
|
|
58257
58258
|
]),
|
|
58258
58259
|
I("div", Ese, [
|
|
58259
|
-
!n.fields || (
|
|
58260
|
+
!n.fields || (S = n.fields) != null && S.includes("brand") ? (v(), x("div", Ise, [
|
|
58260
58261
|
I("span", {
|
|
58261
58262
|
class: me(f.value)
|
|
58262
58263
|
}, " Brand ", 2),
|
|
58263
58264
|
m[1] || (m[1] = I("span", null, ":", -1)),
|
|
58264
58265
|
D(Et, {
|
|
58265
|
-
label: ((
|
|
58266
|
+
label: ((C = (y = o.value) == null ? void 0 : y.assetBrand) == null ? void 0 : C.name) ?? ((L = (P = o.value) == null ? void 0 : P.brand) == null ? void 0 : L.name) ?? "-",
|
|
58266
58267
|
severity: "dark"
|
|
58267
58268
|
}, null, 8, ["label"])
|
|
58268
58269
|
])) : B("", !0),
|
|
58269
|
-
!n.fields || (
|
|
58270
|
+
!n.fields || (T = n.fields) != null && T.includes("model") ? (v(), x("div", Pse, [
|
|
58270
58271
|
I("span", {
|
|
58271
58272
|
class: me(f.value)
|
|
58272
58273
|
}, " Model/Type ", 2),
|
|
58273
58274
|
m[2] || (m[2] = I("span", null, ":", -1)),
|
|
58274
58275
|
D(Et, {
|
|
58275
|
-
label: ((
|
|
58276
|
+
label: ((R = (E = o.value) == null ? void 0 : E.assetModel) == null ? void 0 : R.name) ?? ((X = (U = o.value) == null ? void 0 : U.model) == null ? void 0 : X.name) ?? "-",
|
|
58276
58277
|
severity: "dark"
|
|
58277
58278
|
}, null, 8, ["label"])
|
|
58278
58279
|
])) : B("", !0),
|
|
58279
|
-
!n.fields || (
|
|
58280
|
+
!n.fields || (fe = n.fields) != null && fe.includes("group") ? (v(), x("div", Lse, [
|
|
58280
58281
|
I("span", {
|
|
58281
58282
|
class: me(f.value)
|
|
58282
58283
|
}, " Group ", 2),
|
|
58283
58284
|
m[3] || (m[3] = I("span", null, ":", -1)),
|
|
58284
58285
|
D(Et, {
|
|
58285
|
-
label: ((
|
|
58286
|
+
label: ((ge = (ae = o.value) == null ? void 0 : ae.assetGroup) == null ? void 0 : ge.name) ?? ((Le = (ue = o.value) == null ? void 0 : ue.group) == null ? void 0 : Le.name) ?? "-"
|
|
58286
58287
|
}, null, 8, ["label"])
|
|
58287
58288
|
])) : B("", !0),
|
|
58288
|
-
(
|
|
58289
|
+
(Te = n.fields) != null && Te.includes("status") ? (v(), x("div", Dse, [
|
|
58289
58290
|
I("span", {
|
|
58290
58291
|
class: me(f.value)
|
|
58291
58292
|
}, " Asset Status ", 2),
|
|
58292
58293
|
m[4] || (m[4] = I("span", null, ":", -1)),
|
|
58293
58294
|
D(Et, {
|
|
58294
|
-
label: ((
|
|
58295
|
-
severity: M(UO)((
|
|
58295
|
+
label: ((Oe = o.value) == null ? void 0 : Oe.status) ?? "-",
|
|
58296
|
+
severity: M(UO)((de = o.value) == null ? void 0 : de.status),
|
|
58296
58297
|
format: "nowrap"
|
|
58297
58298
|
}, null, 8, ["label", "severity"])
|
|
58298
58299
|
])) : B("", !0)
|
|
@@ -62950,6 +62951,8 @@ const Fw = /* @__PURE__ */ Rc(Toe), zw = "data:image/png;base64,iVBORw0KGgoAAAAN
|
|
|
62950
62951
|
key: 0,
|
|
62951
62952
|
modelValue: a.value,
|
|
62952
62953
|
"onUpdate:modelValue": d[0] || (d[0] = (p) => a.value = p),
|
|
62954
|
+
"max-input": 30,
|
|
62955
|
+
maxlength: 30,
|
|
62953
62956
|
placeholder: M(n)("Enter note"),
|
|
62954
62957
|
rows: 1,
|
|
62955
62958
|
"textarea-pt": {
|
|
@@ -62957,7 +62960,8 @@ const Fw = /* @__PURE__ */ Rc(Toe), zw = "data:image/png;base64,iVBORw0KGgoAAAAN
|
|
|
62957
62960
|
maxlength: 30
|
|
62958
62961
|
}
|
|
62959
62962
|
},
|
|
62960
|
-
class: "!max-w-[250px]"
|
|
62963
|
+
class: "!max-w-[250px]",
|
|
62964
|
+
"prevent-input-on-max-length": ""
|
|
62961
62965
|
}, null, 8, ["modelValue", "placeholder"])) : B("", !0)
|
|
62962
62966
|
]),
|
|
62963
62967
|
_: 1
|
|
@@ -63384,7 +63388,8 @@ const Fw = /* @__PURE__ */ Rc(Toe), zw = "data:image/png;base64,iVBORw0KGgoAAAAN
|
|
|
63384
63388
|
modelValue: (T = d.value.get(L._id ?? "assetId")) == null ? void 0 : T.notes,
|
|
63385
63389
|
placeholder: i("Enter note"),
|
|
63386
63390
|
rows: 1,
|
|
63387
|
-
maxlength: 30
|
|
63391
|
+
maxlength: 30,
|
|
63392
|
+
preventInputOnMaxLength: !0
|
|
63388
63393
|
},
|
|
63389
63394
|
events: {
|
|
63390
63395
|
"update:modelValue": (E) => {
|