@feedmepos/mf-hrm-portal 2.3.2-dev.8 → 2.3.2
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/dist/{ApprovalCodeList-DIYhVMGW.js → ApprovalCodeList-C9r8CGNH.js} +15 -14
- package/dist/{AuditLogList-DIc3Jgpr.js → AuditLogList-Cu-KcQKa.js} +152 -147
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BQ-uIsTN.js +438 -0
- package/dist/EmployeeList-BaFqZnFM.js +776 -0
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-Be1OU1_r.js +45 -0
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
- package/dist/{GrantUserList-8zmzFk9z.js → GrantUserList-Bjhx60M7.js} +16 -15
- package/dist/Main-CJQpjOgY.js +96 -0
- package/dist/{Main-DYzFd_qa.js → Main-DHiTgiDR.js} +5 -5
- package/dist/{Main-gRu17-N6.js → Main-LpfQqR_u.js} +999 -1005
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
- package/dist/{PermissionSetList-CL42jQY4.js → PermissionSetList-C0OZ_dvE.js} +76 -76
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-T7dkd5Uv.js +4167 -0
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-EwU7gHP7.js +35 -0
- package/dist/RoleList-DpyW5XLs.js +740 -0
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B9NMhw9Z.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CqP-Dn1X.js} +1 -1
- package/dist/{ScheduleGeneralPage-751cEUwS.js → ScheduleGeneralPage-BNHi5jGf.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-CBDNfiIM.js → ScheduleModal.vue_vue_type_script_setup_true_lang-B609MZoP.js} +186 -187
- package/dist/{SchedulePage-C-NcbGIl.js → SchedulePage-CrP5_m3p.js} +13 -13
- package/dist/{SchedulePositionPage-Ba0iiSRg.js → SchedulePositionPage-ei_NKAUw.js} +3 -3
- package/dist/{SelectFilter-Dpsq165k.js → SelectFilter-CEYQ-ViE.js} +1 -1
- package/dist/TeamMemberList-rPiKKu2b.js +1154 -0
- package/dist/TimesheetList-B1L4WkNh.js +402 -0
- package/dist/TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-By6YR-k2.js +58 -0
- package/dist/{app-DXkKrcRn.js → app-BzlH-2cN.js} +4015 -7756
- package/dist/app.js +3 -3
- package/dist/{approval-code-D2pGW-sI.js → approval-code-CWq2ce3u.js} +1 -1
- package/dist/{dayjs.min-BAz84JAQ.js → dayjs.min-D6T4JzVv.js} +21 -21
- package/dist/employee-Bw7kRokg.js +209 -0
- package/dist/{grant-user-B95RDjkR.js → grant-user-q_mkj3Vh.js} +1 -1
- package/dist/{index-TrBkLxJe.js → iteration-Dz0e08VH.js} +726 -698
- package/dist/{lodash-DXRsZpTB.js → lodash-DGG_-VgI.js} +1 -1
- package/dist/restaurant-DJBQY9N5.js +2688 -0
- package/dist/role-CiRbkZSm.js +92 -0
- package/dist/rule-DMgkHpva.js +783 -0
- package/dist/src/api/employee/index.d.ts +2 -1
- package/dist/src/api/timesheet/index.d.ts +1 -1
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +3 -11
- package/dist/src/helpers/permission-set.d.ts +102 -1
- package/dist/src/helpers/rule.d.ts +2 -2
- package/dist/src/helpers/string.d.ts +1 -10
- package/dist/src/router/shared.d.ts +1 -3
- package/dist/src/stores/employee.d.ts +7 -1
- package/dist/src/stores/restaurant.d.ts +8 -68
- package/dist/src/stores/team.d.ts +0 -30
- package/dist/src/stores/timesheet.d.ts +51 -66
- package/dist/src/types/team.d.ts +1 -17
- package/dist/src/types/timesheet.d.ts +0 -3
- package/dist/src/views/audit-log/constants.d.ts +1 -1
- package/dist/src/views/audit-log/locales/index.d.ts +16 -12
- package/dist/src/views/hr/locales/index.d.ts +0 -20
- package/dist/src/views/hr/role/RoleForm.vue.d.ts +2 -29
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +1 -1
- package/dist/src/views/team/components/BasePermission.vue.d.ts +0 -11
- package/dist/src/views/team/components/ConditionPermission.vue.d.ts +0 -11
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +0 -21
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +0 -11
- package/dist/src/views/team/locales/index.d.ts +0 -716
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -48
- package/dist/src/views/team/{components/MemberStatusBadge.vue.d.ts → member/MemberInfo.vue.d.ts} +2 -2
- package/dist/src/views/team/member/TeamMemberList.vue.d.ts +0 -1
- package/dist/string-VNuQNweN.js +15 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-7O0GMkXY.js → useAppStore-TRX-PQD4.js} +1 -1
- package/dist/{useLoading-BZXydjer.js → useLoading-W3YSF8OB.js} +1 -1
- package/dist/{useReportPermissions-Cn3ntCJ9.js → useReportPermissions-CCkCAaGO.js} +3 -3
- package/package.json +3 -3
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4YsF7lXu.js +0 -459
- package/dist/EmployeeList-iVg4pI9Y.js +0 -896
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-C9AE0EHw.js +0 -90
- package/dist/Main-ClJox3pV.js +0 -101
- package/dist/MyPosProfile-ARRrolbz.js +0 -290
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +0 -126
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DkA0XbZw.js +0 -4208
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-CA87qQ4b.js +0 -1831
- package/dist/RoleForm.vue_vue_type_script_setup_true_lang-B3N3hTcU.js +0 -547
- package/dist/RoleList-F9ZORhgE.js +0 -265
- package/dist/TeamMemberList-DZ0aRbxg.js +0 -2087
- package/dist/TimesheetList-DO5T__dL.js +0 -437
- package/dist/employee-yYhuhc9L.js +0 -172
- package/dist/iteration-CcXrOMQe.js +0 -30
- package/dist/member-grant-ByAQ1Qja.js +0 -54
- package/dist/restaurant-COSpCpTQ.js +0 -52
- package/dist/role-ZmCd2yG4.js +0 -98
- package/dist/rule-Bty9eoI3.js +0 -843
- package/dist/src/api/my-pos-profile/index.d.ts +0 -3
- package/dist/src/api/sso-provider/index.d.ts +0 -5
- package/dist/src/api/staff-invite/index.d.ts +0 -16
- package/dist/src/components/form/SegmentedTabs.vue.d.ts +0 -23
- package/dist/src/composables/useMenuAccess.d.ts +0 -56
- package/dist/src/composables/useSsoProviders.d.ts +0 -19
- package/dist/src/composables/useStaffInviteProviders.d.ts +0 -8
- package/dist/src/helpers/member-grant.d.ts +0 -36
- package/dist/src/helpers/my-pos-profile.d.ts +0 -37
- package/dist/src/helpers/pos-assignment-rows.d.ts +0 -28
- package/dist/src/helpers/staff-invite.d.ts +0 -54
- package/dist/src/router/menu-access-guard.d.ts +0 -17
- package/dist/src/types/my-pos-profile.d.ts +0 -24
- package/dist/src/types/sso-provider.d.ts +0 -10
- package/dist/src/types/staff-invite.d.ts +0 -100
- package/dist/src/views/my-pos-profile/MyPosProfile.vue.d.ts +0 -2
- package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +0 -4
- package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -196
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +0 -51
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -44
- package/dist/src/views/team/member/ExistingMemberNotice.vue.d.ts +0 -11
- package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +0 -35
- package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +0 -19
- package/dist/string-DZQ1uNjn.js +0 -22
- package/dist/timesheet-CFD6XPiG.js +0 -76
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Z, computed as y, ref as S, onMounted as ee, resolveComponent as C, createElementBlock as $, openBlock as _, Fragment as A, createBlock as x, createElementVNode as r, createVNode as m, unref as a, withCtx as R, h as u, renderList as oe, toDisplayString as p, createTextVNode as T, resolveDynamicComponent as M, withModifiers as se, nextTick as z } from "vue";
|
|
2
|
-
import { e as d } from "./index-TrBkLxJe.js";
|
|
3
|
-
import { useI18n as te } from "@feedmepos/mf-common";
|
|
4
|
-
import { useDialog as ne, useSnackbar as re, useBreakpoints as ae, components as K, FmButtonColorThemeVariant as le } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ie } from "./app-DXkKrcRn.js";
|
|
6
|
-
import { _ as D } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
|
|
7
|
-
import { _ as ce } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
8
|
-
import { f as b, r as me, h as ue } from "./rule-Bty9eoI3.js";
|
|
9
|
-
import { u as de } from "./restaurant-COSpCpTQ.js";
|
|
10
|
-
import { u as pe } from "./role-ZmCd2yG4.js";
|
|
11
|
-
import { u as fe } from "./useReportPermissions-Cn3ntCJ9.js";
|
|
12
|
-
import { _ as _e } from "./RoleForm.vue_vue_type_script_setup_true_lang-B3N3hTcU.js";
|
|
13
|
-
const he = {
|
|
14
|
-
class: "space-y-8"
|
|
15
|
-
}, ve = {
|
|
16
|
-
class: "flex justify-end xs:px-16"
|
|
17
|
-
}, ge = {
|
|
18
|
-
class: "flex flex-col h-full overflow-auto"
|
|
19
|
-
}, ye = {
|
|
20
|
-
class: "pb-64 sm:hidden md:hidden lg:hidden"
|
|
21
|
-
}, Ce = {
|
|
22
|
-
class: "space-y-4"
|
|
23
|
-
}, xe = {
|
|
24
|
-
class: "fm-typo-en-body-lg-600"
|
|
25
|
-
}, Re = {
|
|
26
|
-
class: "text-fm-color-typo-secondary"
|
|
27
|
-
}, be = {
|
|
28
|
-
class: "line-clamp-2"
|
|
29
|
-
}, we = {
|
|
30
|
-
class: "font-bold"
|
|
31
|
-
}, Fe = {
|
|
32
|
-
class: "flex items-start gap-4"
|
|
33
|
-
}, Le = {
|
|
34
|
-
class: "line-clamp-2"
|
|
35
|
-
}, Ee = {
|
|
36
|
-
class: "font-bold"
|
|
37
|
-
}, ke = {
|
|
38
|
-
class: "flex items-start gap-4"
|
|
39
|
-
}, Ue = {
|
|
40
|
-
class: "line-clamp-2"
|
|
41
|
-
}, Se = {
|
|
42
|
-
class: "font-bold"
|
|
43
|
-
}, We = /* @__PURE__ */ Z({
|
|
44
|
-
__name: "RoleList",
|
|
45
|
-
setup(Te, {
|
|
46
|
-
expose: W
|
|
47
|
-
}) {
|
|
48
|
-
const {
|
|
49
|
-
t: s
|
|
50
|
-
} = te(), {
|
|
51
|
-
allReportPermissions: w
|
|
52
|
-
} = fe(), B = de(), j = y(() => B.restaurants.value), I = y(() => j.value.map((e) => e._id));
|
|
53
|
-
function F(e, o) {
|
|
54
|
-
const n = o === d.F_RULE_SUBJECT.enum.report ? w.value : void 0, t = b(e, o, n);
|
|
55
|
-
return ["-", "All"].includes(t) ? () => null : () => u(K.FmTooltip, {
|
|
56
|
-
"z-index": "999",
|
|
57
|
-
placement: "top",
|
|
58
|
-
class: "ml-2"
|
|
59
|
-
}, {
|
|
60
|
-
content: () => u("div", [s("hr.role.tooltip.labels.permission"), ...e.filter((i) => i.subject === o).map((i) => u("div", ["- ", me(i).label]))]),
|
|
61
|
-
default: () => u(K.FmIcon, {
|
|
62
|
-
name: "info",
|
|
63
|
-
color: le.NeutralGray400
|
|
64
|
-
})
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
function J(e, o) {
|
|
68
|
-
const n = o === d.F_RULE_SUBJECT.enum.report ? w.value : void 0, t = b(e, o, n);
|
|
69
|
-
return () => t === "All" ? t : u("div", {
|
|
70
|
-
class: "flex items-center"
|
|
71
|
-
}, [t, F(e, o)()]);
|
|
72
|
-
}
|
|
73
|
-
function N(e) {
|
|
74
|
-
return [{
|
|
75
|
-
label: s("hr.role.form.update"),
|
|
76
|
-
onClick: () => L(e)
|
|
77
|
-
}, {
|
|
78
|
-
label: s("hr.role.remove.title"),
|
|
79
|
-
onClick: () => Q(e),
|
|
80
|
-
itemClass: "text-fm-color-typo-error",
|
|
81
|
-
disabled: ue(e.permissions)
|
|
82
|
-
}];
|
|
83
|
-
}
|
|
84
|
-
const G = ({
|
|
85
|
-
role: e,
|
|
86
|
-
className: o = ""
|
|
87
|
-
}) => m("div", {
|
|
88
|
-
class: o,
|
|
89
|
-
onClick: (n) => {
|
|
90
|
-
n.stopPropagation();
|
|
91
|
-
}
|
|
92
|
-
}, [m(D, {
|
|
93
|
-
items: N(e)
|
|
94
|
-
}, null)]), q = [{
|
|
95
|
-
accessorKey: "name",
|
|
96
|
-
header: () => s("hr.role.columns.name"),
|
|
97
|
-
enableSorting: !1
|
|
98
|
-
}, {
|
|
99
|
-
accessorKey: "operation",
|
|
100
|
-
header: () => s("hr.role.columns.operation"),
|
|
101
|
-
cell: (e) => u(J(e.row.original.permissions, d.F_RULE_SUBJECT.enum.order)),
|
|
102
|
-
enableSorting: !1
|
|
103
|
-
}, {
|
|
104
|
-
accessorKey: "report",
|
|
105
|
-
header: () => s("hr.role.columns.report"),
|
|
106
|
-
cell: (e) => u(J(e.row.original.permissions, d.F_RULE_SUBJECT.enum.report)),
|
|
107
|
-
enableSorting: !1
|
|
108
|
-
}, {
|
|
109
|
-
accessorKey: "restaurants",
|
|
110
|
-
header: () => s("hr.role.columns.restaurants"),
|
|
111
|
-
cell: (e) => e.row.original.restaurants.map((o, n) => {
|
|
112
|
-
const t = o.code, i = `${t ? t + " - " : ""}${o.name}`;
|
|
113
|
-
return u("div", (n ? `
|
|
114
|
-
` : "") + i);
|
|
115
|
-
}),
|
|
116
|
-
enableSorting: !1
|
|
117
|
-
}, {
|
|
118
|
-
id: "action",
|
|
119
|
-
size: 52,
|
|
120
|
-
meta: {
|
|
121
|
-
cellClass: "pl-16",
|
|
122
|
-
headerContentClass: "-mx-16"
|
|
123
|
-
},
|
|
124
|
-
cell: (e) => G({
|
|
125
|
-
role: e.row.original,
|
|
126
|
-
className: "flex w-full items-center justify-end"
|
|
127
|
-
})
|
|
128
|
-
}], L = async (e) => {
|
|
129
|
-
var o;
|
|
130
|
-
g.value = e._id, await z(), (o = U.value) == null || o.trigger();
|
|
131
|
-
}, f = pe(), H = y(() => {
|
|
132
|
-
const e = f.roles.value || [];
|
|
133
|
-
return (I.value.length === 0 ? e : e.filter((n) => n.restaurants.some((t) => I.value.includes(t.id)))).map((n) => {
|
|
134
|
-
const t = n.restaurants.map((i) => {
|
|
135
|
-
const c = B.restaurantsById.value.get(i.id);
|
|
136
|
-
return {
|
|
137
|
-
...i,
|
|
138
|
-
// Prefer live data from restaurantStore so names populate reactively
|
|
139
|
-
// even when restaurants loaded after roles.
|
|
140
|
-
name: (c == null ? void 0 : c.profile.name) || i.name,
|
|
141
|
-
code: c == null ? void 0 : c.profile.code
|
|
142
|
-
};
|
|
143
|
-
});
|
|
144
|
-
return {
|
|
145
|
-
...n,
|
|
146
|
-
restaurants: t
|
|
147
|
-
};
|
|
148
|
-
});
|
|
149
|
-
}), v = y(() => {
|
|
150
|
-
var o;
|
|
151
|
-
return (o = H.value) == null ? void 0 : o.filter((n) => {
|
|
152
|
-
const t = k.value.toLowerCase(), i = n.name.toLowerCase().includes(t), l = (n.restaurants || []).some((h) => {
|
|
153
|
-
var V;
|
|
154
|
-
return h.name.toLowerCase().includes(t) || ((V = h.code) == null ? void 0 : V.toLowerCase().includes(t));
|
|
155
|
-
});
|
|
156
|
-
return i || l;
|
|
157
|
-
});
|
|
158
|
-
}), P = ne(), E = re(), {
|
|
159
|
-
breakpoints: O
|
|
160
|
-
} = ae(), Q = (e) => {
|
|
161
|
-
P.open({
|
|
162
|
-
title: s("hr.role.remove.title"),
|
|
163
|
-
message: s("hr.role.remove.message", {
|
|
164
|
-
name: e.name
|
|
165
|
-
}),
|
|
166
|
-
minWidth: O.value.lg ? 588 : 0,
|
|
167
|
-
primaryActions: {
|
|
168
|
-
text: s("common.remove"),
|
|
169
|
-
close: !1,
|
|
170
|
-
variant: "destructive"
|
|
171
|
-
},
|
|
172
|
-
secondaryActions: {
|
|
173
|
-
text: s("common.cancel"),
|
|
174
|
-
close: !0
|
|
175
|
-
}
|
|
176
|
-
}).onPrimary(async () => {
|
|
177
|
-
await f.deleteRole(e).then(() => E.open({
|
|
178
|
-
message: s("hr.role.remove.successMessage", {
|
|
179
|
-
name: e.name
|
|
180
|
-
}),
|
|
181
|
-
type: "success"
|
|
182
|
-
})).catch((o) => E.open({
|
|
183
|
-
message: o,
|
|
184
|
-
type: "error"
|
|
185
|
-
})), P.close();
|
|
186
|
-
});
|
|
187
|
-
}, k = S(""), U = S(), g = S(void 0);
|
|
188
|
-
async function X() {
|
|
189
|
-
var e;
|
|
190
|
-
g.value = void 0, await z(), (e = U.value) == null || e.trigger();
|
|
191
|
-
}
|
|
192
|
-
async function Y() {
|
|
193
|
-
if (f.roles.value.length === 0)
|
|
194
|
-
try {
|
|
195
|
-
await f.readRoles();
|
|
196
|
-
} catch (e) {
|
|
197
|
-
console.error("Failed to load roles:", e), E.open({
|
|
198
|
-
message: e instanceof Error ? e.message : String(e),
|
|
199
|
-
type: "error"
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
return ee(() => {
|
|
204
|
-
Y();
|
|
205
|
-
}), W({
|
|
206
|
-
create: X
|
|
207
|
-
}), (e, o) => {
|
|
208
|
-
const n = C("FmSearch"), t = C("FmTable"), i = C("FmListItem"), c = C("FmList");
|
|
209
|
-
return _(), $(A, null, [(_(), x(_e, {
|
|
210
|
-
id: g.value,
|
|
211
|
-
key: g.value,
|
|
212
|
-
ref_key: "roleFormRef",
|
|
213
|
-
ref: U
|
|
214
|
-
}, null, 8, ["id"])), r("div", he, [r("div", ve, [m(n, {
|
|
215
|
-
modelValue: k.value,
|
|
216
|
-
"onUpdate:modelValue": o[0] || (o[0] = (l) => k.value = l),
|
|
217
|
-
class: "w-[320px] xs:w-full",
|
|
218
|
-
autofocus: "",
|
|
219
|
-
placeholder: a(s)("hr.role.search.placeholder") + " / " + a(s)("hr.restaurant.search.placeholder")
|
|
220
|
-
}, null, 8, ["modelValue", "placeholder"])]), m(ie, null, {
|
|
221
|
-
default: R(() => [r("div", ge, [m(ce, {
|
|
222
|
-
"is-loading": a(f).isLoading.value,
|
|
223
|
-
"is-empty": v.value.length === 0,
|
|
224
|
-
"collapse-at": "xs",
|
|
225
|
-
title: a(s)("hr.role.noData.title"),
|
|
226
|
-
subtitle: a(s)("hr.role.noData.subtitle")
|
|
227
|
-
}, {
|
|
228
|
-
default: R(() => [m(t, {
|
|
229
|
-
class: "xs:hidden",
|
|
230
|
-
"column-defs": q,
|
|
231
|
-
"row-data": v.value,
|
|
232
|
-
"page-size": v.value.length,
|
|
233
|
-
loading: a(f).isLoading.value,
|
|
234
|
-
"pin-header-row": "",
|
|
235
|
-
"hide-footer": "",
|
|
236
|
-
"shrink-at": !1,
|
|
237
|
-
onRowClick: o[1] || (o[1] = (l) => L(l.original))
|
|
238
|
-
}, null, 8, ["row-data", "page-size", "loading"])]),
|
|
239
|
-
_: 1
|
|
240
|
-
}, 8, ["is-loading", "is-empty", "title", "subtitle"]), r("div", ye, [m(c, {
|
|
241
|
-
separator: ""
|
|
242
|
-
}, {
|
|
243
|
-
default: R(() => [(_(!0), $(A, null, oe(v.value, (l) => (_(), x(i, {
|
|
244
|
-
key: l._id,
|
|
245
|
-
class: "py-12 px-16 items-center justify-between",
|
|
246
|
-
onClick: (h) => L(l)
|
|
247
|
-
}, {
|
|
248
|
-
default: R(() => [r("div", Ce, [r("p", xe, p(l.name), 1), r("div", Re, [r("p", be, [r("span", we, p(a(s)("hr.role.labels.restaurant")) + ":", 1), T(" " + p(l.restaurants.map((h) => h.name).join(", ")), 1)]), r("p", Fe, [r("span", Le, [r("span", Ee, p(a(s)("hr.role.labels.operation")) + ":", 1), T(" " + p(a(b)(l.permissions, a(d.F_RULE_SUBJECT).enum.order)), 1)]), (_(), x(M(F(l.permissions, a(d.F_RULE_SUBJECT).enum.order))))]), r("p", ke, [r("span", Ue, [r("span", Se, p(a(s)("hr.role.labels.report")) + ":", 1), T(" " + p(a(b)(l.permissions, a(d.F_RULE_SUBJECT).enum.report, a(w))), 1)]), (_(), x(M(F(l.permissions, a(d.F_RULE_SUBJECT).enum.report))))])])]), r("div", {
|
|
249
|
-
onClick: o[2] || (o[2] = se(() => {
|
|
250
|
-
}, ["stop"]))
|
|
251
|
-
}, [m(D, {
|
|
252
|
-
items: N(l)
|
|
253
|
-
}, null, 8, ["items"])])]),
|
|
254
|
-
_: 2
|
|
255
|
-
}, 1032, ["onClick"]))), 128))]),
|
|
256
|
-
_: 1
|
|
257
|
-
})])])]),
|
|
258
|
-
_: 1
|
|
259
|
-
})])], 64);
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
export {
|
|
264
|
-
We as default
|
|
265
|
-
};
|