@fewangsit/wangsvue-fats 1.0.1-alpha.49 → 1.0.1-alpha.50

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.
@@ -16,7 +16,6 @@ export type AssetGeneralInfo = Partial<AssetDetailDataType> & {
16
16
  assetGroup?: AssetBrandModelValue;
17
17
  asset?: string;
18
18
  assetImage?: string;
19
- assetImageBig?: string;
20
19
  };
21
20
 
22
21
  export interface AssetInfoProps {
@@ -1,4 +1,4 @@
1
- import { shallowRef as J, ref as X, defineComponent as Y, onMounted as Z, computed as f, watch as ee, createElementBlock as c, openBlock as p, createVNode as m, createElementVNode as l, createCommentVNode as v, toDisplayString as k, Fragment as se, unref as W, normalizeClass as b } from "vue";
1
+ import { shallowRef as J, ref as X, defineComponent as Y, onMounted as Z, computed as p, watch as ee, createElementBlock as d, openBlock as c, createVNode as f, createElementVNode as l, createCommentVNode as m, toDisplayString as k, Fragment as se, unref as W, normalizeClass as b } from "vue";
2
2
  import { AssetServices as ae } from "@tagsamurai/fats-api-services";
3
3
  import "../utils/role.util.es.js";
4
4
  import { g as te } from "../utils/getStatusSeverity.util.es.js";
@@ -24,7 +24,7 @@ const q = J(!1), z = X(), ie = () => ({
24
24
  }, be = {
25
25
  key: 3,
26
26
  class: "flex gap-3"
27
- }, Se = /* @__PURE__ */ Y({
27
+ }, Be = /* @__PURE__ */ Y({
28
28
  __name: "AssetInfo",
29
29
  props: {
30
30
  id: {},
@@ -33,48 +33,47 @@ 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(I, { expose: y }) {
37
- const t = I;
36
+ setup(T, { expose: y }) {
37
+ const t = T;
38
38
  Z(async () => {
39
39
  t.transactionDetail ? e.value = t.transactionDetail : await U();
40
40
  });
41
- const O = le(), { setLoading: T } = ie(), R = JSON.parse(localStorage.getItem("user") ?? "{}"), e = J(), w = f(() => {
41
+ const O = le(), { setLoading: w } = ie(), R = JSON.parse(localStorage.getItem("user") ?? "{}"), e = J(), D = p(() => {
42
42
  var s;
43
43
  return (s = t.fields) == null ? void 0 : s.includes("status");
44
- }), H = f(() => {
44
+ }), H = p(() => {
45
45
  const {
46
46
  setDefault: s,
47
47
  firstImageBig: a,
48
48
  secondImageBig: n,
49
- assetImageBig: o,
50
- assetImage: i,
51
- firstImage: r,
52
- secondImage: u
53
- } = e.value ?? {}, d = s === "firstImage";
54
- return t.transactionDetail ? i ?? o : d ? r ?? a : u ?? n;
55
- }), K = f(() => {
56
- var s, a, n, o, i, r, u, d, g, _;
57
- return t.transactionDetail ? (n = (a = (s = e.value) == null ? void 0 : s.assetName) == null ? void 0 : a.aliasCode) != null && n.length ? `(${(i = (o = e.value) == null ? void 0 : o.assetName) == null ? void 0 : i.aliasCode})` : "" : (d = (u = (r = e.value) == null ? void 0 : r.name) == null ? void 0 : u.aliasCode) != null && d.length ? `(${(_ = (g = e.value) == null ? void 0 : g.name) == null ? void 0 : _.aliasCode})` : "";
58
- }), P = f(() => {
49
+ assetImage: o,
50
+ firstImage: i,
51
+ secondImage: r
52
+ } = e.value ?? {}, u = s === "firstImage";
53
+ return t.transactionDetail ? o : u ? i ?? a : r ?? n;
54
+ }), K = p(() => {
55
+ var s, a, n, o, i, r, u, v, g, _;
56
+ return t.transactionDetail ? (n = (a = (s = e.value) == null ? void 0 : s.assetName) == null ? void 0 : a.aliasCode) != null && n.length ? `(${(i = (o = e.value) == null ? void 0 : o.assetName) == null ? void 0 : i.aliasCode})` : "" : (v = (u = (r = e.value) == null ? void 0 : r.name) == null ? void 0 : u.aliasCode) != null && v.length ? `(${(_ = (g = e.value) == null ? void 0 : g.name) == null ? void 0 : _.aliasCode})` : "";
57
+ }), P = p(() => {
59
58
  var s, a;
60
59
  return ((s = e.value) == null ? void 0 : s.assetTagType) ?? ((a = e.value) == null ? void 0 : a.tagType);
61
- }), Q = f(() => {
60
+ }), Q = p(() => {
62
61
  var s, a;
63
62
  return ((s = e.value) == null ? void 0 : s.assetName) ?? ((a = e.value) == null ? void 0 : a.name);
64
- }), x = f(() => [
63
+ }), x = p(() => [
65
64
  {
66
- "w-[69px]": !w.value,
67
- "w-[76px]": w.value
65
+ "w-[69px]": !D.value,
66
+ "w-[76px]": D.value
68
67
  }
69
68
  ]), U = async () => {
70
69
  try {
71
- T(!0);
70
+ w(!0);
72
71
  const { data: s } = await ae.getAssetDetail(t.id);
73
72
  s && (e.value = s.data);
74
73
  } catch (s) {
75
74
  O.add({ error: s, message: "Error, failed to load asset details." });
76
75
  } finally {
77
- T(!1);
76
+ w(!1);
78
77
  }
79
78
  };
80
79
  return ee(
@@ -84,72 +83,72 @@ const q = J(!1), z = X(), ie = () => ({
84
83
  },
85
84
  { deep: !0 }
86
85
  ), y({ asset: e }), (s, a) => {
87
- var n, o, i, r, u, d, g, _, D, B, N, S, C, A, $, L, E, F, M, V, j, G;
88
- return p(), c("div", re, [
89
- m(ne, { src: H.value }, null, 8, ["src"]),
86
+ var n, o, i, r, u, v, g, _, I, N, S, B, C, A, $, L, E, F, M, V, j, G;
87
+ return c(), d("div", re, [
88
+ f(ne, { src: H.value }, null, 8, ["src"]),
90
89
  l("div", ue, [
91
90
  l("div", de, [
92
91
  l("div", ce, [
93
92
  l("div", pe, k(((n = Q.value) == null ? void 0 : n.nameWithSequence) ?? "-"), 1),
94
93
  l("div", fe, [
95
94
  l("span", me, k(((o = e.value) == null ? void 0 : o.assetId) ?? "-") + " " + k(K.value), 1),
96
- s.useTagType ? (p(), c(se, { key: 0 }, [
95
+ s.useTagType ? (c(), d(se, { key: 0 }, [
97
96
  a[0] || (a[0] = l("div", { class: "w-[6px] h-[6px] rounded-full bg-general-100" }, null, -1)),
98
- m(oe, {
97
+ f(oe, {
99
98
  type: P.value,
100
99
  "use-nfc": s.useNfc
101
100
  }, null, 8, ["type", "use-nfc"])
102
- ], 64)) : v("", !0)
101
+ ], 64)) : m("", !0)
103
102
  ])
104
103
  ]),
105
- W(R).userType !== "Basic" ? (p(), c("a", {
104
+ W(R).userType !== "Basic" ? (c(), d("a", {
106
105
  key: 0,
107
106
  href: `/assets/detail/${((i = e.value) == null ? void 0 : i.asset) ?? ((r = e.value) == null ? void 0 : r._id)}`,
108
107
  class: "text-primary-500",
109
108
  target: "_blank"
110
- }, " Asset Detail > ", 8, ve)) : v("", !0)
109
+ }, " Asset Detail > ", 8, ve)) : m("", !0)
111
110
  ]),
112
111
  l("div", ge, [
113
- !t.fields || (u = t.fields) != null && u.includes("brand") ? (p(), c("div", _e, [
112
+ !t.fields || (u = t.fields) != null && u.includes("brand") ? (c(), d("div", _e, [
114
113
  l("span", {
115
114
  class: b(x.value)
116
115
  }, " Brand ", 2),
117
116
  a[1] || (a[1] = l("span", null, ":", -1)),
118
- m(h, {
119
- label: ((g = (d = e.value) == null ? void 0 : d.assetBrand) == null ? void 0 : g.name) ?? ((D = (_ = e.value) == null ? void 0 : _.brand) == null ? void 0 : D.name) ?? "-",
117
+ f(h, {
118
+ label: ((g = (v = e.value) == null ? void 0 : v.assetBrand) == null ? void 0 : g.name) ?? ((I = (_ = e.value) == null ? void 0 : _.brand) == null ? void 0 : I.name) ?? "-",
120
119
  severity: "dark"
121
120
  }, null, 8, ["label"])
122
- ])) : v("", !0),
123
- !t.fields || (B = t.fields) != null && B.includes("model") ? (p(), c("div", ye, [
121
+ ])) : m("", !0),
122
+ !t.fields || (N = t.fields) != null && N.includes("model") ? (c(), d("div", ye, [
124
123
  l("span", {
125
124
  class: b(x.value)
126
125
  }, " Model/Type ", 2),
127
126
  a[2] || (a[2] = l("span", null, ":", -1)),
128
- m(h, {
129
- label: ((S = (N = e.value) == null ? void 0 : N.assetModel) == null ? void 0 : S.name) ?? ((A = (C = e.value) == null ? void 0 : C.model) == null ? void 0 : A.name) ?? "-",
127
+ f(h, {
128
+ label: ((B = (S = e.value) == null ? void 0 : S.assetModel) == null ? void 0 : B.name) ?? ((A = (C = e.value) == null ? void 0 : C.model) == null ? void 0 : A.name) ?? "-",
130
129
  severity: "dark"
131
130
  }, null, 8, ["label"])
132
- ])) : v("", !0),
133
- !t.fields || ($ = t.fields) != null && $.includes("group") ? (p(), c("div", xe, [
131
+ ])) : m("", !0),
132
+ !t.fields || ($ = t.fields) != null && $.includes("group") ? (c(), d("div", xe, [
134
133
  l("span", {
135
134
  class: b(x.value)
136
135
  }, " Group ", 2),
137
136
  a[3] || (a[3] = l("span", null, ":", -1)),
138
- m(h, {
137
+ f(h, {
139
138
  label: ((E = (L = e.value) == null ? void 0 : L.assetGroup) == null ? void 0 : E.name) ?? ((M = (F = e.value) == null ? void 0 : F.group) == null ? void 0 : M.name) ?? "-"
140
139
  }, null, 8, ["label"])
141
- ])) : v("", !0),
142
- (V = t.fields) != null && V.includes("status") ? (p(), c("div", be, [
140
+ ])) : m("", !0),
141
+ (V = t.fields) != null && V.includes("status") ? (c(), d("div", be, [
143
142
  l("span", {
144
143
  class: b(x.value)
145
144
  }, " Asset Status ", 2),
146
145
  a[4] || (a[4] = l("span", null, ":", -1)),
147
- m(h, {
146
+ f(h, {
148
147
  label: ((j = e.value) == null ? void 0 : j.status) ?? "-",
149
148
  severity: W(te)((G = e.value) == null ? void 0 : G.status),
150
149
  format: "nowrap"
151
150
  }, null, 8, ["label", "severity"])
152
- ])) : v("", !0)
151
+ ])) : m("", !0)
153
152
  ])
154
153
  ])
155
154
  ]);
@@ -157,6 +156,6 @@ const q = J(!1), z = X(), ie = () => ({
157
156
  }
158
157
  });
159
158
  export {
160
- Se as _,
159
+ Be as _,
161
160
  ie as u
162
161
  };
@@ -11,7 +11,7 @@ import { _ as oe } from "../image/index.es.js";
11
11
  import { _ as Ce } from "../tabmenu/index.es.js";
12
12
  import { _ as Le } from "../tagtype/index.es.js";
13
13
  import { _ as Se } from "../timeline/index.es.js";
14
- const $e = { class: "w-full flex items-center justify-between" }, Be = { class: "flex items-center gap-2" }, Te = ["disabled"], Me = ["disabled"], Pe = { class: "flex items-start gap-[18px]" }, Ve = { class: "flex flex-col w-full" }, Ae = { class: "w-full flex items-center justify-between" }, je = { class: "text-body-medium !font-bold" }, Ee = { class: "flex items-center gap-[6px] text-general-400" }, ze = { class: "flex gap-3 w-full mt-[6px]" }, Fe = { class: "flex flex-col gap-1 items-start self-stretch" }, Ge = { class: "flex gap-2" }, Ue = ["data-wv-section"], Ke = {
14
+ const $e = { class: "w-full flex items-center justify-between" }, Te = { class: "flex items-center gap-2" }, Be = ["disabled"], Me = ["disabled"], Pe = { class: "flex items-start gap-[18px]" }, Ve = { class: "flex flex-col w-full" }, Ae = { class: "w-full flex items-center justify-between" }, je = { class: "text-body-medium !font-bold" }, Ee = { class: "flex items-center gap-[6px] text-general-400" }, ze = { class: "flex gap-3 w-full mt-[6px]" }, Fe = { class: "flex flex-col gap-1 items-start self-stretch" }, Ge = { class: "flex gap-2" }, Ue = ["data-wv-section"], Ke = {
15
15
  class: "text-body-medium text-general-400",
16
16
  "data-wv-section": "key"
17
17
  }, We = {
@@ -123,13 +123,13 @@ const $e = { class: "w-full flex items-center justify-between" }, Be = { class:
123
123
  header: v(() => [
124
124
  t("div", $e, [
125
125
  e[2] || (e[2] = t("h1", { class: "!text-base font-bold" }, "Damage Log", -1)),
126
- t("div", Be, [
126
+ t("div", Te, [
127
127
  t("button", {
128
128
  class: b([l.value === 0 ? "text-general-100" : "text-primary", "text-xs font-medium"]),
129
129
  disabled: l.value === 0,
130
130
  onClick: fe,
131
131
  "data-wv-section": "prev-button"
132
- }, " <Prev ", 10, Te),
132
+ }, " <Prev ", 10, Be),
133
133
  t("button", {
134
134
  class: b([
135
135
  l.value === d.value.length - 1 || d.value.length === 1 ? "text-general-100" : "text-primary",
@@ -143,11 +143,11 @@ const $e = { class: "w-full flex items-center justify-between" }, Be = { class:
143
143
  ])
144
144
  ]),
145
145
  default: v(() => {
146
- var o, m, q, R, N, C, L, S, $, B, T, M, P, V, A, j, E, z, F, G, U, K, W, H, J, O, Q, X, Y;
146
+ var o, m, q, R, N, C, L, S, $, T, B, M, P, V, A, j, E, z, F, G, U, K, W, H, J, O, Q, X, Y;
147
147
  return [
148
148
  t("div", Pe, [
149
149
  i(oe, {
150
- src: (m = (o = a.value) == null ? void 0 : o.request) == null ? void 0 : m.assetImageBig,
150
+ src: (m = (o = a.value) == null ? void 0 : o.request) == null ? void 0 : m.assetImage,
151
151
  size: "big"
152
152
  }, null, 8, ["src"]),
153
153
  t("div", Ve, [
@@ -160,7 +160,7 @@ const $e = { class: "w-full flex items-center justify-between" }, Be = { class:
160
160
  }, " Asset Detail > ")
161
161
  ]),
162
162
  t("div", Ee, [
163
- t("p", null, u(((L = (C = a.value) == null ? void 0 : C.request) == null ? void 0 : L.assetId) ?? "-") + " " + u((T = (B = ($ = (S = a.value) == null ? void 0 : S.request) == null ? void 0 : $.assetName) == null ? void 0 : B.aliasCode) != null && T.length ? `(${(V = (P = (M = a.value) == null ? void 0 : M.request) == null ? void 0 : P.assetName) == null ? void 0 : V.aliasCode})` : ""), 1),
163
+ t("p", null, u(((L = (C = a.value) == null ? void 0 : C.request) == null ? void 0 : L.assetId) ?? "-") + " " + u((B = (T = ($ = (S = a.value) == null ? void 0 : S.request) == null ? void 0 : $.assetName) == null ? void 0 : T.aliasCode) != null && B.length ? `(${(V = (P = (M = a.value) == null ? void 0 : M.request) == null ? void 0 : P.assetName) == null ? void 0 : V.aliasCode})` : ""), 1),
164
164
  ae(ke)() === "Enterprise" ? (n(), se(ye, { key: 0 }, [
165
165
  e[3] || (e[3] = t("div", { class: "w-[6px] h-[6px] bg-general-100 rounded" }, null, -1)),
166
166
  (j = (A = a.value) == null ? void 0 : A.request) != null && j.tagType ? (n(), p(Le, {
@@ -1,22 +1,21 @@
1
- import { ref as u, defineComponent as S, computed as U, watch as $, createBlock as C, openBlock as c, withCtx as v, createElementVNode as i, createElementBlock as f, createCommentVNode as y, createVNode as n, Fragment as N, renderList as B, toDisplayString as h, unref as D, renderSlot as P } from "vue";
2
- import { getImageURL as E } from "@tagsamurai/fats-api-services";
3
- import { _ as I } from "../image/index.es.js";
1
+ import { ref as u, defineComponent as S, computed as $, watch as C, createBlock as N, openBlock as c, withCtx as v, createElementVNode as i, createElementBlock as f, createCommentVNode as y, createVNode as n, Fragment as U, renderList as D, toDisplayString as h, unref as B, renderSlot as P } from "vue";
2
+ import { _ as E } from "../image/index.es.js";
4
3
  import { _ } from "../button/index.es.js";
5
- import { _ as L } from "../buttonfilter/index.es.js";
6
- import { _ as O } from "../buttonsearch/index.es.js";
7
- import { D as j } from "../datatable/index.es.js";
8
- import { _ as V } from "../dialog/index.es.js";
9
- import { _ as z } from "../dialogselectuserfilter/index.es.js";
10
- const R = () => u([
4
+ import { _ as O } from "../buttonfilter/index.es.js";
5
+ import { _ as j } from "../buttonsearch/index.es.js";
6
+ import { D as I } from "../datatable/index.es.js";
7
+ import { _ as L } from "../dialog/index.es.js";
8
+ import { _ as V } from "../dialogselectuserfilter/index.es.js";
9
+ const z = () => u([
11
10
  {
12
11
  field: "profilePictureSmall",
13
12
  header: "Photo",
14
13
  sortable: !1,
15
14
  bodyComponent(e) {
16
15
  return {
17
- component: I,
16
+ component: E,
18
17
  props: {
19
- src: E(e.profilePictureBig),
18
+ src: e.profilePicture,
20
19
  size: "small"
21
20
  }
22
21
  };
@@ -70,17 +69,17 @@ const R = () => u([
70
69
  return (e == null ? void 0 : e.division) ?? "-";
71
70
  }
72
71
  }
73
- ]), W = { class: "flex flex-col gap-2" }, Y = {
72
+ ]), R = { class: "flex flex-col gap-2" }, W = {
74
73
  key: 0,
75
74
  class: "overflow-auto max-h-20 list-inside list-disc h-auto ml-2"
76
- }, q = {
75
+ }, Y = {
77
76
  class: "flex justify-between items-center gap-1",
78
77
  "data-ts-section": "dialog-asset-name-detail-action-group"
79
- }, A = { class: "" }, G = { class: "flex justify-end items-center gap-1" }, H = { class: "flex flex-col justify-end gap-1" }, J = {
78
+ }, q = { class: "" }, A = { class: "flex justify-end items-center gap-1" }, G = { class: "flex flex-col justify-end gap-1" }, H = {
80
79
  key: 0,
81
80
  class: "text-danger-500 text-[12px] font-light",
82
81
  "data-ts-section": "warning-message"
83
- }, oe = /* @__PURE__ */ S({
82
+ }, le = /* @__PURE__ */ S({
84
83
  __name: "DialogSelectUser",
85
84
  props: {
86
85
  header: { default: "Select User" },
@@ -94,7 +93,7 @@ const R = () => u([
94
93
  },
95
94
  emits: ["update:visible", "selected"],
96
95
  setup(e, { emit: g }) {
97
- const t = e, m = g, p = U(() => t.visible), d = u(!1), b = u(), r = u([]), a = u(), k = R(), x = () => {
96
+ const t = e, m = g, p = $(() => t.visible), d = u(!1), b = u(), r = u([]), a = u(), k = z(), x = () => {
98
97
  !r.value.length && !a.value ? d.value = !0 : (t.selectionType === "checkbox" ? m("selected", r.value) : m("selected", a.value), m("update:visible", !1));
99
98
  }, w = () => {
100
99
  r.value = [], a.value = void 0, d.value = !1;
@@ -102,13 +101,13 @@ const R = () => u([
102
101
  if (t.fetchFunction)
103
102
  return await t.fetchFunction(o);
104
103
  };
105
- return $(
104
+ return C(
106
105
  p,
107
106
  async (o) => {
108
107
  w(), o && t.fetchOptionFunction && (b.value = await t.fetchOptionFunction());
109
108
  },
110
109
  { immediate: !0 }
111
- ), (o, l) => (c(), C(V, {
110
+ ), (o, l) => (c(), N(L, {
112
111
  visible: p.value,
113
112
  "onUpdate:visible": [
114
113
  l[3] || (l[3] = (s) => p.value = s),
@@ -123,8 +122,8 @@ const R = () => u([
123
122
  }, {
124
123
  footer: v(() => [
125
124
  P(o.$slots, "footer", {}, () => [
126
- i("div", H, [
127
- d.value ? (c(), f("span", J, " You must pick a user ")) : y("", !0),
125
+ i("div", G, [
126
+ d.value ? (c(), f("span", H, " You must pick a user ")) : y("", !0),
128
127
  i("div", null, [
129
128
  n(_, {
130
129
  onClick: l[2] || (l[2] = (s) => o.$emit("update:visible", !1)),
@@ -143,25 +142,25 @@ const R = () => u([
143
142
  ])
144
143
  ]),
145
144
  default: v(() => [
146
- i("div", W, [
147
- t.list && t.list.length ? (c(), f("ul", Y, [
148
- (c(!0), f(N, null, B(t.list, (s, F) => (c(), f("li", { key: F }, h(s), 1))), 128))
145
+ i("div", R, [
146
+ t.list && t.list.length ? (c(), f("ul", W, [
147
+ (c(!0), f(U, null, D(t.list, (s, F) => (c(), f("li", { key: F }, h(s), 1))), 128))
149
148
  ])) : y("", !0),
150
- i("div", q, [
151
- i("div", A, h(o.description), 1),
152
- i("div", G, [
153
- n(O, { "table-name": "dialog-select-user-table" }),
154
- n(L, { "table-name": "dialog-select-user-table" })
149
+ i("div", Y, [
150
+ i("div", q, h(o.description), 1),
151
+ i("div", A, [
152
+ n(j, { "table-name": "dialog-select-user-table" }),
153
+ n(O, { "table-name": "dialog-select-user-table" })
155
154
  ])
156
155
  ]),
157
- n(z, {
156
+ n(V, {
158
157
  "filter-options": b.value,
159
158
  "table-name": "dialog-select-user-table"
160
159
  }, null, 8, ["filter-options"]),
161
- n(j, {
160
+ n(I, {
162
161
  "selected-data": r.value,
163
162
  "onUpdate:selectedData": l[0] || (l[0] = (s) => r.value = s),
164
- columns: D(k),
163
+ columns: B(k),
165
164
  "fetch-function": T,
166
165
  rows: 10,
167
166
  "selection-type": t.selectionType,
@@ -182,5 +181,5 @@ const R = () => u([
182
181
  }
183
182
  });
184
183
  export {
185
- oe as _
184
+ le as _
186
185
  };
@@ -76,7 +76,7 @@ const Y = {
76
76
  bodyComponent: (o) => ({
77
77
  component: G,
78
78
  props: {
79
- src: o.assetImageBig,
79
+ src: o.assetImage,
80
80
  description: "asset-report-photo",
81
81
  size: "small"
82
82
  }
@@ -183,7 +183,7 @@ const Y = {
183
183
  } finally {
184
184
  m(!1);
185
185
  }
186
- }, B = [
186
+ }, T = [
187
187
  {
188
188
  label: s("Remove from List"),
189
189
  icon: "delete-bin",
@@ -195,8 +195,8 @@ const Y = {
195
195
  ], h = (o) => {
196
196
  r.value = r.value.filter(
197
197
  (e) => !o.some((t) => e._id === t._id)
198
- ), T(o);
199
- }, T = (o) => {
198
+ ), B(o);
199
+ }, B = (o) => {
200
200
  o.forEach((e) => {
201
201
  n.value.delete(e._id ?? "");
202
202
  }), r.value.length || v(), p.add({
@@ -262,7 +262,7 @@ const Y = {
262
262
  columns: C,
263
263
  data: r.value,
264
264
  lazy: !1,
265
- options: B,
265
+ options: T,
266
266
  rows: 10,
267
267
  onToggleOption: e[3] || (e[3] = (t) => b.value = t),
268
268
  "data-key": "_id",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.1-alpha.49",
3
+ "version": "1.0.1-alpha.50",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",