@feedmepos/mf-hrm-portal 2.3.2-dev.17 → 2.3.2-dev.19
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-Bo8IbNxV.js → ApprovalCodeList-CiZcp75s.js} +14 -15
- package/dist/{AuditLogList-C7CjPILA.js → AuditLogList-AVdhUk22.js} +823 -833
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CGsOJ4bA.js +459 -0
- package/dist/EmployeeList-DmB3wCwv.js +896 -0
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-Qsc3hk6l.js +90 -0
- package/dist/{GrantUserList-CXWGr3Wo.js → GrantUserList-CUWnDKaH.js} +15 -16
- package/dist/Main-CbJjQFFR.js +101 -0
- package/dist/{Main-bru10M5U.js → Main-D7CAtkiV.js} +2274 -2280
- package/dist/{Main-DeuWov9n.js → Main-DT4TJPRM.js} +5 -5
- package/dist/MyPosProfile-EWK8IPlZ.js +360 -0
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +126 -0
- package/dist/{PermissionSetList--xt0piQz.js → PermissionSetList-D2HDsSFi.js} +136 -137
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BUSup81G.js +4212 -0
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-B1sb_3ow.js +1797 -0
- package/dist/RoleForm.vue_vue_type_script_setup_true_lang-D-Gve4l8.js +547 -0
- package/dist/RoleList-DRFTQcwP.js +274 -0
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cqo5kHcF.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-b96QQsiZ.js} +1 -1
- package/dist/{ScheduleGeneralPage-DxhgBLix.js → ScheduleGeneralPage-DO6ZO_7t.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DGPwmNQb.js → ScheduleModal.vue_vue_type_script_setup_true_lang-BG0-qg1-.js} +187 -186
- package/dist/{SchedulePage-oBdEvGWN.js → SchedulePage-m9fYfgEO.js} +20 -20
- package/dist/{SchedulePositionPage-BZps-kKs.js → SchedulePositionPage-B9M8bgu1.js} +3 -3
- package/dist/{SelectFilter-Bs_LCk3L.js → SelectFilter-qanI8DEh.js} +1 -1
- package/dist/TeamMemberList-D7PIM3xv.js +2082 -0
- package/dist/TimesheetList-C_XQe3jl.js +408 -0
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dv66Af5C.js → TimesheetList.vue_vue_type_style_index_0_scoped_ffd7f807_lang-D6qTouaS.js} +7 -7
- package/dist/{app-B8xnhtVI.js → app-BuJGxfu4.js} +7973 -4103
- package/dist/app.js +3 -3
- package/dist/{approval-code-B0jU1bvk.js → approval-code-HPeWQne5.js} +1 -1
- package/dist/{dayjs.min-CdpSCqn1.js → dayjs.min-CLUgksBW.js} +34 -34
- package/dist/employee-DrsTtOKq.js +237 -0
- package/dist/{grant-user-C3C6glCk.js → grant-user-J6TSUXHn.js} +1 -1
- package/dist/{iteration-BM0iyDBd.js → index-Dl7XhjSB.js} +573 -558
- package/dist/{lodash-KK9U7NAy.js → lodash-CMqarlaS.js} +1 -1
- package/dist/member-grant-BeNgG3hd.js +54 -0
- package/dist/restaurant-9Y8x8pCL.js +49 -0
- package/dist/role-COuuwMES.js +91 -0
- package/dist/rule-50_hBJQJ.js +845 -0
- package/dist/src/api/my-pos-profile/index.d.ts +3 -0
- package/dist/src/api/sso-provider/index.d.ts +5 -0
- package/dist/src/api/staff-invite/index.d.ts +16 -0
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +11 -3
- package/dist/src/components/form/SegmentedTabs.vue.d.ts +23 -0
- package/dist/src/composables/useMenuAccess.d.ts +56 -0
- package/dist/src/composables/useSsoProviders.d.ts +19 -0
- package/dist/src/composables/useStaffInviteProviders.d.ts +8 -0
- package/dist/src/composables/useTenant.d.ts +11 -0
- package/dist/src/helpers/employee-merge.d.ts +33 -0
- package/dist/src/helpers/iteration.d.ts +9 -2
- package/dist/src/helpers/member-grant.d.ts +36 -0
- package/dist/src/helpers/my-pos-profile.d.ts +37 -0
- package/dist/src/helpers/permission-set.d.ts +1 -102
- package/dist/src/helpers/pos-assignment-rows.d.ts +28 -0
- package/dist/src/helpers/restaurant-lookup.d.ts +19 -0
- package/dist/src/helpers/role-merge.d.ts +11 -0
- package/dist/src/helpers/rule.d.ts +2 -2
- package/dist/src/helpers/staff-invite.d.ts +54 -0
- package/dist/src/helpers/string.d.ts +10 -1
- package/dist/src/router/courtGuard.d.ts +4 -0
- package/dist/src/router/menu-access-guard.d.ts +17 -0
- package/dist/src/router/shared.d.ts +3 -1
- package/dist/src/stores/restaurant.d.ts +7 -7
- package/dist/src/stores/team.d.ts +31 -1
- package/dist/src/types/my-pos-profile.d.ts +24 -0
- package/dist/src/types/sso-provider.d.ts +10 -0
- package/dist/src/types/staff-invite.d.ts +100 -0
- package/dist/src/types/team.d.ts +17 -1
- package/dist/src/views/audit-log/locales/index.d.ts +12 -0
- package/dist/src/views/audit-log/useTraceIdDeepLink.d.ts +1 -1
- package/dist/src/views/hr/locales/index.d.ts +20 -0
- package/dist/src/views/hr/role/RoleForm.vue.d.ts +29 -2
- package/dist/src/views/hr/timesheet/timesheet-view.d.ts +29 -0
- package/dist/src/views/my-pos-profile/MyPosProfile.vue.d.ts +2 -0
- package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +4 -0
- package/dist/src/views/my-pos-profile/locales/index.d.ts +236 -0
- 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 +11 -0
- package/dist/src/views/team/components/ConditionPermission.vue.d.ts +11 -0
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +51 -0
- package/dist/src/views/team/{member/MemberInfo.vue.d.ts → components/MemberStatusBadge.vue.d.ts} +2 -2
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +21 -0
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +44 -0
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +11 -0
- package/dist/src/views/team/locales/index.d.ts +716 -0
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +48 -3
- package/dist/src/views/team/member/ExistingMemberNotice.vue.d.ts +11 -0
- package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +35 -0
- package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +19 -0
- package/dist/src/views/team/member/TeamMemberList.vue.d.ts +1 -0
- package/dist/string-DZQ1uNjn.js +22 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-C1lk2Q2j.js → useAppStore-BCvZUxKY.js} +1 -1
- package/dist/{useLoading-CXdGsnHm.js → useLoading-BOt2Is3p.js} +1 -1
- package/dist/useReportPermissions-BVTpovDL.js +80 -0
- package/dist/useSsoProviders-Bec-WHC7.js +41 -0
- package/package.json +2 -2
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C-4BaMN-.js +0 -438
- package/dist/EmployeeList-BOP-gaTp.js +0 -776
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-BEOR-8QD.js +0 -45
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
- package/dist/Main-BrP1frfO.js +0 -96
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +0 -243
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D5nvRsW3.js +0 -4167
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DiNDrCy0.js +0 -35
- package/dist/RoleList-BEE-8EQK.js +0 -740
- package/dist/TeamMemberList-DCgNcs4P.js +0 -1154
- package/dist/TimesheetList-BW6iCigo.js +0 -402
- package/dist/employee-DlFGiUgI.js +0 -209
- package/dist/restaurant-C7o2Yk6j.js +0 -2688
- package/dist/role-DYCorsOh.js +0 -92
- package/dist/rule-BhGHZqKO.js +0 -783
- package/dist/string-VNuQNweN.js +0 -15
- package/dist/useReportPermissions-D_I4rFVo.js +0 -82
|
@@ -2,19 +2,19 @@ import { reactive as Xe, watch as Ct, computed as L, ref as Y, onUnmounted as To
|
|
|
2
2
|
import { useRouter as Ma, onBeforeRouteLeave as Qs } from "vue-router";
|
|
3
3
|
import { useSnackbar as Dn, SnackbarPosition as jo, components as Zs } from "@feedmepos/ui-library";
|
|
4
4
|
import { useCoreStore as Oo, useI18n as me } from "@feedmepos/mf-common";
|
|
5
|
-
import { d as Ln, p as Dt, w as Ta, o as Nt, i as $n, c as _s, a as Oa, P as rn, R as In, b as Me, s as Et, e as on, f as el, h as tl, g as Aa, j as Ra, r as en, k as zt, l as so, m as La, n as nl, q as It, S as ol, t as qn, u as al, v as fo, x as kt, y as qo, z as mn, A as Qn, U as Ia, C as sl, W as Ge, B as Hn, D as ll, E as il, F as pn, G as Ao, H as an, I as qe, J as Cn, K as Ha, L as Ut, M as Lt, N as lo, O as io, Q as Yo, T as Yn, V as rl, X as yo, Y as dl, Z as Gn, _ as bo, $ as ro, a0 as ko, a1 as Na, a2 as Ko, a3 as Go, a4 as Sn, a5 as Jo, a6 as Xo, a7 as Fa, a8 as wo, a9 as ul, aa as Ba, ab as cl, ac as vn, ad as hl, ae as ml, af as vl, ag as pl, ah as Ua, ai as Jn, aj as gl, ak as _t, al as Xn, am as Qo, an as Ro, ao as Lo, ap as $o, aq as fl, ar as Io, as as yl, at as bl, au as kl, av as re, aw as wl, ax as wt, ay as Pn, az as Wa, aA as $l, aB as Sl, aC as Zo } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as Co } from "./role-
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as zl } from "./useLoading-
|
|
5
|
+
import { d as Ln, p as Dt, w as Ta, o as Nt, i as $n, c as _s, a as Oa, P as rn, R as In, b as Me, s as Et, e as on, f as el, h as tl, g as Aa, j as Ra, r as en, k as zt, l as so, m as La, n as nl, q as It, S as ol, t as qn, u as al, v as fo, x as kt, y as qo, z as mn, A as Qn, U as Ia, C as sl, W as Ge, B as Hn, D as ll, E as il, F as pn, G as Ao, H as an, I as qe, J as Cn, K as Ha, L as Ut, M as Lt, N as lo, O as io, Q as Yo, T as Yn, V as rl, X as yo, Y as dl, Z as Gn, _ as bo, $ as ro, a0 as ko, a1 as Na, a2 as Ko, a3 as Go, a4 as Sn, a5 as Jo, a6 as Xo, a7 as Fa, a8 as wo, a9 as ul, aa as Ba, ab as cl, ac as vn, ad as hl, ae as ml, af as vl, ag as pl, ah as Ua, ai as Jn, aj as gl, ak as _t, al as Xn, am as Qo, an as Ro, ao as Lo, ap as $o, aq as fl, ar as Io, as as yl, at as bl, au as kl, av as re, aw as wl, ax as wt, ay as Pn, az as Wa, aA as $l, aB as Sl, aC as Zo } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BG0-qg1-.js";
|
|
6
|
+
import { R as Va, s as xl, a as Un } from "./app-BuJGxfu4.js";
|
|
7
|
+
import "./index-Dl7XhjSB.js";
|
|
8
|
+
import { t as So, b as xo } from "./rule-50_hBJQJ.js";
|
|
9
|
+
import { E as ja, u as Cl } from "./employee-DrsTtOKq.js";
|
|
10
|
+
import { c as El } from "./object-Dwyg2LgX.js";
|
|
11
|
+
import { u as Dl } from "./useDiscardConfirm-CzZSPyvh.js";
|
|
12
|
+
import { u as Co } from "./role-COuuwMES.js";
|
|
13
|
+
import { u as Pl } from "./restaurant-9Y8x8pCL.js";
|
|
14
|
+
import { u as zl } from "./useLoading-BOt2Is3p.js";
|
|
15
15
|
import { u as Ml } from "./useMessage-_ywT_N9X.js";
|
|
16
16
|
import { useAppStore as Tl } from "@feedmepos/mf-remy-panel";
|
|
17
|
-
import { u as Ol, _ as Al, a as Rl } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { u as Ol, _ as Al, a as Rl } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-b96QQsiZ.js";
|
|
18
18
|
function Ll(e) {
|
|
19
19
|
return {
|
|
20
20
|
employees: Oa(e),
|
|
@@ -438,7 +438,7 @@ ${N.role || n("scheduling.common.anyPosition")}${Te ? ` · ${n("scheduling.statu
|
|
|
438
438
|
id: _.id,
|
|
439
439
|
name: _.name,
|
|
440
440
|
weekHours: _.weekHours,
|
|
441
|
-
shifts:
|
|
441
|
+
shifts: El(_.shifts)
|
|
442
442
|
}));
|
|
443
443
|
}
|
|
444
444
|
function xe(_, ne = {}) {
|
|
@@ -2008,7 +2008,7 @@ function mi() {
|
|
|
2008
2008
|
() => !Yn.value && o.value && !n.value
|
|
2009
2009
|
);
|
|
2010
2010
|
function c() {
|
|
2011
|
-
e.push({ name:
|
|
2011
|
+
e.push({ name: Va.SCHEDULE_POSITION });
|
|
2012
2012
|
}
|
|
2013
2013
|
async function v() {
|
|
2014
2014
|
var z, E;
|
|
@@ -2197,7 +2197,7 @@ function bi(e) {
|
|
|
2197
2197
|
f.doc.posUserId,
|
|
2198
2198
|
xo(f.permissions, { isOwner: f.doc.isOwner }).restaurantIds
|
|
2199
2199
|
])
|
|
2200
|
-
), h = await
|
|
2200
|
+
), h = await ja.readEmployeesPage({
|
|
2201
2201
|
limit: w,
|
|
2202
2202
|
offset: ($ - 1) * w,
|
|
2203
2203
|
search: C.trim() || void 0,
|
|
@@ -2416,7 +2416,7 @@ function xi(e, n = {}) {
|
|
|
2416
2416
|
const O = await d.custom(
|
|
2417
2417
|
() => {
|
|
2418
2418
|
var h;
|
|
2419
|
-
return
|
|
2419
|
+
return ja.generateEmployeePasscode({
|
|
2420
2420
|
restaurantIds: P,
|
|
2421
2421
|
excludePosUserId: (h = n.excludePosUserId) == null ? void 0 : h.value
|
|
2422
2422
|
});
|
|
@@ -2486,7 +2486,7 @@ function xi(e, n = {}) {
|
|
|
2486
2486
|
return s.value === null ? !0 : s.value ? s.value.includes(P._id) : P.isUsable;
|
|
2487
2487
|
}
|
|
2488
2488
|
function k(P) {
|
|
2489
|
-
const O = ho(P), h =
|
|
2489
|
+
const O = ho(P), h = Pl().restaurants.value.find((f) => f._id === O);
|
|
2490
2490
|
return h != null && h.managable ? l.value === null || l.value === void 0 ? !0 : l.value.includes(O ?? "") : !1;
|
|
2491
2491
|
}
|
|
2492
2492
|
return {
|
|
@@ -2590,7 +2590,7 @@ function Ci(e) {
|
|
|
2590
2590
|
const w = [...c].map((D) => ({
|
|
2591
2591
|
restaurantId: D,
|
|
2592
2592
|
roleId: v.get(D) ?? ""
|
|
2593
|
-
})), z = e.form.passcode.join(""), E =
|
|
2593
|
+
})), z = e.form.passcode.join(""), E = Cl();
|
|
2594
2594
|
let b;
|
|
2595
2595
|
return e.form.masterUser ? b = await E.createMasterEmployee({
|
|
2596
2596
|
user: { name: r, passcode: z, code: e.form.masterCode.trim() },
|
|
@@ -2774,7 +2774,7 @@ function Ei(e, n = {}) {
|
|
|
2774
2774
|
function H() {
|
|
2775
2775
|
l.value = !1, k.value = !1, A.value = !1, C.value = null, x.closeSelectExisting(), v.value = null;
|
|
2776
2776
|
}
|
|
2777
|
-
const B =
|
|
2777
|
+
const B = Dl(h, H, { zIndex: 1e3 });
|
|
2778
2778
|
function Q(ae) {
|
|
2779
2779
|
C.value = null, ae === "new" && u.value === "existing" && (Object.assign(d, Tn()), f.value && (d.locations = [f.value]), R.value = null, T.value = null, b.value = [], D.value = [], P.value = O()), u.value = ae;
|
|
2780
2780
|
}
|
|
@@ -3381,7 +3381,7 @@ function Hi(e) {
|
|
|
3381
3381
|
return e.startsWith(ia) ? { kind: "reject", text: e.slice(ia.length) } : e.startsWith(ra) ? { kind: "ai", text: e.slice(ra.length) } : { kind: "plain", text: e };
|
|
3382
3382
|
}
|
|
3383
3383
|
function Za(e) {
|
|
3384
|
-
return e instanceof
|
|
3384
|
+
return e instanceof xl && e.status > 0 && e.status < 500;
|
|
3385
3385
|
}
|
|
3386
3386
|
function Ni(e, n) {
|
|
3387
3387
|
return Za(e) ? e.message : n("scheduling.autoSchedule.errors.generateFailed");
|
|
@@ -10221,7 +10221,7 @@ const Kh = { class: "topbar" }, Gh = { class: "page-title" }, Jh = { class: "pag
|
|
|
10221
10221
|
type: "button",
|
|
10222
10222
|
title: a(l)("scheduling.topbar.settings"),
|
|
10223
10223
|
"aria-label": a(l)("scheduling.topbar.settings"),
|
|
10224
|
-
onClick: u[14] || (u[14] = (d) => a(s).push({ name: a(
|
|
10224
|
+
onClick: u[14] || (u[14] = (d) => a(s).push({ name: a(Va).SCHEDULE_GENERAL }))
|
|
10225
10225
|
}, {
|
|
10226
10226
|
default: se(() => [...u[23] || (u[23] = [
|
|
10227
10227
|
t("svg", {
|
|
@@ -2,9 +2,9 @@ import { defineComponent as S, ref as x, onMounted as N, computed as z, createEl
|
|
|
2
2
|
import { useRouter as B } from "vue-router";
|
|
3
3
|
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
5
|
-
import { R as L, a as T } from "./app-
|
|
6
|
-
import { aA as U, aB as H, ai as R, av as h, ax as j } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { R as L, a as T } from "./app-BuJGxfu4.js";
|
|
6
|
+
import { aA as U, aB as H, ai as R, av as h, ax as j } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-BG0-qg1-.js";
|
|
7
|
+
import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-b96QQsiZ.js";
|
|
8
8
|
const W = { class: "main" }, G = {
|
|
9
9
|
id: "viewPositions",
|
|
10
10
|
class: "view"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as $, computed as v, defineComponent as X, watch as Y, nextTick as Z, resolveComponent as F, createElementBlock as d, openBlock as c, createElementVNode as A, createVNode as b, renderSlot as z, withCtx as O, createCommentVNode as x, normalizeStyle as ee, Fragment as S, createBlock as T, unref as k, renderList as R, toDisplayString as N, normalizeClass as le, withModifiers as te } from "vue";
|
|
2
2
|
import "@feedmepos/ui-library";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { a as ae } from "./app-
|
|
4
|
+
import { a as ae } from "./app-BuJGxfu4.js";
|
|
5
5
|
function ue(r, u, _ = r) {
|
|
6
6
|
const t = $(!0), C = v(() => {
|
|
7
7
|
if (!t.value && !u.value)
|