@feedmepos/mf-hrm-portal 2.2.5-dev.3 → 2.2.5-dev.4
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-BuIPVwsl.js → ApprovalCodeList-D0B_X3Sf.js} +4 -4
- package/dist/{AuditLogList-l3fv_3jD.js → AuditLogList-D9anf4YQ.js} +18 -17
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BYY9dMSQ.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4oENMRO3.js} +2 -2
- package/dist/{EmployeeList-HjNxPBcN.js → EmployeeList-DREDu3Ou.js} +29 -27
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js} +1 -1
- package/dist/{GrantUserList-B91EBl82.js → GrantUserList-CLDshEN9.js} +5 -5
- package/dist/{Main-DeqJPnm7.js → Main-DtMaG42L.js} +2 -2
- package/dist/{Main-TuG-h_qY.js → Main-QhQxU593.js} +5 -5
- package/dist/{Main-C_tQuQsU.js → Main-lqlb8tPw.js} +9 -9
- package/dist/{PermissionSetList-qVaYkiQ4.js → PermissionSetList-BK8yBpJJ.js} +11 -10
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DcpNr0M4.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js} +676 -675
- package/dist/{RoleList-CM0m4nya.js → RoleList-D6AX6BqB.js} +7 -7
- package/dist/ScheduleGeneralPage-DAECTCDu.js +242 -0
- package/dist/SchedulePage-CdFR7JuO.js +10751 -0
- package/dist/SchedulePositionPage-DTtKg0sx.js +220 -0
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js +199 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/{TeamMemberList-GkMQuyoE.js → TeamMemberList-BM5JoR6J.js} +36 -34
- package/dist/{TimesheetList-Ci2r3AOF.js → TimesheetList-Ch_f_PD5.js} +54 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-QbQ7tbJP.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js} +2 -2
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-MXDLzWd6.js → app-tDHL6k4G.js} +2884 -2299
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DRqYbe11.js → dayjs.min-B_XWc0Hu.js} +1 -1
- package/dist/employee-Bs_2vqBY.js +139 -0
- package/dist/index-Cz2b95YF.js +70 -0
- package/dist/{iteration-CtN8sidV.js → index-jxRluZiW.js} +698 -726
- package/dist/iteration-CcXrOMQe.js +30 -0
- package/dist/{lodash-BwY7earz.js → lodash-D5vM3paU.js} +1 -1
- package/dist/{role-Ds1yN3BN.js → role-7ccipEEe.js} +4 -3
- package/dist/{rule-DkG2eGGH.js → rule-7faruCdz.js} +71 -70
- package/dist/src/api/schedule/index.d.ts +44 -0
- package/dist/src/components/layout/AppSidebar.vue.d.ts +2 -0
- package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
- package/dist/src/components/layout/withShell.d.ts +14 -0
- package/dist/src/router/shared.d.ts +4 -1
- package/dist/src/types/schedule.d.ts +232 -0
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +4 -0
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +4 -0
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +4 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +34 -0
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +31 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +54 -0
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +22 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +67 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +38 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +29 -0
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +86 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +66 -0
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +113 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +136 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +415 -0
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +43 -0
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +48 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +82 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +68 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +139 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +26 -0
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +80 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +179 -0
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +91 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +183 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +225 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +174 -0
- package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +44 -0
- package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +10 -0
- package/dist/src/views/scheduling/data.d.ts +105 -0
- package/dist/src/views/scheduling/locales/index.d.ts +496 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +116 -0
- package/dist/src/views/scheduling/types.d.ts +311 -0
- 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-B_YakoB-.js → useReportPermissions-FieO4EAD.js} +3 -3
- package/dist/useScheduleOutlet-CmIG5dwQ.js +557 -0
- package/dist/useSchedulePositions-DPVAgdB2.js +103 -0
- package/package.json +1 -1
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
- package/dist/employee-zsQMMIVM.js +0 -204
|
@@ -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-B_XWc0Hu.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-CG13h83-.js";
|
|
6
|
+
import { _ as $e } from "./app-tDHL6k4G.js";
|
|
7
|
+
import { _ as pe, u as Se, H as Ae } from "./FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.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,16 +1,17 @@
|
|
|
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-B_XWc0Hu.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-tDHL6k4G.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
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { t as
|
|
11
|
-
import { defineStore as
|
|
12
|
-
import { u as
|
|
13
|
-
import { n as
|
|
7
|
+
import { S as Pe } from "./SelectFilter-CG13h83-.js";
|
|
8
|
+
import { _ as To } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
9
|
+
import { _ as Vo } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
10
|
+
import { t as Po, p as kt } from "./rule-7faruCdz.js";
|
|
11
|
+
import { defineStore as Eo } from "pinia";
|
|
12
|
+
import { u as $o } from "./useDebounce-B8ZPVS5C.js";
|
|
13
|
+
import { n as No } from "./string-VNuQNweN.js";
|
|
14
|
+
import { _ as Uo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
const Se = [
|
|
15
16
|
{ key: "all", label: "All", subjectPrefixes: [] },
|
|
16
17
|
{ key: "inventory", label: "Inventory", subjectPrefixes: ["business::inventory", "inventory"] },
|
|
@@ -225,7 +226,7 @@ const Se = [
|
|
|
225
226
|
], 512);
|
|
226
227
|
};
|
|
227
228
|
}
|
|
228
|
-
}), qo =
|
|
229
|
+
}), qo = Eo("team", () => {
|
|
229
230
|
const t = S([]), o = S(!1), n = S(!1), r = A(
|
|
230
231
|
() => Object.fromEntries(t.value.map((h) => [h.doc.userId, h.name]))
|
|
231
232
|
), d = A(
|
|
@@ -237,7 +238,7 @@ const Se = [
|
|
|
237
238
|
if (!(!h && t.value.length > 0))
|
|
238
239
|
try {
|
|
239
240
|
o.value = !0;
|
|
240
|
-
const i = await
|
|
241
|
+
const i = await Po.readTeamMembers();
|
|
241
242
|
t.value = i.sort((C, O) => C.doc.isOwner ? -1 : C.name.localeCompare(O.name)), n.value = !0;
|
|
242
243
|
} finally {
|
|
243
244
|
o.value = !1;
|
|
@@ -846,7 +847,7 @@ const ls = {
|
|
|
846
847
|
userIds: e.filter((s) => s !== $e),
|
|
847
848
|
feedmeAdminActors: e.includes($e)
|
|
848
849
|
};
|
|
849
|
-
}), Be = S(""), X = S(""), Ut =
|
|
850
|
+
}), Be = S(""), X = S(""), Ut = $o(Be, (e) => {
|
|
850
851
|
X.value = e.trim();
|
|
851
852
|
});
|
|
852
853
|
Oo(Ut);
|
|
@@ -1280,7 +1281,7 @@ const ls = {
|
|
|
1280
1281
|
class: "flex items-center gap-8"
|
|
1281
1282
|
}, [m(ue.FmAvatar, {
|
|
1282
1283
|
name: be(s),
|
|
1283
|
-
initials:
|
|
1284
|
+
initials: No(be(s)),
|
|
1284
1285
|
size: "sm",
|
|
1285
1286
|
class: "shrink-0"
|
|
1286
1287
|
}, null), m("div", {
|
|
@@ -1561,7 +1562,7 @@ const ls = {
|
|
|
1561
1562
|
deep: !0
|
|
1562
1563
|
}), (e, s) => {
|
|
1563
1564
|
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");
|
|
1564
|
-
return v(), b(q, null, [m(
|
|
1565
|
+
return v(), b(q, null, [m(To, {
|
|
1565
1566
|
heading: c(o)("auditLog.title")
|
|
1566
1567
|
}, {
|
|
1567
1568
|
"append-heading": B(() => [m(u), m(y, {
|
|
@@ -1651,7 +1652,7 @@ const ls = {
|
|
|
1651
1652
|
class: "ml-auto w-[280px]",
|
|
1652
1653
|
placeholder: c(o)("auditLog.search.placeholder")
|
|
1653
1654
|
}, null, 8, ["modelValue", "placeholder"])])]), m(Co, null, {
|
|
1654
|
-
default: B(() => [a("div", ps, [m(
|
|
1655
|
+
default: B(() => [a("div", ps, [m(Vo, {
|
|
1655
1656
|
"is-loading": g.value,
|
|
1656
1657
|
"is-empty": h.value.length === 0,
|
|
1657
1658
|
title: c(o)("auditLog.noData.title"),
|
|
@@ -1772,7 +1773,7 @@ const ls = {
|
|
|
1772
1773
|
}, 8, ["header", "model-value"])], 64);
|
|
1773
1774
|
};
|
|
1774
1775
|
}
|
|
1775
|
-
}),
|
|
1776
|
+
}), Mn = /* @__PURE__ */ Uo(fn, [["__scopeId", "data-v-f7aebfad"]]);
|
|
1776
1777
|
export {
|
|
1777
|
-
|
|
1778
|
+
Mn as default
|
|
1778
1779
|
};
|
|
@@ -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 { d as j, G as ce, U as L } from "./app-tDHL6k4G.js";
|
|
4
|
+
import { l as fe } from "./lodash-D5vM3paU.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,21 +1,23 @@
|
|
|
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
|
|
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
|
|
4
|
+
import { S as ue } from "./SelectFilter-CG13h83-.js";
|
|
5
|
+
import { _ as Qe, a as Ye } from "./app-tDHL6k4G.js";
|
|
6
|
+
import { _ as xe, u as Ze, H as Xe } from "./FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js";
|
|
7
|
+
import { u as ea, _ as aa } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
8
|
+
import { _ as la } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
|
+
import { s as sa, _ as ta, a as oa, b as ra, c as Ee } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
|
|
10
|
+
import { u as na } from "./useDebounce-B8ZPVS5C.js";
|
|
11
|
+
import { n as ia } from "./string-VNuQNweN.js";
|
|
12
|
+
import { u as Le } from "./employee-Bs_2vqBY.js";
|
|
13
13
|
import { u as Pe } from "./restaurant-BTpBmfBV.js";
|
|
14
|
-
import { l as
|
|
14
|
+
import { l as ua } from "./lodash-D5vM3paU.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 {
|
|
17
|
+
import { E as ca } from "./index-Cz2b95YF.js";
|
|
18
|
+
import { u as he } from "./role-7ccipEEe.js";
|
|
18
19
|
/* empty css */
|
|
20
|
+
import { _ as ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
21
|
function Se($) {
|
|
20
22
|
return JSON.parse(JSON.stringify($));
|
|
21
23
|
}
|
|
@@ -72,7 +74,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
72
74
|
};
|
|
73
75
|
}
|
|
74
76
|
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(
|
|
75
|
-
() =>
|
|
77
|
+
() => sa(s.value.restaurants)
|
|
76
78
|
);
|
|
77
79
|
function le(u) {
|
|
78
80
|
var o;
|
|
@@ -96,8 +98,8 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
96
98
|
} catch {
|
|
97
99
|
}
|
|
98
100
|
}
|
|
99
|
-
const K =
|
|
100
|
-
() => !
|
|
101
|
+
const K = ea(
|
|
102
|
+
() => !ua.isEqual(s.value, b.value),
|
|
101
103
|
() => {
|
|
102
104
|
V.value = !1;
|
|
103
105
|
}
|
|
@@ -265,7 +267,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
265
267
|
]
|
|
266
268
|
}, {
|
|
267
269
|
default: y(() => [
|
|
268
|
-
i(
|
|
270
|
+
i(ta, {
|
|
269
271
|
modelValue: F.value,
|
|
270
272
|
"onUpdate:modelValue": o[3] || (o[3] = (t) => F.value = t),
|
|
271
273
|
masked: P.value,
|
|
@@ -277,7 +279,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
277
279
|
]),
|
|
278
280
|
_: 1
|
|
279
281
|
}, 8, ["modelValue", "rules"]),
|
|
280
|
-
i(
|
|
282
|
+
i(oa, {
|
|
281
283
|
label: l(c)("hr.employee.form.passcodeGenerate"),
|
|
282
284
|
hint: l(c)("hr.employee.form.passcodeSelectOutletFirst"),
|
|
283
285
|
loading: W.value,
|
|
@@ -303,7 +305,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
303
305
|
]
|
|
304
306
|
}, {
|
|
305
307
|
default: y(() => [
|
|
306
|
-
i(
|
|
308
|
+
i(ra, {
|
|
307
309
|
modelValue: s.value.restaurants,
|
|
308
310
|
"onUpdate:modelValue": o[7] || (o[7] = (t) => s.value.restaurants = t),
|
|
309
311
|
restaurants: l(d).restaurants.value,
|
|
@@ -407,7 +409,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
407
409
|
}
|
|
408
410
|
}), ae = h(() => d.listEmployees.value), {
|
|
409
411
|
searchKey: _
|
|
410
|
-
} =
|
|
412
|
+
} = Ze(), T = v(""), H = h(() => ae.value), b = h(() => d.totalEmployees.value), s = v(1), J = h(() => d.isLoading.value), L = v(!1), le = h(() => {
|
|
411
413
|
var e;
|
|
412
414
|
return JSON.stringify({
|
|
413
415
|
businessId: ((e = U.value) == null ? void 0 : e._id) ?? "",
|
|
@@ -437,7 +439,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
437
439
|
onClick: (r) => {
|
|
438
440
|
r.stopPropagation();
|
|
439
441
|
}
|
|
440
|
-
}, [i(
|
|
442
|
+
}, [i(aa, {
|
|
441
443
|
items: P(e)
|
|
442
444
|
}, null)]), W = [{
|
|
443
445
|
accessorKey: "code",
|
|
@@ -453,7 +455,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
453
455
|
class: "flex items-center gap-8"
|
|
454
456
|
}, [i($e.FmAvatar, {
|
|
455
457
|
name: a.name,
|
|
456
|
-
initials:
|
|
458
|
+
initials: ia(a.name),
|
|
457
459
|
size: "sm",
|
|
458
460
|
class: "shrink-0"
|
|
459
461
|
}, null), i("span", {
|
|
@@ -617,7 +619,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
617
619
|
roleIds: (a = t.value) != null && a.length ? t.value : void 0
|
|
618
620
|
}, b.value);
|
|
619
621
|
}
|
|
620
|
-
const Ae =
|
|
622
|
+
const Ae = na(_, () => {
|
|
621
623
|
T.value = _.value;
|
|
622
624
|
}, 300);
|
|
623
625
|
Be(Ae);
|
|
@@ -664,7 +666,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
664
666
|
modelValue: l(_),
|
|
665
667
|
"onUpdate:modelValue": a[4] || (a[4] = (m) => we(_) ? _.value = m : null),
|
|
666
668
|
placeholder: l(n)("hr.employee.search.placeholder")
|
|
667
|
-
}, null, 8, ["modelValue", "placeholder"])]), i(
|
|
669
|
+
}, null, 8, ["modelValue", "placeholder"])]), i(Xe), f("div", Va, [i(ue, {
|
|
668
670
|
modelValue: k.value,
|
|
669
671
|
"onUpdate:modelValue": a[5] || (a[5] = (m) => k.value = m),
|
|
670
672
|
multiple: "",
|
|
@@ -715,12 +717,12 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
715
717
|
autofocus: "",
|
|
716
718
|
class: "pl-4 w-[320px]",
|
|
717
719
|
placeholder: l(n)("hr.employee.search.placeholder")
|
|
718
|
-
}, null, 8, ["modelValue", "placeholder"])])])), (be = l(U)) != null && be._id ? (g(), I(
|
|
720
|
+
}, null, 8, ["modelValue", "placeholder"])])])), (be = l(U)) != null && be._id ? (g(), I(Qe, {
|
|
719
721
|
key: 2
|
|
720
722
|
}, {
|
|
721
|
-
default: y(() => [f("div", Sa, [!L.value && l(d).isLoading.value ? (g(), I(
|
|
723
|
+
default: y(() => [f("div", Sa, [!L.value && l(d).isLoading.value ? (g(), I(Ye, {
|
|
722
724
|
key: 0
|
|
723
|
-
})) : j("", !0), L.value ? (g(), I(
|
|
725
|
+
})) : j("", !0), L.value ? (g(), I(la, {
|
|
724
726
|
key: 1,
|
|
725
727
|
"is-loading": l(d).isLoading.value,
|
|
726
728
|
"is-empty": b.value === 0,
|
|
@@ -780,7 +782,7 @@ const da = { class: "flex w-full items-center justify-between" }, pa = { class:
|
|
|
780
782
|
})) : j("", !0)])], 64);
|
|
781
783
|
};
|
|
782
784
|
}
|
|
783
|
-
}),
|
|
785
|
+
}), el = /* @__PURE__ */ ma($a, [["__scopeId", "data-v-5aed0d1c"]]);
|
|
784
786
|
export {
|
|
785
|
-
|
|
787
|
+
el as default
|
|
786
788
|
};
|
|
@@ -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 "./_plugin-vue_export-helper-CHgC5LLL.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-B_XWc0Hu.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-CG13h83-.js";
|
|
6
|
+
import { _ as he } from "./app-tDHL6k4G.js";
|
|
7
|
+
import { _ as Q, u as Ue, H as xe } from "./FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.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-7ccipEEe.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,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-7ccipEEe.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-tDHL6k4G.js";
|
|
12
12
|
const Q = { class: "space-y-24" }, ue = /* @__PURE__ */ D({
|
|
13
13
|
__name: "Main",
|
|
14
14
|
setup(W) {
|
|
@@ -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-7faruCdz.js";
|
|
9
|
+
import "./lodash-D5vM3paU.js";
|
|
10
|
+
import "./index-jxRluZiW.js";
|
|
11
11
|
import "./useAppStore-DCwd8GWN.js";
|
|
12
|
-
import { R as v } from "./app-
|
|
13
|
-
import "./role-
|
|
12
|
+
import { R as v } from "./app-tDHL6k4G.js";
|
|
13
|
+
import "./role-7ccipEEe.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,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-7ccipEEe.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import "./employee-
|
|
11
|
-
import "./lodash-
|
|
10
|
+
import "./employee-Bs_2vqBY.js";
|
|
11
|
+
import "./lodash-D5vM3paU.js";
|
|
12
12
|
import "./useAppStore-DCwd8GWN.js";
|
|
13
|
-
import "./
|
|
13
|
+
import "./index-jxRluZiW.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-tDHL6k4G.js";
|
|
16
|
+
import "./rule-7faruCdz.js";
|
|
17
|
+
import "./useReportPermissions-FieO4EAD.js";
|
|
18
|
+
import "./dayjs.min-B_XWc0Hu.js";
|
|
19
|
+
import "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js";
|
|
20
20
|
var Nn = {};
|
|
21
21
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
22
22
|
var qt = {};
|
|
@@ -1,14 +1,15 @@
|
|
|
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 { v as Q, _ as he } from "./app-tDHL6k4G.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 {
|
|
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-7faruCdz.js";
|
|
8
|
+
import { l as T } from "./lodash-D5vM3paU.js";
|
|
9
|
+
import "./index-jxRluZiW.js";
|
|
10
|
+
import { u as Ve } from "./useLoading-CXzTpIVv.js";
|
|
11
|
+
import { c as Re } from "./iteration-CcXrOMQe.js";
|
|
12
|
+
import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js";
|
|
12
13
|
import { A as je } from "./restaurant-BTpBmfBV.js";
|
|
13
14
|
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({
|
|
14
15
|
__name: "PermissionSetForm",
|
|
@@ -22,7 +23,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
22
23
|
const o = K, { t: i } = se(), f = v(!1), $ = b(() => {
|
|
23
24
|
var e;
|
|
24
25
|
return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
|
|
25
|
-
}), I = v(), N = oe(), w = te(), { breakpoints: V } = ne(), R =
|
|
26
|
+
}), I = v(), N = oe(), w = te(), { breakpoints: V } = ne(), R = Ve(N), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], O = b(() => {
|
|
26
27
|
var e;
|
|
27
28
|
return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
|
|
28
29
|
}), q = b(
|
|
@@ -60,7 +61,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
60
61
|
), P.value = {
|
|
61
62
|
name: d.value.name ?? "",
|
|
62
63
|
permissionSetIds: [...a.value],
|
|
63
|
-
userPermissions:
|
|
64
|
+
userPermissions: Re(p.value)
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
ue(f, async (e) => {
|
|
@@ -215,7 +216,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
215
216
|
}, 8, ["modelValue", "onOn:clickedAway"]);
|
|
216
217
|
};
|
|
217
218
|
}
|
|
218
|
-
}), De = { class: "space-y-8" }, Ne = { class: "flex justify-end xs:px-16" }, Oe = { class: "flex flex-col h-full overflow-auto" },
|
|
219
|
+
}), De = { class: "space-y-8" }, Ne = { class: "flex justify-end xs:px-16" }, Oe = { class: "flex flex-col h-full overflow-auto" }, es = /* @__PURE__ */ Z({
|
|
219
220
|
__name: "PermissionSetList",
|
|
220
221
|
setup(K, { expose: D }) {
|
|
221
222
|
const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), $ = oe(), I = te(), { breakpoints: N } = ne(), w = v(""), V = b(() => {
|
|
@@ -390,5 +391,5 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
390
391
|
}
|
|
391
392
|
});
|
|
392
393
|
export {
|
|
393
|
-
|
|
394
|
+
es as default
|
|
394
395
|
};
|