@feedmepos/mf-hrm-portal 2.0.11 → 2.0.12-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 (44) hide show
  1. package/dist/AuditLogList-Am6PW6qN.js +941 -0
  2. package/dist/EmployeeList-00LF0l6U.js +696 -0
  3. package/dist/{Main-SeHua_qu.js → Main-BC_y5Gzg.js} +4 -4
  4. package/dist/{Main-C-iGHHd0.js → Main-BY_V1guq.js} +2469 -2459
  5. package/dist/{Main-Dsuhh6Fk.js → Main-Chau30wK.js} +8 -9
  6. package/dist/{PermissionSetList-BncaRNzo.js → PermissionSetList-CDUFrGRE.js} +124 -128
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang--O2VRpc8.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CGIontQw.js} +950 -950
  8. package/dist/RoleList-BVQ4zkA8.js +519 -0
  9. package/dist/TeamMemberList-D65MpqIr.js +1098 -0
  10. package/dist/{TimesheetList-B1-VPwJq.js → TimesheetList-Dc295zCI.js} +74 -74
  11. package/dist/{app-DpmQDU7C.js → app-Iv5hLrRX.js} +50 -47
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-BJfcKBYO.js → dayjs.min-CJGjjQIJ.js} +1 -1
  14. package/dist/employee-C2Qhr8xO.js +207 -0
  15. package/dist/{index-F3OZA8nn.js → index-5ziPpN4I.js} +107 -84
  16. package/dist/{index-UgV84dZR.js → index-DzRWjF3a.js} +1 -1
  17. package/dist/{iteration-CF55rP35.js → iteration-L8TLGaCI.js} +489 -477
  18. package/dist/{lodash-CFUqrzKZ.js → lodash-Bbes-RWy.js} +1 -1
  19. package/dist/src/api/employee/index.d.ts +9 -8
  20. package/dist/src/api/team/index.d.ts +3 -1
  21. package/dist/src/composables/useDebounce.d.ts +9 -0
  22. package/dist/src/stores/employee.d.ts +515 -6
  23. package/dist/src/stores/team.d.ts +6 -0
  24. package/dist/src/types/employee.d.ts +35 -1
  25. package/dist/src/types/team.d.ts +18 -2
  26. package/dist/src/views/hr/employee/EmployeeForm.vue.d.ts +6 -2
  27. package/dist/src/views/hr/employee/EmployeeList.vue.d.ts +3 -0
  28. package/dist/src/views/team/locales/index.d.ts +3 -0
  29. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +9 -0
  30. package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +5 -5
  31. package/dist/style.css +1 -1
  32. package/dist/{timesheet-BEr75UJg.js → timesheet-Dbp6blBA.js} +3 -3
  33. package/dist/tsconfig.app.tsbuildinfo +1 -1
  34. package/dist/{useAppStore-qId__2vQ.js → useAppStore-e7cSGuDZ.js} +1 -1
  35. package/dist/useDebounce-BngBuKwH.js +12 -0
  36. package/dist/{useLoading-InEdxgzy.js → useLoading-C8ko-jia.js} +1 -1
  37. package/dist/{useReportPermissions-DOCdQzP7.js → useReportPermissions-B0EDgKey.js} +3 -3
  38. package/package.json +2 -2
  39. package/dist/AuditLogList-B1WVHfHe.js +0 -915
  40. package/dist/EmployeeList-D8pV4P6r.js +0 -621
  41. package/dist/RoleList-C3R_DmG3.js +0 -499
  42. package/dist/TeamMemberList-LkYfoLD1.js +0 -989
  43. package/dist/employee-CtTZ2RR7.js +0 -145
  44. package/dist/team-B-CRADxz.js +0 -33
@@ -4,15 +4,14 @@ import { useI18n as N } from "@feedmepos/mf-common";
4
4
  import { _ as g } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as h } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import "@feedmepos/ui-library";
7
- import "./index-F3OZA8nn.js";
8
- import "./iteration-CF55rP35.js";
9
- import { R as v } from "./app-DpmQDU7C.js";
10
- import "./useAppStore-qId__2vQ.js";
11
- import "./index-UgV84dZR.js";
7
+ import "./index-5ziPpN4I.js";
8
+ import "./iteration-L8TLGaCI.js";
9
+ import { R as v } from "./app-Iv5hLrRX.js";
10
+ import "./useAppStore-e7cSGuDZ.js";
11
+ import "./index-DzRWjF3a.js";
12
12
  /* empty css */
13
- /* empty css */
14
- import "./team-B-CRADxz.js";
15
- const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
13
+ /* empty css */
14
+ const w = { class: "space-y-24" }, P = /* @__PURE__ */ V({
16
15
  __name: "Main",
17
16
  setup(x) {
18
17
  const { t: a } = N(), f = k(), R = F(), _ = u(), b = u(), t = u("member");
@@ -83,5 +82,5 @@ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
83
82
  }
84
83
  });
85
84
  export {
86
- Q as default
85
+ P as default
87
86
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as q, computed as S, resolveComponent as u, createElementBlock as $, openBlock as g, createElementVNode as y, createVNode as r, toDisplayString as N, unref as c, withCtx as P, createTextVNode as te, Fragment as X, renderList as oe, ref as b, createBlock as H, nextTick as ne, onMounted as ie, h as z } from "vue";
2
- import { useI18n as M, useCoreStore as ae } from "@feedmepos/mf-common";
3
- import { useSnackbar as Q, useDialog as le, useBreakpoints as re, components as me, FmButtonColorThemeVariant as ce, FmButtonVariant as ue } from "@feedmepos/ui-library";
1
+ import { defineComponent as M, computed as S, resolveComponent as c, createElementBlock as L, openBlock as h, createElementVNode as x, createVNode as m, toDisplayString as N, unref as u, withCtx as g, createTextVNode as te, Fragment as H, renderList as oe, ref as _, createBlock as q, nextTick as ne, onMounted as ie, h as z } from "vue";
2
+ import { useI18n as K, useCoreStore as ae } from "@feedmepos/mf-common";
3
+ import { useSnackbar as Q, useDialog as re, useBreakpoints as le, components as me, FmButtonColorThemeVariant as ue, FmButtonVariant as ce } from "@feedmepos/ui-library";
4
4
  import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
- import { j as K, w as pe, u as Y, c as Z, p as G, k as fe, d as ve, m as A, n as Se, o as _e, s as be, q as he } from "./index-F3OZA8nn.js";
6
- import { A as Pe } from "./iteration-CF55rP35.js";
7
- import { u as ge } from "./useLoading-InEdxgzy.js";
8
- import { p as J } from "./app-DpmQDU7C.js";
9
- import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang--O2VRpc8.js";
10
- const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q({
5
+ import { j as G, w as pe, u as Y, c as Z, p as J, k as fe, d as ve, m as A, n as Se, o as be, s as _e, q as Pe } from "./index-5ziPpN4I.js";
6
+ import { A as ge } from "./iteration-L8TLGaCI.js";
7
+ import { u as he } from "./useLoading-C8ko-jia.js";
8
+ import { p as X } from "./app-Iv5hLrRX.js";
9
+ import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CGIontQw.js";
10
+ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M({
11
11
  __name: "PermissionWithTooltip",
12
12
  props: {
13
13
  modelValue: {
@@ -15,26 +15,26 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
15
15
  required: !0
16
16
  }
17
17
  },
18
- setup(E) {
19
- const { customReportPermissions: k } = K(), t = E, i = S(() => pe(t.modelValue, k.value)), { t: l } = M();
18
+ setup($) {
19
+ const { customReportPermissions: k } = G(), t = $, i = S(() => pe(t.modelValue, k.value)), { t: r } = K();
20
20
  return (R, C) => {
21
- const h = u("FmIcon"), F = u("FmTooltip");
22
- return g(), $("div", Fe, [
23
- y("span", null, N(c(l)("team.labels.allowed", { count: i.value.length })), 1),
24
- r(F, {
21
+ const P = c("FmIcon"), y = c("FmTooltip");
22
+ return h(), L("div", Fe, [
23
+ x("span", null, N(u(r)("team.labels.allowed", { count: i.value.length })), 1),
24
+ m(y, {
25
25
  variant: "plain",
26
26
  placement: "top"
27
27
  }, {
28
- content: P(() => [
29
- y("div", null, [
30
- te(N(c(l)("team.labels.permission")) + " ", 1),
31
- (g(!0), $(X, null, oe(i.value, (m, a) => (g(), $("div", {
32
- key: `${m}-${a}`
33
- }, " - " + N(m), 1))), 128))
28
+ content: g(() => [
29
+ x("div", null, [
30
+ te(N(u(r)("team.labels.permission")) + " ", 1),
31
+ (h(!0), L(H, null, oe(i.value, (l, a) => (h(), L("div", {
32
+ key: `${l}-${a}`
33
+ }, " - " + N(l), 1))), 128))
34
34
  ])
35
35
  ]),
36
- default: P(() => [
37
- r(h, {
36
+ default: g(() => [
37
+ m(P, {
38
38
  name: "info",
39
39
  class: "cursor-pointer text-fm-color-neutral-gray-300"
40
40
  })
@@ -44,7 +44,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
44
44
  ]);
45
45
  };
46
46
  }
47
- }), we = { class: "fm-typo-en-title-md-600" }, xe = { class: "flex items-center justify-start gap-8" }, ke = /* @__PURE__ */ q({
47
+ }), we = { class: "fm-typo-en-title-md-600" }, xe = { class: "flex items-center justify-start gap-8" }, ke = /* @__PURE__ */ M({
48
48
  __name: "PermissionSetForm",
49
49
  props: {
50
50
  modelValue: {
@@ -52,137 +52,137 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
52
52
  default: () => ({})
53
53
  }
54
54
  },
55
- setup(E, { expose: k }) {
56
- const t = E, { t: i } = M(), l = b(!1), R = S(() => {
55
+ setup($, { expose: k }) {
56
+ const t = $, { t: i } = K(), r = _(!1), R = S(() => {
57
57
  var e;
58
58
  return (e = t.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
59
- }), C = b(), h = Q(), F = ge(h), m = Y(), a = b({ ...t.modelValue }), d = b([]), p = b([]), D = [(e) => !!e || "Permission set name is required"], U = S(() => {
59
+ }), C = _(), P = Q(), y = he(P), l = Y(), a = _({ ...t.modelValue }), d = _([]), p = _([]), D = [(e) => !!e || "Permission set name is required"], U = S(() => {
60
60
  var e;
61
61
  return (e = t.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
62
62
  }), W = S(
63
- () => m.permissionSets.value.filter((e) => {
63
+ () => l.permissionSets.value.filter((e) => {
64
64
  var s;
65
65
  return e.id !== ((s = t.modelValue) == null ? void 0 : s.id);
66
66
  }).map((e) => ({ label: e.name, value: e.id }))
67
- ), V = S(
68
- () => Z(d.value, m.permissionSets.value)
69
- ), { customReportPermissions: L, isLoaded: n } = K(), o = new Set(
70
- G.filter((e) => e.subject.startsWith(fe)).map((e) => e.subject)
67
+ ), F = S(
68
+ () => Z(d.value, l.permissionSets.value)
69
+ ), { customReportPermissions: E, isLoaded: n } = G(), o = new Set(
70
+ J.filter((e) => e.subject.startsWith(fe)).map((e) => e.subject)
71
71
  ), f = S(() => {
72
72
  const e = new Set(o);
73
- for (const s of L.value) e.add(s.subject);
73
+ for (const s of E.value) e.add(s.subject);
74
74
  return e;
75
75
  }), j = S(() => {
76
76
  const e = /* @__PURE__ */ new Set();
77
- for (const s of G)
78
- s.category === J.reports && e.add(s.subject);
79
- for (const s of L.value)
80
- s.category === J.reports && e.add(s.subject);
77
+ for (const s of J)
78
+ s.category === X.reports && e.add(s.subject);
79
+ for (const s of E.value)
80
+ s.category === X.reports && e.add(s.subject);
81
81
  return e;
82
82
  });
83
83
  async function O() {
84
84
  var s, v;
85
- await ne(), l.value = !l.value, a.value = { ...t.modelValue }, d.value = ((s = t.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
85
+ await ne(), r.value = !r.value, a.value = { ...t.modelValue }, d.value = ((s = t.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
86
86
  const e = ((v = t.modelValue) == null ? void 0 : v.permissions) ?? [];
87
87
  p.value = ve(
88
- A(V.value),
88
+ A(F.value),
89
89
  e
90
90
  );
91
91
  }
92
92
  function I() {
93
- const e = A(V.value), s = n.value ? f.value : o, v = Se(p.value, s), w = _e(v, j.value), x = be(w);
94
- return he(e, x);
93
+ const e = A(F.value), s = n.value ? f.value : o, v = Se(p.value, s), V = be(v, j.value), w = _e(V);
94
+ return Pe(e, w);
95
95
  }
96
96
  function ee() {
97
- p.value = A(V.value);
97
+ p.value = A(F.value);
98
98
  }
99
99
  async function se() {
100
- var v, w;
101
- const e = await ((v = C.value) == null ? void 0 : v.validateInputsWithoutSubmit()), s = (w = ae().currentBusiness.value) == null ? void 0 : w.id;
102
- !(e != null && e.length) && s && F.minor(async () => {
100
+ var v, V;
101
+ const e = await ((v = C.value) == null ? void 0 : v.validateInputsWithoutSubmit()), s = (V = ae().currentBusiness.value) == null ? void 0 : V.id;
102
+ !(e != null && e.length) && s && y.minor(async () => {
103
103
  var T;
104
- const x = I();
104
+ const w = I();
105
105
  if ((T = t.modelValue) != null && T.id) {
106
106
  const B = {
107
107
  name: a.value.name,
108
- permissions: x,
108
+ permissions: w,
109
109
  permissionSetIds: d.value,
110
110
  businessId: a.value.businessId
111
111
  };
112
- await m.updatePermissionSet(t.modelValue.id, B);
112
+ await l.updatePermissionSet(t.modelValue.id, B);
113
113
  } else {
114
114
  const B = {
115
115
  name: a.value.name,
116
116
  businessId: s,
117
- permissions: x,
117
+ permissions: w,
118
118
  permissionSetIds: d.value
119
119
  };
120
- await m.createPermissionSet(B);
120
+ await l.createPermissionSet(B);
121
121
  }
122
- l.value = !1;
122
+ r.value = !1;
123
123
  });
124
124
  }
125
125
  return k({
126
126
  trigger: O
127
127
  }), (e, s) => {
128
- const v = u("FmTextField"), w = u("FmSelect"), x = u("FmForm"), T = u("FmButton"), B = u("FmSideSheet");
129
- return g(), H(B, {
130
- modelValue: l.value,
131
- "onUpdate:modelValue": s[4] || (s[4] = (_) => l.value = _),
128
+ const v = c("FmTextField"), V = c("FmSelect"), w = c("FmForm"), T = c("FmButton"), B = c("FmSideSheet");
129
+ return h(), q(B, {
130
+ modelValue: r.value,
131
+ "onUpdate:modelValue": s[4] || (s[4] = (b) => r.value = b),
132
132
  "max-width": 560,
133
133
  "dismiss-away": ""
134
134
  }, {
135
- "side-sheet-header": P(() => [
136
- y("p", we, N(R.value), 1)
135
+ "side-sheet-header": g(() => [
136
+ x("p", we, N(R.value), 1)
137
137
  ]),
138
- "side-sheet-footer": P(() => [
139
- y("div", xe, [
140
- r(T, {
138
+ "side-sheet-footer": g(() => [
139
+ x("div", xe, [
140
+ m(T, {
141
141
  label: U.value,
142
142
  size: "md",
143
143
  variant: "primary",
144
144
  type: "submit",
145
145
  onClick: se
146
146
  }, null, 8, ["label"]),
147
- r(T, {
148
- label: c(i)("common.cancel"),
147
+ m(T, {
148
+ label: u(i)("common.cancel"),
149
149
  size: "md",
150
150
  variant: "secondary",
151
- onClick: s[3] || (s[3] = (_) => l.value = !1)
151
+ onClick: s[3] || (s[3] = (b) => r.value = !1)
152
152
  }, null, 8, ["label"])
153
153
  ])
154
154
  ]),
155
- default: P(() => [
156
- r(x, {
155
+ default: g(() => [
156
+ m(w, {
157
157
  ref_key: "formRef",
158
158
  ref: C
159
159
  }, {
160
- default: P(() => [
161
- r(v, {
160
+ default: g(() => [
161
+ m(v, {
162
162
  modelValue: a.value.name,
163
- "onUpdate:modelValue": s[0] || (s[0] = (_) => a.value.name = _),
164
- label: c(i)("permissionSet.form.name"),
165
- placeholder: c(i)("permissionSet.form.namePlaceholder"),
163
+ "onUpdate:modelValue": s[0] || (s[0] = (b) => a.value.name = b),
164
+ label: u(i)("permissionSet.form.name"),
165
+ placeholder: u(i)("permissionSet.form.namePlaceholder"),
166
166
  rules: D
167
167
  }, null, 8, ["modelValue", "label", "placeholder"]),
168
- r(w, {
168
+ m(V, {
169
169
  modelValue: d.value,
170
170
  "onUpdate:modelValue": [
171
- s[1] || (s[1] = (_) => d.value = _),
171
+ s[1] || (s[1] = (b) => d.value = b),
172
172
  ee
173
173
  ],
174
174
  multiselect: "",
175
175
  searchable: "",
176
176
  "search-debounce": 300,
177
177
  items: W.value,
178
- label: c(i)("permissionSet.form.includedSets"),
179
- placeholder: c(i)("permissionSet.form.includedSetsPlaceholder"),
178
+ label: u(i)("permissionSet.form.includedSets"),
179
+ placeholder: u(i)("permissionSet.form.includedSetsPlaceholder"),
180
180
  class: "mt-16"
181
181
  }, null, 8, ["modelValue", "items", "label", "placeholder"]),
182
- r(ye, {
182
+ m(ye, {
183
183
  modelValue: p.value,
184
- "onUpdate:modelValue": s[2] || (s[2] = (_) => p.value = _),
185
- "inherit-permissions": V.value,
184
+ "onUpdate:modelValue": s[2] || (s[2] = (b) => p.value = b),
185
+ "inherit-permissions": F.value,
186
186
  class: "mt-24"
187
187
  }, null, 8, ["modelValue", "inherit-permissions"])
188
188
  ]),
@@ -193,27 +193,24 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
193
193
  }, 8, ["modelValue"]);
194
194
  };
195
195
  }
196
- }), Re = { class: "space-y-8" }, Ce = { class: "flex justify-end xs:px-16" }, je = {
197
- key: 0,
198
- class: "overflow-auto"
199
- }, Ie = { class: "pb-64" }, We = /* @__PURE__ */ q({
196
+ }), Re = { class: "space-y-8" }, Ce = { class: "flex justify-end xs:px-16" }, De = /* @__PURE__ */ M({
200
197
  __name: "PermissionSetList",
201
- setup(E, { expose: k }) {
202
- const { t } = M(), { fetchCustomReportPermissions: i } = K(), l = Q(), R = le(), { breakpoints: C } = re(), h = b(""), F = S(() => {
198
+ setup($, { expose: k }) {
199
+ const { t } = K(), { fetchCustomReportPermissions: i } = G(), r = Q(), R = re(), { breakpoints: C } = le(), P = _(""), y = S(() => {
203
200
  var n;
204
201
  return (n = d.value) == null ? void 0 : n.filter((o) => {
205
- const f = h.value.toLowerCase();
202
+ const f = P.value.toLowerCase();
206
203
  return o.name.toLowerCase().includes(f);
207
204
  });
208
- }), m = b(), a = Y(), d = S(
205
+ }), l = _(), a = Y(), d = S(
209
206
  () => a.permissionSets.value
210
- ), p = b();
207
+ ), p = _();
211
208
  async function D() {
212
209
  await a.readPermissionSets();
213
210
  }
214
211
  function U(n) {
215
212
  var o;
216
- p.value = n, (o = m.value) == null || o.trigger();
213
+ p.value = n, (o = l.value) == null || o.trigger();
217
214
  }
218
215
  const W = [
219
216
  {
@@ -242,11 +239,11 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
242
239
  return z("div", { class: "w-full flex justify-end items-center" }, [
243
240
  z(me.FmButton, {
244
241
  prependIcon: "delete",
245
- variant: ue.Tertiary,
246
- textColor: ce.NeutralGray400,
242
+ variant: ce.Tertiary,
243
+ textColor: ue.NeutralGray400,
247
244
  class: "flex flex-end",
248
245
  onClick: (o) => {
249
- o.stopPropagation(), L(n.row.original);
246
+ o.stopPropagation(), E(n.row.original);
250
247
  }
251
248
  })
252
249
  ]);
@@ -254,11 +251,11 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
254
251
  enableSorting: !1
255
252
  }
256
253
  ];
257
- function V() {
254
+ function F() {
258
255
  var n;
259
- p.value = void 0, (n = m.value) == null || n.trigger();
256
+ p.value = void 0, (n = l.value) == null || n.trigger();
260
257
  }
261
- async function L(n) {
258
+ async function E(n) {
262
259
  R.open({
263
260
  title: t("permissionSet.form.delete.title"),
264
261
  message: t("permissionSet.form.delete.confirmationMessage", { permissionSetName: n.name }),
@@ -271,15 +268,15 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
271
268
  secondaryActions: { text: t("common.cancel"), close: !0 }
272
269
  }).onPrimary(async () => {
273
270
  try {
274
- await a.deletePermissionSet(n.id), l.open({
271
+ await a.deletePermissionSet(n.id), r.open({
275
272
  message: t("permissionSet.form.delete.successMessage", { permissionSetName: n.name }),
276
273
  type: "success"
277
274
  });
278
275
  } catch (o) {
279
- const f = o instanceof Pe && o.status === 409 ? o.message.includes("referenced by") ? t("permissionSet.form.delete.setReferencedConflictError", {
276
+ const f = o instanceof ge && o.status === 409 ? o.message.includes("referenced by") ? t("permissionSet.form.delete.setReferencedConflictError", {
280
277
  permissionSetName: n.name
281
278
  }) : t("permissionSet.form.delete.conflictError", { permissionSetName: n.name }) : o instanceof Error ? o.message : `${o}`;
282
- l.open({ message: f, type: "error" });
279
+ r.open({ message: f, type: "error" });
283
280
  }
284
281
  R.close();
285
282
  });
@@ -287,46 +284,45 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
287
284
  return ie(() => {
288
285
  D(), i();
289
286
  }), k({
290
- create: V
287
+ create: F
291
288
  }), (n, o) => {
292
- const f = u("FmSearch"), j = u("FmTable"), O = u("FullWrapper");
293
- return g(), $(X, null, [
294
- r(ke, {
289
+ const f = c("FmSearch"), j = c("FmTable"), O = c("FullWrapper");
290
+ return h(), L(H, null, [
291
+ m(ke, {
295
292
  ref_key: "permissionSetFormRef",
296
- ref: m,
293
+ ref: l,
297
294
  "model-value": p.value
298
295
  }, null, 8, ["model-value"]),
299
- y("div", Re, [
300
- y("div", Ce, [
301
- r(f, {
302
- modelValue: h.value,
303
- "onUpdate:modelValue": o[0] || (o[0] = (I) => h.value = I),
296
+ x("div", Re, [
297
+ x("div", Ce, [
298
+ m(f, {
299
+ modelValue: P.value,
300
+ "onUpdate:modelValue": o[0] || (o[0] = (I) => P.value = I),
304
301
  class: "w-[320px] xs:w-full",
305
302
  autofocus: "",
306
- placeholder: c(t)("permissionSet.search.placeholder")
303
+ placeholder: u(t)("permissionSet.search.placeholder")
307
304
  }, null, 8, ["modelValue", "placeholder"])
308
305
  ]),
309
- d.value.length > 0 ? (g(), $("div", je, [
310
- y("div", Ie, [
311
- r(O, null, {
312
- default: P(() => [
313
- r(j, {
314
- "column-defs": W,
315
- "row-data": F.value,
316
- "page-size": F.value.length,
317
- "pin-header-row": "",
318
- "hide-footer": "",
319
- "shrink-at": !1,
320
- onRowClick: o[1] || (o[1] = (I) => U(I.original))
321
- }, null, 8, ["row-data", "page-size"])
322
- ]),
323
- _: 1
324
- })
325
- ])
326
- ])) : (g(), H(c(de), {
306
+ d.value.length > 0 ? (h(), q(O, {
307
+ key: 0,
308
+ class: "overflow-auto"
309
+ }, {
310
+ default: g(() => [
311
+ m(j, {
312
+ "column-defs": W,
313
+ "row-data": y.value,
314
+ "page-size": y.value.length,
315
+ "pin-header-row": "",
316
+ "hide-footer": "",
317
+ "shrink-at": !1,
318
+ onRowClick: o[1] || (o[1] = (I) => U(I.original))
319
+ }, null, 8, ["row-data", "page-size"])
320
+ ]),
321
+ _: 1
322
+ })) : (h(), q(u(de), {
327
323
  key: 1,
328
- title: c(t)("permissionSet.noData.title"),
329
- subtitle: c(t)("permissionSet.noData.subtitle")
324
+ title: u(t)("permissionSet.noData.title"),
325
+ subtitle: u(t)("permissionSet.noData.subtitle")
330
326
  }, null, 8, ["title", "subtitle"]))
331
327
  ])
332
328
  ], 64);
@@ -334,5 +330,5 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
334
330
  }
335
331
  });
336
332
  export {
337
- We as default
333
+ De as default
338
334
  };