@feedmepos/mf-hrm-portal 2.2.5-dev.4 → 2.2.5-dev.5
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-D0B_X3Sf.js → ApprovalCodeList-DqR6ouRS.js} +4 -4
- package/dist/{AuditLogList-D9anf4YQ.js → AuditLogList-CG2BiQX6.js} +17 -18
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4oENMRO3.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7nMXx8R.js} +2 -2
- package/dist/{EmployeeList-DREDu3Ou.js → EmployeeList-CGZzol7v.js} +27 -29
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +1 -1
- package/dist/{GrantUserList-CLDshEN9.js → GrantUserList-D1fBv1KQ.js} +5 -5
- package/dist/{Main-lqlb8tPw.js → Main-BOt-Y1wv.js} +9 -9
- package/dist/{Main-QhQxU593.js → Main-CFoZot3K.js} +5 -5
- package/dist/{Main-DtMaG42L.js → Main-zg7fbEtx.js} +2 -2
- package/dist/{PermissionSetList-BK8yBpJJ.js → PermissionSetList-bJpwD62u.js} +10 -11
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C4C8Cvf4.js} +911 -912
- package/dist/{RoleList-D6AX6BqB.js → RoleList-DUVZ7dkO.js} +7 -7
- package/dist/SelectFilter-ATOm0hdn.js +269 -0
- package/dist/{TeamMemberList-BM5JoR6J.js → TeamMemberList-DAnM-DSd.js} +34 -36
- package/dist/{TimesheetList-Ch_f_PD5.js → TimesheetList-5sdcWjEf.js} +53 -54
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-GhPw_mCW.js} +2 -2
- package/dist/{app-tDHL6k4G.js → app-D-cQzgkr.js} +2299 -2884
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-B_XWc0Hu.js → dayjs.min-DqFS0ebn.js} +1 -1
- package/dist/employee-DvvnCQMK.js +204 -0
- package/dist/{index-jxRluZiW.js → iteration-BjW8Cs9e.js} +726 -698
- package/dist/{lodash-D5vM3paU.js → lodash-wjhSWqez.js} +1 -1
- package/dist/{role-7ccipEEe.js → role-CEUcSmA6.js} +3 -4
- package/dist/{rule-7faruCdz.js → rule-Df8LOhxm.js} +70 -71
- package/dist/src/router/shared.d.ts +1 -4
- package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
- package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-FieO4EAD.js → useReportPermissions-4wm7pJcK.js} +3 -3
- package/package.json +1 -1
- package/dist/ScheduleGeneralPage-DAECTCDu.js +0 -242
- package/dist/SchedulePage-CdFR7JuO.js +0 -10751
- package/dist/SchedulePositionPage-DTtKg0sx.js +0 -220
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js +0 -199
- package/dist/SelectFilter-CG13h83-.js +0 -264
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/employee-Bs_2vqBY.js +0 -139
- package/dist/index-Cz2b95YF.js +0 -70
- package/dist/iteration-CcXrOMQe.js +0 -30
- package/dist/src/api/schedule/index.d.ts +0 -44
- package/dist/src/components/layout/AppSidebar.vue.d.ts +0 -2
- package/dist/src/components/layout/PortalShell.vue.d.ts +0 -12
- package/dist/src/components/layout/withShell.d.ts +0 -14
- package/dist/src/types/schedule.d.ts +0 -232
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +0 -4
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +0 -4
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +0 -4
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +0 -22
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +0 -34
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +0 -24
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +0 -23
- package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +0 -10
- package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +0 -17
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +0 -18
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +0 -18
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +0 -14
- package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +0 -24
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +0 -31
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +0 -14
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +0 -25
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +0 -14
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +0 -16
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +0 -54
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +0 -22
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +0 -67
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +0 -38
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +0 -29
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +0 -7
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +0 -14
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +0 -10
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +0 -86
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +0 -66
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +0 -77
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -50
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +0 -18
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +0 -113
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +0 -136
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +0 -415
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +0 -27
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +0 -18
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +0 -17
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +0 -43
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +0 -48
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -82
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +0 -68
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +0 -45
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -139
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +0 -22
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +0 -32
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +0 -16
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +0 -26
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +0 -14
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +0 -80
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +0 -20
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +0 -15
- package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +0 -35
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +0 -179
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +0 -23
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +0 -19
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +0 -32
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +0 -91
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +0 -18
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +0 -183
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +0 -54
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +0 -18
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +0 -225
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +0 -174
- package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +0 -20
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +0 -25
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +0 -44
- package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +0 -10
- package/dist/src/views/scheduling/data.d.ts +0 -105
- package/dist/src/views/scheduling/locales/index.d.ts +0 -496
- package/dist/src/views/scheduling/schedule-store.d.ts +0 -116
- package/dist/src/views/scheduling/types.d.ts +0 -311
- package/dist/useScheduleOutlet-CmIG5dwQ.js +0 -557
- package/dist/useSchedulePositions-DPVAgdB2.js +0 -103
package/dist/app.js
CHANGED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { d as g } from "./dayjs.min-DqFS0ebn.js";
|
|
2
|
+
import { defineStore as $, storeToRefs as x } from "pinia";
|
|
3
|
+
import { ref as m } from "vue";
|
|
4
|
+
import { s as E } from "./iteration-BjW8Cs9e.js";
|
|
5
|
+
import { b as l, g as f, u as I } from "./restaurant-BTpBmfBV.js";
|
|
6
|
+
import { i as v } from "./utils-BZkjJbju.js";
|
|
7
|
+
import { u as _ } from "./role-CEUcSmA6.js";
|
|
8
|
+
const o = {
|
|
9
|
+
async readEmployees() {
|
|
10
|
+
return f(await l().get("/pos-users"));
|
|
11
|
+
},
|
|
12
|
+
async readEmployeesPage(e) {
|
|
13
|
+
var s, p;
|
|
14
|
+
return f(
|
|
15
|
+
await l().get("/pos-users/paged", {
|
|
16
|
+
params: {
|
|
17
|
+
limit: e.limit,
|
|
18
|
+
offset: e.offset,
|
|
19
|
+
search: e.search,
|
|
20
|
+
restaurantIds: (s = e.restaurantIds) != null && s.length ? e.restaurantIds : void 0,
|
|
21
|
+
roleIds: (p = e.roleIds) != null && p.length ? e.roleIds : void 0
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
);
|
|
25
|
+
},
|
|
26
|
+
async createEmployee(e) {
|
|
27
|
+
await l().post("/pos-users", e);
|
|
28
|
+
},
|
|
29
|
+
async createMasterEmployee(e) {
|
|
30
|
+
await l().post("/pos-users/master-user", e);
|
|
31
|
+
},
|
|
32
|
+
async migrateToMasterEmployee(e, s) {
|
|
33
|
+
await l().put(`/pos-users/migrate/${e}`, s);
|
|
34
|
+
},
|
|
35
|
+
async updateEmployee(e, s) {
|
|
36
|
+
await l().put(`/pos-users/${e}`, s);
|
|
37
|
+
},
|
|
38
|
+
async updateMasterEmployee(e, s) {
|
|
39
|
+
await l().put(`/pos-users/master-user/${e}`, s);
|
|
40
|
+
},
|
|
41
|
+
async deleteEmployee(e) {
|
|
42
|
+
await l().put(`/pos-users/${e._id}`, {
|
|
43
|
+
user: e,
|
|
44
|
+
roles: [],
|
|
45
|
+
previousRoles: e.restaurants.map((s) => ({
|
|
46
|
+
restaurantId: s.restaurantId,
|
|
47
|
+
roleId: s.roleId
|
|
48
|
+
}))
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
async deleteMasterEmployee(e) {
|
|
52
|
+
await l().put(`/pos-users/master-user/${e._id}`, {
|
|
53
|
+
user: e,
|
|
54
|
+
roles: [],
|
|
55
|
+
previousRoles: e.restaurants.map((s) => ({
|
|
56
|
+
restaurantId: s.restaurantId,
|
|
57
|
+
roleId: s.roleId
|
|
58
|
+
}))
|
|
59
|
+
});
|
|
60
|
+
},
|
|
61
|
+
async generateEmployeePasscode(e) {
|
|
62
|
+
return `${f(
|
|
63
|
+
await l().post("/pos-users/generate-passcode", {
|
|
64
|
+
restaurantIds: e.restaurantIds,
|
|
65
|
+
excludePosUserId: e.excludePosUserId
|
|
66
|
+
})
|
|
67
|
+
)}`;
|
|
68
|
+
},
|
|
69
|
+
async syncUsersMeta() {
|
|
70
|
+
await l().post("/pos-users/create-users-meta");
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
async function T(e) {
|
|
74
|
+
const s = _().roles.value, { restaurants: p } = I(), c = new Map(
|
|
75
|
+
p.value.map((a) => [a._id, a.profile.name])
|
|
76
|
+
), u = new Map(s.map((a) => [a._id, a.name])), r = /* @__PURE__ */ new Map();
|
|
77
|
+
for (const a of e) {
|
|
78
|
+
const n = {
|
|
79
|
+
restaurantId: a.restaurantId,
|
|
80
|
+
restaurantName: c.get(a.restaurantId) || "",
|
|
81
|
+
roleId: a.role,
|
|
82
|
+
roleName: u.get(a.role) || ""
|
|
83
|
+
}, d = r.get(a._id);
|
|
84
|
+
if (!d) {
|
|
85
|
+
r.set(a._id, {
|
|
86
|
+
...a,
|
|
87
|
+
isRestricted: !1,
|
|
88
|
+
since: g(v(a._id)).format("DD/MM/YYYY"),
|
|
89
|
+
restaurants: [n]
|
|
90
|
+
});
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
d.restaurants.some((y) => y.restaurantId === a.restaurantId) || (d.restaurants = E([...d.restaurants, n], {
|
|
94
|
+
selector: "restaurantName"
|
|
95
|
+
}));
|
|
96
|
+
}
|
|
97
|
+
return E([...r.values()], { selector: "name" });
|
|
98
|
+
}
|
|
99
|
+
function M(e) {
|
|
100
|
+
const { restaurants: s } = I(), p = _().roles.value, c = new Map(
|
|
101
|
+
s.value.map((a) => [a._id, a])
|
|
102
|
+
), u = new Map(p.map((a) => [a._id, a.name])), r = e.restaurantRole[0];
|
|
103
|
+
return {
|
|
104
|
+
_id: e._id,
|
|
105
|
+
name: e.name,
|
|
106
|
+
code: e.code,
|
|
107
|
+
passcode: e.passcode,
|
|
108
|
+
isMasterUser: e.isMasterUser,
|
|
109
|
+
isRestricted: e.isRestricted,
|
|
110
|
+
restaurantId: (r == null ? void 0 : r.restaurantId) || "",
|
|
111
|
+
role: (r == null ? void 0 : r.roleId) || "",
|
|
112
|
+
since: g(v(e._id)).format("DD/MM/YYYY"),
|
|
113
|
+
restaurants: E(
|
|
114
|
+
e.restaurantRole.map((a) => {
|
|
115
|
+
const n = c.get(a.restaurantId);
|
|
116
|
+
return {
|
|
117
|
+
restaurantId: a.restaurantId,
|
|
118
|
+
restaurantName: (n == null ? void 0 : n.profile.name) || "",
|
|
119
|
+
restaurantCode: (n == null ? void 0 : n.profile.code) ?? void 0,
|
|
120
|
+
roleId: a.roleId,
|
|
121
|
+
roleName: u.get(a.roleId) || ""
|
|
122
|
+
};
|
|
123
|
+
}),
|
|
124
|
+
{ selector: "restaurantName" }
|
|
125
|
+
)
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
const h = $("employee", () => {
|
|
129
|
+
const e = I(), s = m([]), p = m([]), c = m(0), u = m(!1);
|
|
130
|
+
async function r() {
|
|
131
|
+
try {
|
|
132
|
+
u.value = !0, await e.readRestaurants();
|
|
133
|
+
const t = await o.readEmployees();
|
|
134
|
+
s.value = await T(t);
|
|
135
|
+
} finally {
|
|
136
|
+
u.value = !1;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
async function a(t) {
|
|
140
|
+
try {
|
|
141
|
+
u.value = !0, await e.readRestaurants();
|
|
142
|
+
const i = await o.readEmployeesPage(t);
|
|
143
|
+
p.value = i.items.map(M), c.value = i.total;
|
|
144
|
+
} finally {
|
|
145
|
+
u.value = !1;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
async function n(t, i) {
|
|
149
|
+
await e.readRestaurants();
|
|
150
|
+
const w = i ?? (await o.readEmployeesPage({ ...t, limit: 1, offset: 0 })).total;
|
|
151
|
+
return w === 0 ? [] : (await o.readEmployeesPage({ ...t, limit: w, offset: 0 })).items.map(M);
|
|
152
|
+
}
|
|
153
|
+
async function d(t) {
|
|
154
|
+
await o.createEmployee(t);
|
|
155
|
+
}
|
|
156
|
+
async function y(t, i) {
|
|
157
|
+
await o.updateEmployee(t, i);
|
|
158
|
+
}
|
|
159
|
+
async function P(t) {
|
|
160
|
+
await o.deleteEmployee(t);
|
|
161
|
+
}
|
|
162
|
+
async function U(t) {
|
|
163
|
+
await o.deleteMasterEmployee(t);
|
|
164
|
+
}
|
|
165
|
+
async function Y(t) {
|
|
166
|
+
await o.createMasterEmployee(t);
|
|
167
|
+
}
|
|
168
|
+
async function N(t, i) {
|
|
169
|
+
await o.updateMasterEmployee(t, i);
|
|
170
|
+
}
|
|
171
|
+
async function S(t, i) {
|
|
172
|
+
await o.migrateToMasterEmployee(t, i);
|
|
173
|
+
}
|
|
174
|
+
async function D() {
|
|
175
|
+
await o.syncUsersMeta();
|
|
176
|
+
}
|
|
177
|
+
return {
|
|
178
|
+
employees: s,
|
|
179
|
+
listEmployees: p,
|
|
180
|
+
totalEmployees: c,
|
|
181
|
+
isLoading: u,
|
|
182
|
+
readEmployees: r,
|
|
183
|
+
readEmployeesPage: a,
|
|
184
|
+
readAllEmployeesPage: n,
|
|
185
|
+
createEmployee: d,
|
|
186
|
+
updateEmployee: y,
|
|
187
|
+
deleteEmployee: P,
|
|
188
|
+
createMasterEmployee: Y,
|
|
189
|
+
updateMasterEmployee: N,
|
|
190
|
+
deleteMasterEmployee: U,
|
|
191
|
+
migrateToMasterUser: S,
|
|
192
|
+
syncUsersMeta: D
|
|
193
|
+
};
|
|
194
|
+
}), z = () => {
|
|
195
|
+
const e = h();
|
|
196
|
+
return {
|
|
197
|
+
...e,
|
|
198
|
+
...x(e)
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
export {
|
|
202
|
+
o as E,
|
|
203
|
+
z as u
|
|
204
|
+
};
|