@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as re, ref as K, computed as g, resolveComponent as b, createBlock as O, openBlock as _, withCtx as $, createElementVNode as s, createElementBlock as S, createCommentVNode as Y, toDisplayString as C, unref as a, Fragment as H, renderList as te, createVNode as c, renderSlot as xe, isRef as ue, withModifiers as de, createTextVNode as be, normalizeClass as ke, h as x } from "vue";
|
|
2
|
-
import { d as Ve } from "./dayjs.min-
|
|
2
|
+
import { d as Ve } from "./dayjs.min-DqFS0ebn.js";
|
|
3
3
|
import { useI18n as ne } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ie, components as z, useDialog as we, useBreakpoints as Fe, FmButtonVariant as se } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as q } from "./SelectFilter-
|
|
6
|
-
import { _ as $e } from "./app-
|
|
7
|
-
import { _ as pe, u as Se, H as Ae } from "./FormItem.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { S as q } from "./SelectFilter-ATOm0hdn.js";
|
|
6
|
+
import { _ as $e } from "./app-D-cQzgkr.js";
|
|
7
|
+
import { _ as pe, u as Se, H as Ae } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
|
|
8
8
|
import { _ as Pe } from "./index.vue_vue_type_script_setup_true_lang-BVVwfd7B.js";
|
|
9
9
|
import { u as ve } from "./useLoading-CXzTpIVv.js";
|
|
10
10
|
import { u as fe } from "./approval-code-jIjkeVEb.js";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { defineComponent as Mt, ref as S, computed as A, onMounted as Ao, onBeforeUnmount as Fo, watch as de, resolveComponent as N, createElementBlock as b, openBlock as v, createBlock as we, createCommentVNode as j, createElementVNode as a, Fragment as q, renderList as ae, withCtx as B, createVNode as m, toDisplayString as l, unref as c, nextTick as Mo, onUnmounted as Oo, createTextVNode as Ve, normalizeClass as Do } from "vue";
|
|
2
|
-
import { d as D } from "./dayjs.min-
|
|
2
|
+
import { d as D } from "./dayjs.min-DqFS0ebn.js";
|
|
3
3
|
import { useI18n as Ot, useCoreStore as jo } from "@feedmepos/mf-common";
|
|
4
|
-
import { B as St, _ as Co } from "./app-
|
|
4
|
+
import { B as St, _ as Co } from "./app-D-cQzgkr.js";
|
|
5
5
|
import { components as ue } from "@feedmepos/ui-library";
|
|
6
6
|
import { g as Ze, b as et } from "./restaurant-BTpBmfBV.js";
|
|
7
|
-
import { S as Pe } from "./SelectFilter-
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { t as
|
|
11
|
-
import { defineStore as
|
|
12
|
-
import { u as
|
|
13
|
-
import { n as
|
|
14
|
-
import { _ as Uo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
import { S as Pe, _ as To } from "./SelectFilter-ATOm0hdn.js";
|
|
8
|
+
import { _ as Vo } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
9
|
+
import { _ as Po } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
10
|
+
import { t as Eo, p as kt } from "./rule-Df8LOhxm.js";
|
|
11
|
+
import { defineStore as $o } from "pinia";
|
|
12
|
+
import { u as No } from "./useDebounce-B8ZPVS5C.js";
|
|
13
|
+
import { n as Uo } from "./string-VNuQNweN.js";
|
|
15
14
|
const Se = [
|
|
16
15
|
{ key: "all", label: "All", subjectPrefixes: [] },
|
|
17
16
|
{ key: "inventory", label: "Inventory", subjectPrefixes: ["business::inventory", "inventory"] },
|
|
@@ -226,7 +225,7 @@ const Se = [
|
|
|
226
225
|
], 512);
|
|
227
226
|
};
|
|
228
227
|
}
|
|
229
|
-
}), qo =
|
|
228
|
+
}), qo = $o("team", () => {
|
|
230
229
|
const t = S([]), o = S(!1), n = S(!1), r = A(
|
|
231
230
|
() => Object.fromEntries(t.value.map((h) => [h.doc.userId, h.name]))
|
|
232
231
|
), d = A(
|
|
@@ -238,7 +237,7 @@ const Se = [
|
|
|
238
237
|
if (!(!h && t.value.length > 0))
|
|
239
238
|
try {
|
|
240
239
|
o.value = !0;
|
|
241
|
-
const i = await
|
|
240
|
+
const i = await Eo.readTeamMembers();
|
|
242
241
|
t.value = i.sort((C, O) => C.doc.isOwner ? -1 : C.name.localeCompare(O.name)), n.value = !0;
|
|
243
242
|
} finally {
|
|
244
243
|
o.value = !1;
|
|
@@ -847,7 +846,7 @@ const ls = {
|
|
|
847
846
|
userIds: e.filter((s) => s !== $e),
|
|
848
847
|
feedmeAdminActors: e.includes($e)
|
|
849
848
|
};
|
|
850
|
-
}), Be = S(""), X = S(""), Ut =
|
|
849
|
+
}), Be = S(""), X = S(""), Ut = No(Be, (e) => {
|
|
851
850
|
X.value = e.trim();
|
|
852
851
|
});
|
|
853
852
|
Oo(Ut);
|
|
@@ -1281,7 +1280,7 @@ const ls = {
|
|
|
1281
1280
|
class: "flex items-center gap-8"
|
|
1282
1281
|
}, [m(ue.FmAvatar, {
|
|
1283
1282
|
name: be(s),
|
|
1284
|
-
initials:
|
|
1283
|
+
initials: Uo(be(s)),
|
|
1285
1284
|
size: "sm",
|
|
1286
1285
|
class: "shrink-0"
|
|
1287
1286
|
}, null), m("div", {
|
|
@@ -1562,7 +1561,7 @@ const ls = {
|
|
|
1562
1561
|
deep: !0
|
|
1563
1562
|
}), (e, s) => {
|
|
1564
1563
|
const u = N("FmSpacer"), y = N("FmButton"), x = N("FmMenuItem"), F = N("FmMenu"), $ = N("FmChip"), oe = N("FmDateRangePicker"), Ce = N("FmSearch"), _e = N("FmTable"), Te = N("FmIcon"), Xe = N("FmTooltip"), xe = N("FmSideSheet");
|
|
1565
|
-
return v(), b(q, null, [m(
|
|
1564
|
+
return v(), b(q, null, [m(Vo, {
|
|
1566
1565
|
heading: c(o)("auditLog.title")
|
|
1567
1566
|
}, {
|
|
1568
1567
|
"append-heading": B(() => [m(u), m(y, {
|
|
@@ -1652,7 +1651,7 @@ const ls = {
|
|
|
1652
1651
|
class: "ml-auto w-[280px]",
|
|
1653
1652
|
placeholder: c(o)("auditLog.search.placeholder")
|
|
1654
1653
|
}, null, 8, ["modelValue", "placeholder"])])]), m(Co, null, {
|
|
1655
|
-
default: B(() => [a("div", ps, [m(
|
|
1654
|
+
default: B(() => [a("div", ps, [m(Po, {
|
|
1656
1655
|
"is-loading": g.value,
|
|
1657
1656
|
"is-empty": h.value.length === 0,
|
|
1658
1657
|
title: c(o)("auditLog.noData.title"),
|
|
@@ -1773,7 +1772,7 @@ const ls = {
|
|
|
1773
1772
|
}, 8, ["header", "model-value"])], 64);
|
|
1774
1773
|
};
|
|
1775
1774
|
}
|
|
1776
|
-
}),
|
|
1775
|
+
}), Fn = /* @__PURE__ */ To(fn, [["__scopeId", "data-v-f7aebfad"]]);
|
|
1777
1776
|
export {
|
|
1778
|
-
|
|
1777
|
+
Fn as default
|
|
1779
1778
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as M, ref as S, onMounted as ae, nextTick as le, onUnmounted as ue, resolveComponent as F, createElementBlock as p, openBlock as s, Fragment as C, createElementVNode as U, renderSlot as _, createCommentVNode as w, toDisplayString as J, createVNode as E, normalizeStyle as re, watch as X, defineAsyncComponent as se, computed as z, renderList as T, createBlock as h, withCtx as H, unref as x, resolveDynamicComponent as ie, normalizeClass as de } from "vue";
|
|
2
2
|
import { useI18n as q, useCoreStore as me } from "@feedmepos/mf-common";
|
|
3
|
-
import {
|
|
4
|
-
import { l as fe } from "./lodash-
|
|
3
|
+
import { f as j, G as ce, U as L } from "./app-D-cQzgkr.js";
|
|
4
|
+
import { l as fe } from "./lodash-wjhSWqez.js";
|
|
5
5
|
const ye = { class: "flex items-center" }, be = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "ml-8 fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { toRaw as Ke, defineComponent as Fe, ref as v, computed as h, watch as X, resolveComponent as E, createElementBlock as ee, openBlock as g, Fragment as Ie, renderSlot as Ge, createVNode as i, unref as l, withCtx as y, createElementVNode as f, createBlock as I, createCommentVNode as j, toDisplayString as q, onUnmounted as Be, isRef as we, normalizeClass as ke, createTextVNode as ge, withModifiers as je, resolveDynamicComponent as qe, h as ie } from "vue";
|
|
2
2
|
import { useI18n as Re, useCoreStore as He } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Me, components as $e, useDialog as Je, useBreakpoints as We } from "@feedmepos/ui-library";
|
|
4
|
-
import { S as ue } from "./SelectFilter-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as xe, u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { s as
|
|
10
|
-
import { u as
|
|
11
|
-
import { n as
|
|
12
|
-
import { u as Le } from "./employee-
|
|
4
|
+
import { S as ue, _ as Qe } from "./SelectFilter-ATOm0hdn.js";
|
|
5
|
+
import { _ as Ye, a as Ze } from "./app-D-cQzgkr.js";
|
|
6
|
+
import { _ as xe, u as Xe, H as ea } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
|
|
7
|
+
import { u as aa, _ as la } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
8
|
+
import { _ as sa } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
|
+
import { s as ta, _ as oa, a as ra, b as na, c as Ee } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
|
|
10
|
+
import { u as ia } from "./useDebounce-B8ZPVS5C.js";
|
|
11
|
+
import { n as ua } from "./string-VNuQNweN.js";
|
|
12
|
+
import { u as Le, E as ca } from "./employee-DvvnCQMK.js";
|
|
13
13
|
import { u as Pe } from "./restaurant-BTpBmfBV.js";
|
|
14
|
-
import { l as
|
|
14
|
+
import { l as ma } from "./lodash-wjhSWqez.js";
|
|
15
15
|
import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
|
|
16
16
|
import { u as De } from "./useLoading-CXzTpIVv.js";
|
|
17
|
-
import {
|
|
18
|
-
import { u as he } from "./role-7ccipEEe.js";
|
|
17
|
+
import { u as he } from "./role-CEUcSmA6.js";
|
|
19
18
|
/* empty css */
|
|
20
|
-
import { _ as ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
19
|
function Se($) {
|
|
22
20
|
return JSON.parse(JSON.stringify($));
|
|
23
21
|
}
|
|
@@ -74,7 +72,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
74
72
|
};
|
|
75
73
|
}
|
|
76
74
|
const T = h(() => R.value ? c("hr.employee.form.add") : c("hr.employee.form.update")), H = h(() => R.value ? c("common.create") : c("common.update")), b = v(_()), s = v(_()), J = v(void 0), L = h(
|
|
77
|
-
() =>
|
|
75
|
+
() => ta(s.value.restaurants)
|
|
78
76
|
);
|
|
79
77
|
function le(u) {
|
|
80
78
|
var o;
|
|
@@ -98,8 +96,8 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
98
96
|
} catch {
|
|
99
97
|
}
|
|
100
98
|
}
|
|
101
|
-
const K =
|
|
102
|
-
() => !
|
|
99
|
+
const K = aa(
|
|
100
|
+
() => !ma.isEqual(s.value, b.value),
|
|
103
101
|
() => {
|
|
104
102
|
V.value = !1;
|
|
105
103
|
}
|
|
@@ -267,7 +265,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
267
265
|
]
|
|
268
266
|
}, {
|
|
269
267
|
default: y(() => [
|
|
270
|
-
i(
|
|
268
|
+
i(oa, {
|
|
271
269
|
modelValue: F.value,
|
|
272
270
|
"onUpdate:modelValue": o[3] || (o[3] = (t) => F.value = t),
|
|
273
271
|
masked: P.value,
|
|
@@ -279,7 +277,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
279
277
|
]),
|
|
280
278
|
_: 1
|
|
281
279
|
}, 8, ["modelValue", "rules"]),
|
|
282
|
-
i(
|
|
280
|
+
i(ra, {
|
|
283
281
|
label: l(c)("hr.employee.form.passcodeGenerate"),
|
|
284
282
|
hint: l(c)("hr.employee.form.passcodeSelectOutletFirst"),
|
|
285
283
|
loading: W.value,
|
|
@@ -305,7 +303,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
305
303
|
]
|
|
306
304
|
}, {
|
|
307
305
|
default: y(() => [
|
|
308
|
-
i(
|
|
306
|
+
i(na, {
|
|
309
307
|
modelValue: s.value.restaurants,
|
|
310
308
|
"onUpdate:modelValue": o[7] || (o[7] = (t) => s.value.restaurants = t),
|
|
311
309
|
restaurants: l(d).restaurants.value,
|
|
@@ -409,7 +407,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
409
407
|
}
|
|
410
408
|
}), ae = h(() => d.listEmployees.value), {
|
|
411
409
|
searchKey: _
|
|
412
|
-
} =
|
|
410
|
+
} = Xe(), T = v(""), H = h(() => ae.value), b = h(() => d.totalEmployees.value), s = v(1), J = h(() => d.isLoading.value), L = v(!1), le = h(() => {
|
|
413
411
|
var e;
|
|
414
412
|
return JSON.stringify({
|
|
415
413
|
businessId: ((e = U.value) == null ? void 0 : e._id) ?? "",
|
|
@@ -439,7 +437,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
439
437
|
onClick: (r) => {
|
|
440
438
|
r.stopPropagation();
|
|
441
439
|
}
|
|
442
|
-
}, [i(
|
|
440
|
+
}, [i(la, {
|
|
443
441
|
items: P(e)
|
|
444
442
|
}, null)]), W = [{
|
|
445
443
|
accessorKey: "code",
|
|
@@ -455,7 +453,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
455
453
|
class: "flex items-center gap-8"
|
|
456
454
|
}, [i($e.FmAvatar, {
|
|
457
455
|
name: a.name,
|
|
458
|
-
initials:
|
|
456
|
+
initials: ua(a.name),
|
|
459
457
|
size: "sm",
|
|
460
458
|
class: "shrink-0"
|
|
461
459
|
}, null), i("span", {
|
|
@@ -619,7 +617,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
619
617
|
roleIds: (a = t.value) != null && a.length ? t.value : void 0
|
|
620
618
|
}, b.value);
|
|
621
619
|
}
|
|
622
|
-
const Ae =
|
|
620
|
+
const Ae = ia(_, () => {
|
|
623
621
|
T.value = _.value;
|
|
624
622
|
}, 300);
|
|
625
623
|
Be(Ae);
|
|
@@ -666,7 +664,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
666
664
|
modelValue: l(_),
|
|
667
665
|
"onUpdate:modelValue": a[4] || (a[4] = (m) => we(_) ? _.value = m : null),
|
|
668
666
|
placeholder: l(n)("hr.employee.search.placeholder")
|
|
669
|
-
}, null, 8, ["modelValue", "placeholder"])]), i(
|
|
667
|
+
}, null, 8, ["modelValue", "placeholder"])]), i(ea), f("div", Va, [i(ue, {
|
|
670
668
|
modelValue: k.value,
|
|
671
669
|
"onUpdate:modelValue": a[5] || (a[5] = (m) => k.value = m),
|
|
672
670
|
multiple: "",
|
|
@@ -717,12 +715,12 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
717
715
|
autofocus: "",
|
|
718
716
|
class: "pl-4 w-[320px]",
|
|
719
717
|
placeholder: l(n)("hr.employee.search.placeholder")
|
|
720
|
-
}, null, 8, ["modelValue", "placeholder"])])])), (be = l(U)) != null && be._id ? (g(), I(
|
|
718
|
+
}, null, 8, ["modelValue", "placeholder"])])])), (be = l(U)) != null && be._id ? (g(), I(Ye, {
|
|
721
719
|
key: 2
|
|
722
720
|
}, {
|
|
723
|
-
default: y(() => [f("div", Sa, [!L.value && l(d).isLoading.value ? (g(), I(
|
|
721
|
+
default: y(() => [f("div", Sa, [!L.value && l(d).isLoading.value ? (g(), I(Ze, {
|
|
724
722
|
key: 0
|
|
725
|
-
})) : j("", !0), L.value ? (g(), I(
|
|
723
|
+
})) : j("", !0), L.value ? (g(), I(sa, {
|
|
726
724
|
key: 1,
|
|
727
725
|
"is-loading": l(d).isLoading.value,
|
|
728
726
|
"is-empty": b.value === 0,
|
|
@@ -782,7 +780,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
782
780
|
})) : j("", !0)])], 64);
|
|
783
781
|
};
|
|
784
782
|
}
|
|
785
|
-
}),
|
|
783
|
+
}), Za = /* @__PURE__ */ Qe($a, [["__scopeId", "data-v-5aed0d1c"]]);
|
|
786
784
|
export {
|
|
787
|
-
|
|
785
|
+
Za as default
|
|
788
786
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as r, openBlock as c, createElementVNode as o, ref as m, computed as f, defineComponent as p, renderSlot as a, createCommentVNode as _, toDisplayString as i } from "vue";
|
|
2
|
-
import { _ as y } from "./
|
|
2
|
+
import { _ as y } from "./SelectFilter-ATOm0hdn.js";
|
|
3
3
|
const h = {};
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
return c(), r("div", null, [...e[0] || (e[0] = [
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as X, ref as S, computed as f, watch as ue, resolveComponent as v, createElementBlock as D, openBlock as w, Fragment as E, renderSlot as de, createVNode as l, unref as s, withCtx as g, createElementVNode as o, toDisplayString as _, isRef as H, renderList as me, createBlock as pe, createCommentVNode as fe, withModifiers as W, createTextVNode as J, normalizeClass as ve, h as p } from "vue";
|
|
2
|
-
import { d as ge } from "./dayjs.min-
|
|
2
|
+
import { d as ge } from "./dayjs.min-DqFS0ebn.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ee, components as K, useDialog as _e, useBreakpoints as ye, FmButtonVariant as O } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as A } from "./SelectFilter-
|
|
6
|
-
import { _ as he } from "./app-
|
|
7
|
-
import { _ as Q, u as Ue, H as xe } from "./FormItem.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { S as A } from "./SelectFilter-ATOm0hdn.js";
|
|
6
|
+
import { _ as he } from "./app-D-cQzgkr.js";
|
|
7
|
+
import { _ as Q, u as Ue, H as xe } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
|
|
8
8
|
import { _ as be } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
9
|
import { u as te } from "./useLoading-CXzTpIVv.js";
|
|
10
10
|
import { u as ae } from "./grant-user-SNiDV22U.js";
|
|
11
11
|
import { u as se } from "./restaurant-BTpBmfBV.js";
|
|
12
|
-
import { u as re } from "./role-
|
|
12
|
+
import { u as re } from "./role-CEUcSmA6.js";
|
|
13
13
|
import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
|
|
14
14
|
const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, we = { class: "flex gap-8 items-center justify-start" }, Se = /* @__PURE__ */ X({
|
|
15
15
|
__name: "GrantUserForm",
|
|
@@ -5,18 +5,18 @@ import { useSnackbar as pf } from "@feedmepos/ui-library";
|
|
|
5
5
|
import { _ as df } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-QrqYEy8i.js";
|
|
6
6
|
import { _ as mf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
7
7
|
import { u as gf } from "./restaurant-BTpBmfBV.js";
|
|
8
|
-
import { u as _f } from "./role-
|
|
8
|
+
import { u as _f } from "./role-CEUcSmA6.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import "./employee-
|
|
11
|
-
import "./lodash-
|
|
10
|
+
import "./employee-DvvnCQMK.js";
|
|
11
|
+
import "./lodash-wjhSWqez.js";
|
|
12
12
|
import "./useAppStore-DCwd8GWN.js";
|
|
13
|
-
import "./
|
|
13
|
+
import "./iteration-BjW8Cs9e.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { R as pt } from "./app-
|
|
16
|
-
import "./rule-
|
|
17
|
-
import "./useReportPermissions-
|
|
18
|
-
import "./dayjs.min-
|
|
19
|
-
import "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-
|
|
15
|
+
import { R as pt } from "./app-D-cQzgkr.js";
|
|
16
|
+
import "./rule-Df8LOhxm.js";
|
|
17
|
+
import "./useReportPermissions-4wm7pJcK.js";
|
|
18
|
+
import "./dayjs.min-DqFS0ebn.js";
|
|
19
|
+
import "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-GhPw_mCW.js";
|
|
20
20
|
var Nn = {};
|
|
21
21
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
22
22
|
var qt = {};
|
|
@@ -5,12 +5,12 @@ import { _ as x } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lan
|
|
|
5
5
|
import { _ as F } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
6
6
|
import { u as w } from "./restaurant-BTpBmfBV.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
|
-
import "./rule-
|
|
9
|
-
import "./lodash-
|
|
10
|
-
import "./
|
|
8
|
+
import "./rule-Df8LOhxm.js";
|
|
9
|
+
import "./lodash-wjhSWqez.js";
|
|
10
|
+
import "./iteration-BjW8Cs9e.js";
|
|
11
11
|
import "./useAppStore-DCwd8GWN.js";
|
|
12
|
-
import { R as v } from "./app-
|
|
13
|
-
import "./role-
|
|
12
|
+
import { R as v } from "./app-D-cQzgkr.js";
|
|
13
|
+
import "./role-CEUcSmA6.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js";
|
|
16
16
|
const $ = { class: "space-y-24" }, Z = /* @__PURE__ */ M({
|
|
@@ -5,10 +5,10 @@ import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
|
5
5
|
import { _ as z } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-QrqYEy8i.js";
|
|
6
6
|
import { _ as M } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
7
7
|
import { u as j } from "./restaurant-BTpBmfBV.js";
|
|
8
|
-
import { u as H } from "./role-
|
|
8
|
+
import { u as H } from "./role-CEUcSmA6.js";
|
|
9
9
|
import { u as J } from "./grant-user-SNiDV22U.js";
|
|
10
10
|
import { u as K } from "./approval-code-jIjkeVEb.js";
|
|
11
|
-
import { R as n } from "./app-
|
|
11
|
+
import { R as n } from "./app-D-cQzgkr.js";
|
|
12
12
|
const Q = { class: "space-y-24" }, ue = /* @__PURE__ */ D({
|
|
13
13
|
__name: "Main",
|
|
14
14
|
setup(W) {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as b, watch as ue, resolveComponent as h, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as y, toDisplayString as G, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
|
|
2
2
|
import { useI18n as se, useCoreStore as be } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as oe, useDialog as te, useBreakpoints as ne, components as H } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
4
|
+
import { b as Q, _ as he } from "./app-D-cQzgkr.js";
|
|
5
5
|
import { _ as _e } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
6
6
|
import { u as ge, _ as Pe } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
7
|
-
import { u as ie, c as M, d as ae, p as Y, i as ye, b as we, m as A, n as xe, o as Fe, k as ke, l as Ce, v as Ie } from "./rule-
|
|
8
|
-
import { l as T } from "./lodash-
|
|
9
|
-
import "./
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
12
|
-
import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js";
|
|
7
|
+
import { u as ie, c as M, d as ae, p as Y, i as ye, b as we, m as A, n as xe, o as Fe, k as ke, l as Ce, v as Ie } from "./rule-Df8LOhxm.js";
|
|
8
|
+
import { l as T } from "./lodash-wjhSWqez.js";
|
|
9
|
+
import { c as Ve } from "./iteration-BjW8Cs9e.js";
|
|
10
|
+
import { u as Re } from "./useLoading-CXzTpIVv.js";
|
|
11
|
+
import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C4C8Cvf4.js";
|
|
13
12
|
import { A as je } from "./restaurant-BTpBmfBV.js";
|
|
14
13
|
const Te = { class: "flex w-full items-center justify-between" }, $e = { class: "fm-typo-en-title-md-600" }, Be = { class: "fm-typo-en-title-sm-600 mt-24" }, Le = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ Z({
|
|
15
14
|
__name: "PermissionSetForm",
|
|
@@ -23,7 +22,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
23
22
|
const o = K, { t: i } = se(), f = v(!1), $ = b(() => {
|
|
24
23
|
var e;
|
|
25
24
|
return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
|
|
26
|
-
}), I = v(), N = oe(), w = te(), { breakpoints: V } = ne(), R =
|
|
25
|
+
}), I = v(), N = oe(), w = te(), { breakpoints: V } = ne(), R = Re(N), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], O = b(() => {
|
|
27
26
|
var e;
|
|
28
27
|
return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
|
|
29
28
|
}), q = b(
|
|
@@ -61,7 +60,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
61
60
|
), P.value = {
|
|
62
61
|
name: d.value.name ?? "",
|
|
63
62
|
permissionSetIds: [...a.value],
|
|
64
|
-
userPermissions:
|
|
63
|
+
userPermissions: Ve(p.value)
|
|
65
64
|
};
|
|
66
65
|
}
|
|
67
66
|
ue(f, async (e) => {
|
|
@@ -216,7 +215,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
216
215
|
}, 8, ["modelValue", "onOn:clickedAway"]);
|
|
217
216
|
};
|
|
218
217
|
}
|
|
219
|
-
}), De = { class: "space-y-8" }, Ne = { class: "flex justify-end xs:px-16" }, Oe = { class: "flex flex-col h-full overflow-auto" },
|
|
218
|
+
}), De = { class: "space-y-8" }, Ne = { class: "flex justify-end xs:px-16" }, Oe = { class: "flex flex-col h-full overflow-auto" }, Ze = /* @__PURE__ */ Z({
|
|
220
219
|
__name: "PermissionSetList",
|
|
221
220
|
setup(K, { expose: D }) {
|
|
222
221
|
const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), $ = oe(), I = te(), { breakpoints: N } = ne(), w = v(""), V = b(() => {
|
|
@@ -391,5 +390,5 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
391
390
|
}
|
|
392
391
|
});
|
|
393
392
|
export {
|
|
394
|
-
|
|
393
|
+
Ze as default
|
|
395
394
|
};
|