@feedmepos/mf-hrm-portal 2.0.25-dev.2 → 2.1.0-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 (55) hide show
  1. package/dist/AuditLogList-C1bGND8z.js +1037 -0
  2. package/dist/ConditionFormHost.vue_vue_type_script_setup_true_lang-tiuei7CA.js +383 -0
  3. package/dist/{EmployeeList-Cpv6Pc4J.js → EmployeeList-DqQF9xEx.js} +78 -78
  4. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js} +1 -1
  5. package/dist/{Main-3IwCguRi.js → Main-BgOhmojO.js} +6 -6
  6. package/dist/{Main-DrquIYbM.js → Main-D2Wf__wM.js} +1138 -1142
  7. package/dist/Main-DcKVuIjB.js +90 -0
  8. package/dist/PermissionSetList-CQpTa0eY.js +384 -0
  9. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CCKVpAwv.js +4030 -0
  10. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-sueNu2MD.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-D-14ca2J.js} +1 -1
  11. package/dist/RoleList-tSC8RJHe.js +674 -0
  12. package/dist/SelectFilter-DUj7GBtT.js +251 -0
  13. package/dist/TeamMemberList-Bz-kDJ0e.js +1163 -0
  14. package/dist/{TimesheetList-CMqKNZOd.js → TimesheetList-BFVhmcRt.js} +10 -10
  15. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-ekr2tKEO.js → TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-CtHuL5tW.js} +2 -2
  16. package/dist/{app-D5h3x9dh.js → app-DRnSocX8.js} +5052 -2394
  17. package/dist/app.js +1 -1
  18. package/dist/{dayjs.min-BLtrWiQ_.js → dayjs.min-B8xOAypU.js} +1 -1
  19. package/dist/{employee-CpW9HMLY.js → employee-UrXqUaik.js} +3 -3
  20. package/dist/{iteration-D1WDQ_Kv.js → iteration-LEYoQKiI.js} +1 -1
  21. package/dist/{lodash-BI_MmDQa.js → lodash-Bq6_eZZ0.js} +1 -1
  22. package/dist/rule-CJC6Cq6S.js +1047 -0
  23. package/dist/src/api/audit-log/index.d.ts +0 -17
  24. package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
  25. package/dist/src/components/form/SelectFilter.vue.d.ts +0 -3
  26. package/dist/src/composables/useBasePermission.d.ts +1 -0
  27. package/dist/src/composables/useConditionDraft.d.ts +40 -0
  28. package/dist/src/composables/useCoverConditionOverride.d.ts +61 -0
  29. package/dist/src/helpers/business-timezone.d.ts +22 -0
  30. package/dist/src/helpers/permission-set.d.ts +4 -2
  31. package/dist/src/helpers/rule.d.ts +2 -1
  32. package/dist/src/stores/team.d.ts +1 -4
  33. package/dist/src/views/audit-log/locales/index.d.ts +16 -24
  34. package/dist/src/views/hr/locales/index.d.ts +0 -4
  35. package/dist/src/views/team/components/BasePermission.vue.d.ts +13 -0
  36. package/dist/src/views/team/condition-builders/ConditionFormHost.vue.d.ts +22 -0
  37. package/dist/src/views/team/condition-builders/ConditionFormRenderer.vue.d.ts +23 -0
  38. package/dist/src/views/team/condition-builders/component-map.d.ts +4 -0
  39. package/dist/src/views/team/condition-builders/condition-form-dedupe.d.ts +23 -0
  40. package/dist/src/views/team/locales/index.d.ts +68 -4
  41. package/dist/style.css +1 -1
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/{useAppStore-hU1uAhE-.js → useAppStore-BGsfYWAR.js} +1 -1
  44. package/dist/{useLoading-D0XTdxji.js → useLoading-BUM5R2qV.js} +1 -1
  45. package/dist/{useReportPermissions-Drb4irzE.js → useReportPermissions-nlQ_BBL2.js} +3 -3
  46. package/package.json +2 -2
  47. package/dist/AuditLogList-UHJxYRdr.js +0 -1145
  48. package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +0 -58
  49. package/dist/Main-Da2SFU8t.js +0 -94
  50. package/dist/PermissionSetList-upvouEfb.js +0 -356
  51. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CAjf-JPW.js +0 -3457
  52. package/dist/RoleList-CgSg0ydf.js +0 -566
  53. package/dist/SelectFilter-ATOm0hdn.js +0 -269
  54. package/dist/TeamMemberList-jEODaxFX.js +0 -1130
  55. package/dist/rule-DG8tt7hf.js +0 -995
@@ -0,0 +1,90 @@
1
+ import { defineComponent as T, ref as R, computed as m, resolveComponent as s, createBlock as i, openBlock as c, withCtx as p, createElementVNode as A, createVNode as d, resolveDynamicComponent as C, createCommentVNode as S } from "vue";
2
+ import { useRouter as y, useRoute as g } from "vue-router";
3
+ import { useI18n as k } from "@feedmepos/mf-common";
4
+ import { _ as F } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
+ import { _ as N } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
+ import { u as h } from "./iteration-LEYoQKiI.js";
7
+ import "@feedmepos/ui-library";
8
+ import "./rule-CJC6Cq6S.js";
9
+ import "./lodash-Bq6_eZZ0.js";
10
+ import "./useAppStore-BGsfYWAR.js";
11
+ import { R as v } from "./app-DRnSocX8.js";
12
+ /* empty css */
13
+ import "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-D-14ca2J.js";
14
+ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ T({
15
+ __name: "Main",
16
+ setup(x) {
17
+ const { t: a } = k(), _ = y(), B = g(), { readRestaurants: L } = h(), f = R(), b = R(), o = m({
18
+ get: () => B.name === v.TEAM_ROLE ? "role" : "member",
19
+ set: (e) => {
20
+ _.push({
21
+ name: e === "role" ? v.TEAM_ROLE : v.TEAM_MEMBER,
22
+ query: _.currentRoute.value.query
23
+ });
24
+ }
25
+ });
26
+ L();
27
+ const r = m(() => l.value.find((e) => e.value === o.value) || l.value[0]), l = m(() => [
28
+ {
29
+ label: a("team.title"),
30
+ value: "member",
31
+ createButtonLabel: a("team.actions.addMember"),
32
+ createButtonAction: () => {
33
+ var e;
34
+ (e = f.value) == null || e.create();
35
+ }
36
+ },
37
+ {
38
+ label: a("permissionSet.title"),
39
+ value: "role",
40
+ createButtonLabel: a("permissionSet.createButtonLabel"),
41
+ createButtonAction: () => {
42
+ var e;
43
+ (e = b.value) == null || e.create();
44
+ }
45
+ }
46
+ ]);
47
+ return (e, n) => {
48
+ const E = s("FmSpacer"), M = s("FmTabs"), V = s("RouterView");
49
+ return c(), i(N, {
50
+ heading: r.value.label
51
+ }, {
52
+ "append-heading": p(() => {
53
+ var t;
54
+ return [
55
+ d(E),
56
+ (t = r.value) != null && t.createButtonLabel ? (c(), i(F, {
57
+ key: 0,
58
+ icon: "add",
59
+ label: r.value.createButtonLabel,
60
+ onClick: n[0] || (n[0] = (u) => r.value.createButtonAction())
61
+ }, null, 8, ["label"])) : S("", !0)
62
+ ];
63
+ }),
64
+ default: p(() => [
65
+ A("div", w, [
66
+ d(M, {
67
+ modelValue: o.value,
68
+ "onUpdate:modelValue": n[1] || (n[1] = (t) => o.value = t),
69
+ items: l.value
70
+ }, null, 8, ["modelValue", "items"]),
71
+ d(V, null, {
72
+ default: p(({ Component: t }) => [
73
+ (c(), i(C(t), {
74
+ ref: (u) => {
75
+ o.value === "member" && (f.value = u), o.value === "role" && (b.value = u);
76
+ }
77
+ }, null, 512))
78
+ ]),
79
+ _: 1
80
+ })
81
+ ])
82
+ ]),
83
+ _: 1
84
+ }, 8, ["heading"]);
85
+ };
86
+ }
87
+ });
88
+ export {
89
+ Q as default
90
+ };
@@ -0,0 +1,384 @@
1
+ import { defineComponent as ee, ref as f, computed as b, watch as ue, resolveComponent as v, createBlock as K, openBlock as L, unref as a, withCtx as E, createVNode as p, createElementVNode as j, toDisplayString as de, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h } from "vue";
2
+ import { useI18n as se, useCoreStore as he } from "@feedmepos/mf-common";
3
+ import { useSnackbar as oe, useDialog as te, useBreakpoints as ne, components as Q } from "@feedmepos/ui-library";
4
+ import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
+ import { u as _e, _ as Pe } from "./useDiscardConfirm-DPhEV6v0.js";
6
+ import { u as ie, c as J, i as re, p as Y, j as ge, d as ye, m as D, n as we, o as Fe, s as ke, q as xe, w as Ce } from "./rule-CJC6Cq6S.js";
7
+ import { l as V } from "./lodash-Bq6_eZZ0.js";
8
+ import { d as Ie, A as Re } from "./iteration-LEYoQKiI.js";
9
+ import { u as Ve } from "./useLoading-BUM5R2qV.js";
10
+ import { v as Z } from "./app-DRnSocX8.js";
11
+ import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CCKVpAwv.js";
12
+ const je = { class: "flex w-full items-center justify-between" }, Te = { class: "fm-typo-en-title-md-600" }, Be = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ ee({
13
+ __name: "PermissionSetForm",
14
+ props: {
15
+ modelValue: {
16
+ type: Object,
17
+ default: () => ({})
18
+ }
19
+ },
20
+ setup(X, { expose: q }) {
21
+ const o = X, { t: i } = se(), S = f(!1), T = b(() => {
22
+ var e;
23
+ return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
24
+ }), x = f(), N = oe(), y = te(), { breakpoints: B } = ne(), C = Ve(N), u = ie(), l = f({ ...o.modelValue }), r = f([]), d = f([]), A = [(e) => !!e || i("permissionSet.form.nameRequired")], O = b(() => {
25
+ var e;
26
+ return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
27
+ }), z = b(
28
+ () => u.permissionSets.value.filter((e) => {
29
+ var s;
30
+ return e.id !== ((s = o.modelValue) == null ? void 0 : s.id);
31
+ }).map((e) => ({ label: e.name, value: e.id }))
32
+ ), I = b(
33
+ () => J(r.value, u.permissionSets.value)
34
+ ), {
35
+ fetchCustomReportPermissions: n,
36
+ customReportPermissions: t,
37
+ isLoaded: m
38
+ } = re(), _ = new Set(
39
+ Y.filter((e) => e.subject.startsWith(ge)).map((e) => e.subject)
40
+ ), R = b(() => {
41
+ const e = new Set(_);
42
+ for (const s of t.value) e.add(s.subject);
43
+ return e;
44
+ }), P = b(() => {
45
+ const e = /* @__PURE__ */ new Set();
46
+ for (const s of Y)
47
+ s.category === Z.reports && e.add(s.subject);
48
+ for (const s of t.value)
49
+ s.category === Z.reports && e.add(s.subject);
50
+ return e;
51
+ }), g = f({ name: "", permissionSetIds: [], userPermissions: [] });
52
+ async function W() {
53
+ var s, c;
54
+ await pe(), S.value = !S.value, l.value = { ...o.modelValue }, r.value = ((s = o.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
55
+ const e = ((c = o.modelValue) == null ? void 0 : c.permissions) ?? [];
56
+ d.value = ye(
57
+ D(I.value),
58
+ e
59
+ ), g.value = {
60
+ name: l.value.name ?? "",
61
+ permissionSetIds: [...r.value],
62
+ userPermissions: Ie(d.value)
63
+ };
64
+ }
65
+ ue(S, async (e) => {
66
+ e && await n();
67
+ });
68
+ const U = _e(
69
+ () => !V.isEqual(l.value.name ?? "", g.value.name) || !V.isEqual(r.value, g.value.permissionSetIds) || !V.isEqual(d.value, g.value.userPermissions),
70
+ () => {
71
+ S.value = !1;
72
+ }
73
+ );
74
+ function ae() {
75
+ const e = D(I.value), s = m.value ? R.value : _, c = we(d.value, s), w = Fe(c, P.value), F = ke(w);
76
+ return xe(e, F);
77
+ }
78
+ function G(e) {
79
+ return D(
80
+ J(e, u.permissionSets.value)
81
+ );
82
+ }
83
+ function H(e) {
84
+ d.value = G(e);
85
+ }
86
+ function le(e) {
87
+ const s = [...e ?? []];
88
+ if (V.isEqual(s, r.value)) return;
89
+ const c = !V.isEqual(
90
+ d.value,
91
+ G(r.value)
92
+ );
93
+ if (r.value = s, !c) {
94
+ H(s);
95
+ return;
96
+ }
97
+ y.open({
98
+ title: i("permissionSet.form.overrideInherited.title"),
99
+ message: i("permissionSet.form.overrideInherited.message"),
100
+ minWidth: B.value.lg ? 588 : 0,
101
+ primaryActions: {
102
+ text: i("permissionSet.form.overrideInherited.override"),
103
+ close: !1
104
+ },
105
+ secondaryActions: {
106
+ text: i("permissionSet.form.overrideInherited.keepCurrent"),
107
+ close: !0
108
+ }
109
+ }).onPrimary(() => {
110
+ H(s), y.close();
111
+ });
112
+ }
113
+ async function me() {
114
+ var c, w;
115
+ const e = await ((c = x.value) == null ? void 0 : c.validateInputsWithoutSubmit()), s = (w = he().currentBusiness.value) == null ? void 0 : w.id;
116
+ !(e != null && e.length) && s && C.minor(async () => {
117
+ var $;
118
+ const F = ae();
119
+ if (($ = o.modelValue) != null && $.id) {
120
+ const k = {
121
+ name: l.value.name,
122
+ permissions: F,
123
+ permissionSetIds: r.value,
124
+ businessId: l.value.businessId
125
+ };
126
+ await u.updatePermissionSet(o.modelValue.id, k);
127
+ } else {
128
+ const k = {
129
+ name: l.value.name,
130
+ businessId: s,
131
+ permissions: F,
132
+ permissionSetIds: r.value
133
+ };
134
+ await u.createPermissionSet(k);
135
+ }
136
+ S.value = !1;
137
+ });
138
+ }
139
+ return q({
140
+ trigger: W
141
+ }), (e, s) => {
142
+ const c = v("FmIcon"), w = v("FmTextField"), F = v("FmSelect"), $ = v("FmForm"), k = v("FmButton"), ce = v("FmSideSheet");
143
+ return L(), K(ce, {
144
+ "model-value": S.value,
145
+ "max-width": 960,
146
+ "close-button": !1,
147
+ "onOn:clickedAway": a(U)
148
+ }, {
149
+ "side-sheet-header": E(() => [
150
+ j("div", je, [
151
+ j("p", Te, de(T.value), 1),
152
+ p(c, {
153
+ name: "close",
154
+ size: "md",
155
+ class: "cursor-pointer",
156
+ onClick: a(U)
157
+ }, null, 8, ["onClick"])
158
+ ])
159
+ ]),
160
+ "side-sheet-footer": E(() => [
161
+ j("div", Be, [
162
+ p(k, {
163
+ label: O.value,
164
+ size: "md",
165
+ variant: "primary",
166
+ type: "submit",
167
+ onClick: me
168
+ }, null, 8, ["label"]),
169
+ p(k, {
170
+ label: a(i)("common.cancel"),
171
+ size: "md",
172
+ variant: "secondary",
173
+ onClick: a(U)
174
+ }, null, 8, ["label", "onClick"])
175
+ ])
176
+ ]),
177
+ default: E(() => [
178
+ p($, {
179
+ ref_key: "formRef",
180
+ ref: x
181
+ }, {
182
+ default: E(() => [
183
+ p(w, {
184
+ modelValue: l.value.name,
185
+ "onUpdate:modelValue": s[0] || (s[0] = (M) => l.value.name = M),
186
+ label: a(i)("permissionSet.form.name"),
187
+ placeholder: a(i)("permissionSet.form.namePlaceholder"),
188
+ rules: A
189
+ }, null, 8, ["modelValue", "label", "placeholder"]),
190
+ p(F, {
191
+ "model-value": r.value,
192
+ multiselect: "",
193
+ searchable: "",
194
+ "search-debounce": 300,
195
+ items: z.value,
196
+ label: a(i)("permissionSet.form.includedSets"),
197
+ placeholder: a(i)("permissionSet.form.includedSetsPlaceholder"),
198
+ class: "mt-16",
199
+ "onUpdate:modelValue": le
200
+ }, null, 8, ["model-value", "items", "label", "placeholder"]),
201
+ p(Ee, {
202
+ modelValue: d.value,
203
+ "onUpdate:modelValue": s[1] || (s[1] = (M) => d.value = M),
204
+ "inherit-permissions": I.value,
205
+ class: "mt-24"
206
+ }, null, 8, ["modelValue", "inherit-permissions"])
207
+ ]),
208
+ _: 1
209
+ }, 512)
210
+ ]),
211
+ _: 1
212
+ }, 8, ["model-value", "onOn:clickedAway"]);
213
+ };
214
+ }
215
+ }), $e = { class: "space-y-8" }, Le = { class: "flex justify-end xs:px-16" }, Ge = /* @__PURE__ */ ee({
216
+ __name: "PermissionSetList",
217
+ setup(X, { expose: q }) {
218
+ const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: S } = re(), T = oe(), x = te(), { breakpoints: N } = ne(), y = f(""), B = b(() => {
219
+ var n;
220
+ return (n = l.value) == null ? void 0 : n.filter((t) => {
221
+ const m = y.value.toLowerCase();
222
+ return t.name.toLowerCase().includes(m);
223
+ });
224
+ }), C = f(), u = ie(), l = b(
225
+ () => u.permissionSets.value
226
+ ), r = f();
227
+ async function d() {
228
+ await u.readPermissionSets();
229
+ }
230
+ function A(n) {
231
+ var t;
232
+ r.value = n, (t = C.value) == null || t.trigger();
233
+ }
234
+ const O = [
235
+ {
236
+ accessorKey: "name",
237
+ header: () => o("permissionSet.table.columns.name")
238
+ },
239
+ {
240
+ accessorKey: "permission",
241
+ header: () => o("permissionSet.table.columns.permissions"),
242
+ enableSorting: !1,
243
+ cell(n) {
244
+ const t = n.row.original, m = J(
245
+ [t.id],
246
+ u.permissionSets.value
247
+ ), _ = D(m), R = _.length, P = Ce(
248
+ _,
249
+ i.value
250
+ );
251
+ return h("div", { class: "flex items-center gap-8" }, [
252
+ h("span", o("team.labels.allowed", { count: R })),
253
+ h(
254
+ Q.FmTooltip,
255
+ { variant: "plain", placement: "top" },
256
+ {
257
+ default: () => h(Q.FmIcon, {
258
+ name: "info",
259
+ class: "cursor-pointer text-fm-color-neutral-gray-300"
260
+ }),
261
+ content: () => h("div", [
262
+ o("team.labels.permission"),
263
+ ...P.map(
264
+ (g, W) => h("div", { key: `${g}-${W}` }, `- ${g}`)
265
+ )
266
+ ])
267
+ }
268
+ )
269
+ ]);
270
+ }
271
+ },
272
+ {
273
+ id: "action",
274
+ size: 52,
275
+ meta: {
276
+ cellClass: "pl-16",
277
+ headerContentClass: "-mx-16"
278
+ },
279
+ cell(n) {
280
+ const t = n.row.original;
281
+ return h(
282
+ "div",
283
+ {
284
+ class: "flex w-full items-center justify-end",
285
+ onClick: (m) => m.stopPropagation()
286
+ },
287
+ [
288
+ h(Pe, {
289
+ items: [
290
+ { label: o("common.update"), onClick: () => A(t) },
291
+ {
292
+ label: o("common.remove"),
293
+ onClick: () => I(t),
294
+ itemClass: "text-fm-color-typo-error"
295
+ }
296
+ ]
297
+ })
298
+ ]
299
+ );
300
+ },
301
+ enableSorting: !1
302
+ }
303
+ ];
304
+ function z() {
305
+ var n;
306
+ r.value = void 0, (n = C.value) == null || n.trigger();
307
+ }
308
+ async function I(n) {
309
+ x.open({
310
+ title: o("permissionSet.form.delete.title"),
311
+ message: o("permissionSet.form.delete.confirmationMessage", { permissionSetName: n.name }),
312
+ minWidth: N.value.lg ? 588 : 0,
313
+ primaryActions: {
314
+ text: o("common.remove"),
315
+ close: !1,
316
+ variant: "destructive"
317
+ },
318
+ secondaryActions: { text: o("common.cancel"), close: !0 }
319
+ }).onPrimary(async () => {
320
+ try {
321
+ await u.deletePermissionSet(n.id), T.open({
322
+ message: o("permissionSet.form.delete.successMessage", { permissionSetName: n.name }),
323
+ type: "success"
324
+ });
325
+ } catch (t) {
326
+ const m = t instanceof Re && t.status === 409 ? t.message.includes("referenced by") ? o("permissionSet.form.delete.setReferencedConflictError", {
327
+ permissionSetName: n.name
328
+ }) : o("permissionSet.form.delete.conflictError", { permissionSetName: n.name }) : t instanceof Error ? t.message : `${t}`;
329
+ T.open({ message: m, type: "error" });
330
+ }
331
+ x.close();
332
+ });
333
+ }
334
+ return fe(() => {
335
+ d(), S();
336
+ }), q({
337
+ create: z
338
+ }), (n, t) => {
339
+ const m = v("FmSearch"), _ = v("FmTable"), R = v("FullWrapper");
340
+ return L(), ve(Se, null, [
341
+ p(Ae, {
342
+ ref_key: "permissionSetFormRef",
343
+ ref: C,
344
+ "model-value": r.value
345
+ }, null, 8, ["model-value"]),
346
+ j("div", $e, [
347
+ j("div", Le, [
348
+ p(m, {
349
+ modelValue: y.value,
350
+ "onUpdate:modelValue": t[0] || (t[0] = (P) => y.value = P),
351
+ class: "w-[320px] xs:w-full",
352
+ autofocus: "",
353
+ placeholder: a(o)("permissionSet.search.placeholder")
354
+ }, null, 8, ["modelValue", "placeholder"])
355
+ ]),
356
+ l.value.length > 0 ? (L(), K(R, {
357
+ key: 0,
358
+ class: "overflow-auto"
359
+ }, {
360
+ default: E(() => [
361
+ p(_, {
362
+ "column-defs": O,
363
+ "row-data": B.value,
364
+ "page-size": B.value.length,
365
+ "pin-header-row": "",
366
+ "hide-footer": "",
367
+ "shrink-at": !1,
368
+ onRowClick: t[1] || (t[1] = (P) => A(P.original))
369
+ }, null, 8, ["row-data", "page-size"])
370
+ ]),
371
+ _: 1
372
+ })) : (L(), K(a(be), {
373
+ key: 1,
374
+ title: a(o)("permissionSet.noData.title"),
375
+ subtitle: a(o)("permissionSet.noData.subtitle")
376
+ }, null, 8, ["title", "subtitle"]))
377
+ ])
378
+ ], 64);
379
+ };
380
+ }
381
+ });
382
+ export {
383
+ Ge as default
384
+ };