@feedmepos/mf-hrm-portal 2.2.1 → 2.2.2-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 (50) hide show
  1. package/dist/{ApprovalCodeList-BWQBJGCZ.js → ApprovalCodeList-B9O8QzzI.js} +5 -5
  2. package/dist/AuditLogList-CtFEXKWZ.js +1722 -0
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BDOdtKwI.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C9MYbxum.js} +2 -2
  4. package/dist/{EmployeeList-BZ6fxRCN.js → EmployeeList-BFxMwFJq.js} +71 -71
  5. package/dist/{GrantUserList-CaVpRVzA.js → GrantUserList-CZtmMRoS.js} +6 -6
  6. package/dist/{Main-CEKiyT80.js → Main-B622Z4q4.js} +11 -11
  7. package/dist/{Main-CQpEciKH.js → Main-DD6IthCS.js} +5 -5
  8. package/dist/{Main-DrfRLxA5.js → Main-on0TXkQt.js} +8 -8
  9. package/dist/{PermissionSetList-BgOSJy4y.js → PermissionSetList-FCX3TBoi.js} +77 -78
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B2SX3ZoV.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cl_YNh0k.js} +832 -837
  11. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-Z-DH7ouY.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js} +1 -1
  12. package/dist/RoleList-p_9KHzqF.js +725 -0
  13. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-B4PxNMwq.js +16 -0
  14. package/dist/{TeamMemberList-BXk_pXjc.js → TeamMemberList-BAU7Y3jh.js} +313 -312
  15. package/dist/{TimesheetList-DgaZmgug.js → TimesheetList-DtFBWhma.js} +7 -7
  16. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-B_Lc8Xmy.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-Tatn3jUv.js} +3 -3
  17. package/dist/{app-DzagkC6l.js → app-Bbf6hEPt.js} +1086 -781
  18. package/dist/app.js +1 -1
  19. package/dist/{approval-code-BRClD2HN.js → approval-code-jIjkeVEb.js} +1 -1
  20. package/dist/{dayjs.min-CqJsImsm.js → dayjs.min-BAnGg8q2.js} +1 -1
  21. package/dist/{employee-CXBuv0Bx.js → employee-DVSD3L51.js} +4 -4
  22. package/dist/{grant-user-Dhi3ilC_.js → grant-user-SNiDV22U.js} +1 -1
  23. package/dist/{iteration-BCfwR_XH.js → iteration-BTZViJtd.js} +1 -1
  24. package/dist/{lodash-BJl3phr9.js → lodash-Cgdk4_YL.js} +1 -1
  25. package/dist/{restaurant-DiYb0pCm.js → restaurant-BTpBmfBV.js} +2 -2
  26. package/dist/{role-BfCNRnuy.js → role-CXVpO6fB.js} +2 -2
  27. package/dist/{rule-B3Eg-J8O.js → rule-TR3MVo-b.js} +259 -279
  28. package/dist/src/api/audit-log/index.d.ts +6 -0
  29. package/dist/src/api/user/index.d.ts +2 -2
  30. package/dist/src/composables/useReportPermissions.d.ts +0 -1
  31. package/dist/src/helpers/rule.d.ts +0 -2
  32. package/dist/src/types/audit-log.d.ts +1 -1
  33. package/dist/src/types/role.d.ts +0 -1
  34. package/dist/src/views/audit-log/change-nodes.d.ts +14 -0
  35. package/dist/src/views/audit-log/event-line.d.ts +13 -0
  36. package/dist/src/views/audit-log/locales/index.d.ts +300 -0
  37. package/dist/src/views/audit-log/operation-status.d.ts +2 -0
  38. package/dist/src/views/audit-log/snapshot-diff.d.ts +11 -0
  39. package/dist/src/views/hr/locales/index.d.ts +0 -4
  40. package/dist/style.css +1 -1
  41. package/dist/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/{useAppStore-BGhlB1_1.js → useAppStore-DCwd8GWN.js} +1 -1
  43. package/dist/useDebounce-B8ZPVS5C.js +15 -0
  44. package/dist/{useLoading-CvgqVDbF.js → useLoading-CXzTpIVv.js} +1 -1
  45. package/dist/useReportPermissions-BpAFyO17.js +71 -0
  46. package/package.json +1 -1
  47. package/dist/AuditLogList-CymSyHag.js +0 -1149
  48. package/dist/RoleList-C2PrTc1f.js +0 -739
  49. package/dist/useDebounce-CWb5QR9G.js +0 -28
  50. package/dist/useReportPermissions-CXXq725N.js +0 -82
@@ -1,15 +1,15 @@
1
- import { defineComponent as Z, ref as v, computed as b, watch as ue, resolveComponent as h, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as y, toDisplayString as G, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
2
- import { useI18n as se, useCoreStore as be } from "@feedmepos/mf-common";
1
+ import { defineComponent as Z, ref as f, computed as h, watch as ue, resolveComponent as b, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as y, toDisplayString as G, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
2
+ import { useI18n as se, useCoreStore as he } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as oe, useDialog as te, useBreakpoints as ne, components as H } from "@feedmepos/ui-library";
4
- import { b as Q, _ as he } from "./app-DzagkC6l.js";
4
+ import { b as Q, _ as be } from "./app-Bbf6hEPt.js";
5
5
  import { _ as _e } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
6
6
  import { u as ge, _ as Pe } from "./useDiscardConfirm-DPhEV6v0.js";
7
- import { u as ie, c as M, i as ae, p as Y, j as ye, d as we, m as A, q as xe, v as Fe, n as ke, o as Ce, x as Ie } from "./rule-B3Eg-J8O.js";
8
- import { l as T } from "./lodash-BJl3phr9.js";
9
- import { c as Ve } from "./iteration-BCfwR_XH.js";
10
- import { u as Re } from "./useLoading-CvgqVDbF.js";
11
- import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B2SX3ZoV.js";
12
- import { A as je } from "./restaurant-DiYb0pCm.js";
7
+ import { u as ie, c as M, i as ae, p as Y, j as ye, d as we, m as L, q as xe, v as Fe, n as ke, o as Ce, x as Ie } from "./rule-TR3MVo-b.js";
8
+ import { l as j } from "./lodash-Cgdk4_YL.js";
9
+ import { c as Re } from "./iteration-BTZViJtd.js";
10
+ import { u as Ve } from "./useLoading-CXzTpIVv.js";
11
+ import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cl_YNh0k.js";
12
+ import { A as je } from "./restaurant-BTpBmfBV.js";
13
13
  const Te = { class: "flex w-full items-center justify-between" }, $e = { class: "fm-typo-en-title-md-600" }, Be = { class: "fm-typo-en-title-sm-600 mt-24" }, Le = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ Z({
14
14
  __name: "PermissionSetForm",
15
15
  props: {
@@ -18,19 +18,19 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
18
18
  default: () => ({})
19
19
  }
20
20
  },
21
- setup(K, { expose: D }) {
22
- const o = K, { t: i } = se(), f = v(!1), $ = b(() => {
21
+ setup(K, { expose: A }) {
22
+ const o = K, { t: i } = se(), v = f(!1), T = h(() => {
23
23
  var e;
24
24
  return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
25
- }), I = v(), q = oe(), w = te(), { breakpoints: V } = ne(), R = Re(q), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], N = b(() => {
25
+ }), I = f(), D = oe(), w = te(), { breakpoints: R } = ne(), V = Ve(D), l = ie(), d = f({ ...o.modelValue }), a = f([]), p = f([]), $ = [(e) => !!e || i("permissionSet.form.nameRequired")], q = h(() => {
26
26
  var e;
27
27
  return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
28
- }), O = b(
28
+ }), N = h(
29
29
  () => l.permissionSets.value.filter((e) => {
30
30
  var s;
31
31
  return e.id !== ((s = o.modelValue) == null ? void 0 : s.id);
32
32
  }).map((e) => ({ label: e.name, value: e.id }))
33
- ), E = b(
33
+ ), E = h(
34
34
  () => M(a.value, l.permissionSets.value)
35
35
  ), {
36
36
  fetchCustomReportPermissions: n,
@@ -38,46 +38,46 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
38
38
  isLoaded: c
39
39
  } = ae(), _ = new Set(
40
40
  Y.filter((e) => e.subject.startsWith(ye)).map((e) => e.subject)
41
- ), g = b(() => {
41
+ ), g = h(() => {
42
42
  const e = new Set(_);
43
43
  for (const s of t.value) e.add(s.subject);
44
44
  return e;
45
- }), z = b(() => {
45
+ }), O = h(() => {
46
46
  const e = /* @__PURE__ */ new Set();
47
47
  for (const s of Y)
48
48
  s.category === Q.reports && e.add(s.subject);
49
49
  for (const s of t.value)
50
50
  s.category === Q.reports && e.add(s.subject);
51
51
  return e;
52
- }), P = v({ name: "", permissionSetIds: [], userPermissions: [] });
53
- async function U() {
52
+ }), P = f({ name: "", permissionSetIds: [], userPermissions: [] });
53
+ async function z() {
54
54
  var s, u;
55
- await pe(), f.value = !f.value, d.value = { ...o.modelValue }, a.value = ((s = o.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
55
+ await pe(), v.value = !v.value, d.value = { ...o.modelValue }, a.value = ((s = o.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
56
56
  const e = ((u = o.modelValue) == null ? void 0 : u.permissions) ?? [];
57
57
  p.value = we(
58
- A(E.value),
58
+ L(E.value),
59
59
  e
60
60
  ), P.value = {
61
61
  name: d.value.name ?? "",
62
62
  permissionSetIds: [...a.value],
63
- userPermissions: Ve(p.value)
63
+ userPermissions: Re(p.value)
64
64
  };
65
65
  }
66
- ue(f, async (e) => {
66
+ ue(v, async (e) => {
67
67
  e && await n();
68
68
  });
69
- const W = ge(
70
- () => !T.isEqual(d.value.name ?? "", P.value.name) || !T.isEqual(a.value, P.value.permissionSetIds) || !T.isEqual(p.value, P.value.userPermissions),
69
+ const U = ge(
70
+ () => !j.isEqual(d.value.name ?? "", P.value.name) || !j.isEqual(a.value, P.value.permissionSetIds) || !j.isEqual(p.value, P.value.userPermissions),
71
71
  () => {
72
- f.value = !1;
72
+ v.value = !1;
73
73
  }
74
74
  );
75
75
  function re() {
76
- const e = A(E.value), s = c.value ? g.value : _, u = xe(p.value, s), x = Fe(u, z.value), F = ke(x);
76
+ const e = L(E.value), s = c.value ? g.value : _, u = xe(p.value, s), x = Fe(u, O.value), F = ke(x);
77
77
  return Ce(e, F);
78
78
  }
79
79
  function J(e) {
80
- return A(
80
+ return L(
81
81
  M(e, l.permissionSets.value)
82
82
  );
83
83
  }
@@ -86,8 +86,8 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
86
86
  }
87
87
  function le(e) {
88
88
  const s = [...e ?? []];
89
- if (T.isEqual(s, a.value)) return;
90
- const u = !T.isEqual(
89
+ if (j.isEqual(s, a.value)) return;
90
+ const u = !j.isEqual(
91
91
  p.value,
92
92
  J(a.value)
93
93
  );
@@ -98,7 +98,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
98
98
  w.open({
99
99
  title: i("permissionSet.form.overrideInherited.title"),
100
100
  message: i("permissionSet.form.overrideInherited.message"),
101
- minWidth: V.value.lg ? 588 : 0,
101
+ minWidth: R.value.lg ? 588 : 0,
102
102
  primaryActions: {
103
103
  text: i("permissionSet.form.overrideInherited.override"),
104
104
  close: !1
@@ -113,11 +113,11 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
113
113
  }
114
114
  async function me() {
115
115
  var u, x;
116
- const e = await ((u = I.value) == null ? void 0 : u.validateInputsWithoutSubmit()), s = (x = be().currentBusiness.value) == null ? void 0 : x.id;
117
- !(e != null && e.length) && s && R.minor(async () => {
118
- var L;
116
+ const e = await ((u = I.value) == null ? void 0 : u.validateInputsWithoutSubmit()), s = (x = he().currentBusiness.value) == null ? void 0 : x.id;
117
+ !(e != null && e.length) && s && V.minor(async () => {
118
+ var B;
119
119
  const F = re();
120
- if ((L = o.modelValue) != null && L.id) {
120
+ if ((B = o.modelValue) != null && B.id) {
121
121
  const k = {
122
122
  name: d.value.name,
123
123
  permissions: F,
@@ -134,35 +134,34 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
134
134
  };
135
135
  await l.createPermissionSet(k);
136
136
  }
137
- f.value = !1;
137
+ v.value = !1;
138
138
  });
139
139
  }
140
- return D({
141
- trigger: U
140
+ return A({
141
+ trigger: z
142
142
  }), (e, s) => {
143
- const u = h("FmIcon"), x = h("FmTextField"), F = h("FmSelect"), L = h("FmForm"), k = h("FmButton"), ce = h("FmSideSheet");
143
+ const u = b("FmIcon"), x = b("FmTextField"), F = b("FmSelect"), B = b("FmForm"), k = b("FmButton"), ce = b("FmSideSheet");
144
144
  return ee(), de(ce, {
145
- modelValue: f.value,
146
- "onUpdate:modelValue": s[2] || (s[2] = (j) => f.value = j),
145
+ "model-value": v.value,
147
146
  "max-width": 960,
148
147
  "close-button": !1,
149
- "onOn:clickedAway": r(W)
148
+ "onOn:clickedAway": r(U)
150
149
  }, {
151
150
  "side-sheet-header": C(() => [
152
151
  y("div", Te, [
153
- y("p", $e, G($.value), 1),
152
+ y("p", $e, G(T.value), 1),
154
153
  m(u, {
155
154
  name: "close",
156
155
  size: "md",
157
156
  class: "cursor-pointer",
158
- onClick: r(W)
157
+ onClick: r(U)
159
158
  }, null, 8, ["onClick"])
160
159
  ])
161
160
  ]),
162
161
  "side-sheet-footer": C(() => [
163
162
  y("div", Le, [
164
163
  m(k, {
165
- label: N.value,
164
+ label: q.value,
166
165
  size: "md",
167
166
  variant: "primary",
168
167
  type: "submit",
@@ -172,29 +171,29 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
172
171
  label: r(i)("common.cancel"),
173
172
  size: "md",
174
173
  variant: "secondary",
175
- onClick: r(W)
174
+ onClick: r(U)
176
175
  }, null, 8, ["label", "onClick"])
177
176
  ])
178
177
  ]),
179
178
  default: C(() => [
180
- m(L, {
179
+ m(B, {
181
180
  ref_key: "formRef",
182
181
  ref: I
183
182
  }, {
184
183
  default: C(() => [
185
184
  m(x, {
186
185
  modelValue: d.value.name,
187
- "onUpdate:modelValue": s[0] || (s[0] = (j) => d.value.name = j),
186
+ "onUpdate:modelValue": s[0] || (s[0] = (W) => d.value.name = W),
188
187
  label: r(i)("permissionSet.form.name"),
189
188
  placeholder: r(i)("permissionSet.form.namePlaceholder"),
190
- rules: B
189
+ rules: $
191
190
  }, null, 8, ["modelValue", "label", "placeholder"]),
192
191
  m(F, {
193
192
  "model-value": a.value,
194
193
  multiselect: "",
195
194
  searchable: "",
196
195
  "search-debounce": 300,
197
- items: O.value,
196
+ items: N.value,
198
197
  label: r(i)("permissionSet.form.includedSets"),
199
198
  placeholder: r(i)("permissionSet.form.includedSetsPlaceholder"),
200
199
  class: "mt-16",
@@ -203,7 +202,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
203
202
  y("div", Be, G(r(i)("team.memberForm.permissions.title")), 1),
204
203
  m(Ee, {
205
204
  modelValue: p.value,
206
- "onUpdate:modelValue": s[1] || (s[1] = (j) => p.value = j),
205
+ "onUpdate:modelValue": s[1] || (s[1] = (W) => p.value = W),
207
206
  "inherit-permissions": E.value,
208
207
  class: "mt-16"
209
208
  }, null, 8, ["modelValue", "inherit-permissions"])
@@ -212,29 +211,29 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
212
211
  }, 512)
213
212
  ]),
214
213
  _: 1
215
- }, 8, ["modelValue", "onOn:clickedAway"]);
214
+ }, 8, ["model-value", "onOn:clickedAway"]);
216
215
  };
217
216
  }
218
217
  }), De = { class: "space-y-8" }, qe = { class: "flex justify-end xs:px-16" }, Ne = { class: "flex flex-col h-full overflow-auto" }, Ze = /* @__PURE__ */ Z({
219
218
  __name: "PermissionSetList",
220
- setup(K, { expose: D }) {
221
- const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), $ = oe(), I = te(), { breakpoints: q } = ne(), w = v(""), V = b(() => {
219
+ setup(K, { expose: A }) {
220
+ const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: v } = ae(), T = oe(), I = te(), { breakpoints: D } = ne(), w = f(""), R = h(() => {
222
221
  var n;
223
222
  return (n = d.value) == null ? void 0 : n.filter((t) => {
224
223
  const c = w.value.toLowerCase();
225
224
  return t.name.toLowerCase().includes(c);
226
225
  });
227
- }), R = v(), l = ie(), d = b(
226
+ }), V = f(), l = ie(), d = h(
228
227
  () => l.permissionSets.value
229
- ), a = v();
228
+ ), a = f();
230
229
  async function p() {
231
230
  await l.readPermissionSets();
232
231
  }
233
- function B(n) {
232
+ function $(n) {
234
233
  var t;
235
- a.value = n, (t = R.value) == null || t.trigger();
234
+ a.value = n, (t = V.value) == null || t.trigger();
236
235
  }
237
- const N = [
236
+ const q = [
238
237
  {
239
238
  accessorKey: "name",
240
239
  header: () => o("permissionSet.table.columns.name")
@@ -247,7 +246,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
247
246
  const t = n.row.original, c = M(
248
247
  [t.id],
249
248
  l.permissionSets.value
250
- ), _ = A(c), g = _.length, z = Ie(
249
+ ), _ = L(c), g = _.length, O = Ie(
251
250
  _,
252
251
  i.value
253
252
  );
@@ -263,8 +262,8 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
263
262
  }),
264
263
  content: () => S("div", [
265
264
  o("team.labels.permission"),
266
- ...z.map(
267
- (P, U) => S("div", { key: `${P}-${U}` }, `- ${P}`)
265
+ ...O.map(
266
+ (P, z) => S("div", { key: `${P}-${z}` }, `- ${P}`)
268
267
  )
269
268
  ])
270
269
  }
@@ -290,7 +289,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
290
289
  [
291
290
  S(Pe, {
292
291
  items: [
293
- { label: o("common.update"), onClick: () => B(t) },
292
+ { label: o("common.update"), onClick: () => $(t) },
294
293
  {
295
294
  label: o("common.remove"),
296
295
  onClick: () => E(t),
@@ -304,15 +303,15 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
304
303
  enableSorting: !1
305
304
  }
306
305
  ];
307
- function O() {
306
+ function N() {
308
307
  var n;
309
- a.value = void 0, (n = R.value) == null || n.trigger();
308
+ a.value = void 0, (n = V.value) == null || n.trigger();
310
309
  }
311
310
  async function E(n) {
312
311
  I.open({
313
312
  title: o("permissionSet.form.delete.title"),
314
313
  message: o("permissionSet.form.delete.confirmationMessage", { permissionSetName: n.name }),
315
- minWidth: q.value.lg ? 588 : 0,
314
+ minWidth: D.value.lg ? 588 : 0,
316
315
  primaryActions: {
317
316
  text: o("common.remove"),
318
317
  close: !1,
@@ -321,7 +320,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
321
320
  secondaryActions: { text: o("common.cancel"), close: !0 }
322
321
  }).onPrimary(async () => {
323
322
  try {
324
- await l.deletePermissionSet(n.id), $.open({
323
+ await l.deletePermissionSet(n.id), T.open({
325
324
  message: o("permissionSet.form.delete.successMessage", { permissionSetName: n.name }),
326
325
  type: "success"
327
326
  });
@@ -329,21 +328,21 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
329
328
  const c = t instanceof je && t.status === 409 ? t.message.includes("referenced by") ? o("permissionSet.form.delete.setReferencedConflictError", {
330
329
  permissionSetName: n.name
331
330
  }) : o("permissionSet.form.delete.conflictError", { permissionSetName: n.name }) : t instanceof Error ? t.message : `${t}`;
332
- $.open({ message: c, type: "error" });
331
+ T.open({ message: c, type: "error" });
333
332
  }
334
333
  I.close();
335
334
  });
336
335
  }
337
336
  return fe(() => {
338
- p(), f();
339
- }), D({
340
- create: O
337
+ p(), v();
338
+ }), A({
339
+ create: N
341
340
  }), (n, t) => {
342
- const c = h("FmSearch"), _ = h("FmTable");
341
+ const c = b("FmSearch"), _ = b("FmTable");
343
342
  return ee(), ve(Se, null, [
344
343
  m(Ae, {
345
344
  ref_key: "permissionSetFormRef",
346
- ref: R,
345
+ ref: V,
347
346
  "model-value": a.value
348
347
  }, null, 8, ["model-value"]),
349
348
  y("div", De, [
@@ -356,26 +355,26 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
356
355
  placeholder: r(o)("permissionSet.search.placeholder")
357
356
  }, null, 8, ["modelValue", "placeholder"])
358
357
  ]),
359
- m(he, null, {
358
+ m(be, null, {
360
359
  default: C(() => [
361
360
  y("div", Ne, [
362
361
  m(_e, {
363
362
  "is-loading": r(l).isLoading.value,
364
- "is-empty": V.value.length === 0,
363
+ "is-empty": R.value.length === 0,
365
364
  "collapse-at": !1,
366
365
  title: r(o)("permissionSet.noData.title"),
367
366
  subtitle: r(o)("permissionSet.noData.subtitle")
368
367
  }, {
369
368
  default: C(() => [
370
369
  m(_, {
371
- "column-defs": N,
372
- "row-data": V.value,
373
- "page-size": V.value.length,
370
+ "column-defs": q,
371
+ "row-data": R.value,
372
+ "page-size": R.value.length,
374
373
  loading: r(l).isLoading.value,
375
374
  "pin-header-row": "",
376
375
  "hide-footer": "",
377
376
  "shrink-at": !1,
378
- onRowClick: t[1] || (t[1] = (g) => B(g.original))
377
+ onRowClick: t[1] || (t[1] = (g) => $(g.original))
379
378
  }, null, 8, ["row-data", "page-size", "loading"])
380
379
  ]),
381
380
  _: 1