@feedmepos/mf-hrm-portal 2.2.5-dev.5 → 2.2.5-dev.7

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.
Files changed (152) hide show
  1. package/dist/{ApprovalCodeList-DqR6ouRS.js → ApprovalCodeList-dn-WwNAd.js} +4 -4
  2. package/dist/{AuditLogList-CG2BiQX6.js → AuditLogList-BqVp9fxD.js} +18 -17
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7nMXx8R.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DnAet2oc.js} +2 -2
  4. package/dist/{EmployeeList-CGZzol7v.js → EmployeeList-BwTJre5k.js} +29 -27
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js} +1 -1
  6. package/dist/{GrantUserList-D1fBv1KQ.js → GrantUserList-CZek1r4F.js} +5 -5
  7. package/dist/{Main-BOt-Y1wv.js → Main-CbmA-SYo.js} +9 -9
  8. package/dist/{Main-zg7fbEtx.js → Main-DVA51sj2.js} +2 -2
  9. package/dist/{Main-CFoZot3K.js → Main-MjSYZdOq.js} +5 -5
  10. package/dist/{PermissionSetList-bJpwD62u.js → PermissionSetList-lkHmXhNm.js} +11 -10
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C4C8Cvf4.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-cFQDQCal.js} +1174 -1173
  12. package/dist/{RoleList-DUVZ7dkO.js → RoleList-BSs0SmFo.js} +7 -7
  13. package/dist/ScheduleGeneralPage-DD9n2TUe.js +242 -0
  14. package/dist/SchedulePage-B0X97zVC.js +10761 -0
  15. package/dist/SchedulePositionPage-BXz1USn3.js +220 -0
  16. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-DAHke2rH.js +201 -0
  17. package/dist/SelectFilter-CG13h83-.js +264 -0
  18. package/dist/{TeamMemberList-DAnM-DSd.js → TeamMemberList-Dit_nV6d.js} +36 -34
  19. package/dist/{TimesheetList-5sdcWjEf.js → TimesheetList-B-FlRO7E.js} +54 -53
  20. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-GhPw_mCW.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DZUJR8K_.js} +2 -2
  21. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  22. package/dist/{app-D-cQzgkr.js → app-BpnOPodL.js} +2947 -2362
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-DqFS0ebn.js → dayjs.min-4GLfSOGZ.js} +1 -1
  25. package/dist/employee-ChdVnSmd.js +139 -0
  26. package/dist/index-CilJxsY7.js +70 -0
  27. package/dist/{iteration-BjW8Cs9e.js → index-DYoVJQTd.js} +698 -726
  28. package/dist/iteration-CcXrOMQe.js +30 -0
  29. package/dist/{lodash-wjhSWqez.js → lodash-CcFIMCiJ.js} +1 -1
  30. package/dist/{role-CEUcSmA6.js → role-OXCiWTVq.js} +4 -3
  31. package/dist/{rule-Df8LOhxm.js → rule-8iyCO_LZ.js} +71 -70
  32. package/dist/src/api/schedule/index.d.ts +44 -0
  33. package/dist/src/components/layout/AppSidebar.vue.d.ts +2 -0
  34. package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
  35. package/dist/src/components/layout/withShell.d.ts +14 -0
  36. package/dist/src/router/shared.d.ts +4 -1
  37. package/dist/src/types/schedule.d.ts +232 -0
  38. package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +4 -0
  39. package/dist/src/views/scheduling/SchedulePage.vue.d.ts +4 -0
  40. package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +4 -0
  41. package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
  42. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +6 -0
  43. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
  44. package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
  45. package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +6 -0
  46. package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
  47. package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
  48. package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +22 -0
  49. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +34 -0
  50. package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
  51. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +6 -0
  52. package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
  53. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +24 -0
  54. package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
  55. package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
  56. package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
  57. package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +12 -0
  58. package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
  59. package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
  60. package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
  61. package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
  62. package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
  63. package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
  64. package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
  65. package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
  66. package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
  67. package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +6 -0
  68. package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +12 -0
  69. package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +6 -0
  70. package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +14 -0
  71. package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +6 -0
  72. package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
  73. package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
  74. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +24 -0
  75. package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
  76. package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +12 -0
  77. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +31 -0
  78. package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +6 -0
  79. package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
  80. package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +6 -0
  81. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +14 -0
  82. package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
  83. package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
  84. package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
  85. package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
  86. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
  87. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +54 -0
  88. package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
  89. package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
  90. package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
  91. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +22 -0
  92. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +67 -0
  93. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +38 -0
  94. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +29 -0
  95. package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
  96. package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +14 -0
  97. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +10 -0
  98. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +86 -0
  99. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +66 -0
  100. package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
  101. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
  102. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
  103. package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +113 -0
  104. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +136 -0
  105. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +415 -0
  106. package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
  107. package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +18 -0
  108. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +17 -0
  109. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +43 -0
  110. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +48 -0
  111. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +82 -0
  112. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +68 -0
  113. package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +45 -0
  114. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +139 -0
  115. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +22 -0
  116. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +32 -0
  117. package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
  118. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +26 -0
  119. package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
  120. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +80 -0
  121. package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +20 -0
  122. package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
  123. package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +35 -0
  124. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +179 -0
  125. package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
  126. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +19 -0
  127. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +32 -0
  128. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +91 -0
  129. package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +18 -0
  130. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +183 -0
  131. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +54 -0
  132. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +18 -0
  133. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +225 -0
  134. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +174 -0
  135. package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +20 -0
  136. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +25 -0
  137. package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +44 -0
  138. package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +10 -0
  139. package/dist/src/views/scheduling/data.d.ts +105 -0
  140. package/dist/src/views/scheduling/locales/index.d.ts +496 -0
  141. package/dist/src/views/scheduling/schedule-store.d.ts +116 -0
  142. package/dist/src/views/scheduling/types.d.ts +311 -0
  143. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
  144. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
  145. package/dist/style.css +1 -1
  146. package/dist/tsconfig.app.tsbuildinfo +1 -1
  147. package/dist/{useReportPermissions-4wm7pJcK.js → useReportPermissions-C3fuFTUC.js} +3 -3
  148. package/dist/useScheduleOutlet-TPZJHgSY.js +546 -0
  149. package/dist/useSchedulePositions-DCkaKHQm.js +103 -0
  150. package/package.json +1 -1
  151. package/dist/SelectFilter-ATOm0hdn.js +0 -269
  152. package/dist/employee-DvvnCQMK.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-DqFS0ebn.js";
2
+ import { d as Ve } from "./dayjs.min-4GLfSOGZ.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-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";
5
+ import { S as q } from "./SelectFilter-CG13h83-.js";
6
+ import { _ as $e } from "./app-BpnOPodL.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-DqFS0ebn.js";
2
+ import { d as D } from "./dayjs.min-4GLfSOGZ.js";
3
3
  import { useI18n as Ot, useCoreStore as jo } from "@feedmepos/mf-common";
4
- import { B as St, _ as Co } from "./app-D-cQzgkr.js";
4
+ import { B as St, _ as Co } from "./app-BpnOPodL.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, _ 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";
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-8iyCO_LZ.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 = $o("team", () => {
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 Eo.readTeamMembers();
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 = No(Be, (e) => {
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: Uo(be(s)),
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(Vo, {
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(Po, {
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
- }), Fn = /* @__PURE__ */ To(fn, [["__scopeId", "data-v-f7aebfad"]]);
1776
+ }), Mn = /* @__PURE__ */ Uo(fn, [["__scopeId", "data-v-f7aebfad"]]);
1776
1777
  export {
1777
- Fn as default
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 { f as j, G as ce, U as L } from "./app-D-cQzgkr.js";
4
- import { l as fe } from "./lodash-wjhSWqez.js";
3
+ import { d as j, G as ce, U as L } from "./app-BpnOPodL.js";
4
+ import { l as fe } from "./lodash-CcFIMCiJ.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, _ 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";
4
+ import { S as ue } from "./SelectFilter-CG13h83-.js";
5
+ import { _ as Qe, a as Ye } from "./app-BpnOPodL.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-ChdVnSmd.js";
13
13
  import { u as Pe } from "./restaurant-BTpBmfBV.js";
14
- import { l as ma } from "./lodash-wjhSWqez.js";
14
+ import { l as ua } from "./lodash-CcFIMCiJ.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 { u as he } from "./role-CEUcSmA6.js";
17
+ import { E as ca } from "./index-CilJxsY7.js";
18
+ import { u as he } from "./role-OXCiWTVq.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
- () => ta(s.value.restaurants)
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 = aa(
100
- () => !ma.isEqual(s.value, b.value),
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(oa, {
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(ra, {
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(na, {
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
- } = 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(() => {
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(la, {
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: ua(a.name),
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 = ia(_, () => {
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(ea), f("div", Va, [i(ue, {
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(Ye, {
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(Ze, {
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(sa, {
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
- }), Za = /* @__PURE__ */ Qe($a, [["__scopeId", "data-v-5aed0d1c"]]);
785
+ }), el = /* @__PURE__ */ ma($a, [["__scopeId", "data-v-5aed0d1c"]]);
784
786
  export {
785
- Za as default
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 "./SelectFilter-ATOm0hdn.js";
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-DqFS0ebn.js";
2
+ import { d as ge } from "./dayjs.min-4GLfSOGZ.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-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";
5
+ import { S as A } from "./SelectFilter-CG13h83-.js";
6
+ import { _ as he } from "./app-BpnOPodL.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-CEUcSmA6.js";
12
+ import { u as re } from "./role-OXCiWTVq.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-CEUcSmA6.js";
8
+ import { u as _f } from "./role-OXCiWTVq.js";
9
9
  /* empty css */
10
- import "./employee-DvvnCQMK.js";
11
- import "./lodash-wjhSWqez.js";
10
+ import "./employee-ChdVnSmd.js";
11
+ import "./lodash-CcFIMCiJ.js";
12
12
  import "./useAppStore-DCwd8GWN.js";
13
- import "./iteration-BjW8Cs9e.js";
13
+ import "./index-DYoVJQTd.js";
14
14
  /* empty css */
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";
15
+ import { R as pt } from "./app-BpnOPodL.js";
16
+ import "./rule-8iyCO_LZ.js";
17
+ import "./useReportPermissions-C3fuFTUC.js";
18
+ import "./dayjs.min-4GLfSOGZ.js";
19
+ import "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DZUJR8K_.js";
20
20
  var Nn = {};
21
21
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
22
22
  var qt = {};
@@ -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-CEUcSmA6.js";
8
+ import { u as H } from "./role-OXCiWTVq.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-D-cQzgkr.js";
11
+ import { R as n } from "./app-BpnOPodL.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-Df8LOhxm.js";
9
- import "./lodash-wjhSWqez.js";
10
- import "./iteration-BjW8Cs9e.js";
8
+ import "./rule-8iyCO_LZ.js";
9
+ import "./lodash-CcFIMCiJ.js";
10
+ import "./index-DYoVJQTd.js";
11
11
  import "./useAppStore-DCwd8GWN.js";
12
- import { R as v } from "./app-D-cQzgkr.js";
13
- import "./role-CEUcSmA6.js";
12
+ import { R as v } from "./app-BpnOPodL.js";
13
+ import "./role-OXCiWTVq.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({
@@ -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 { b as Q, _ as he } from "./app-D-cQzgkr.js";
4
+ import { v as Q, _ as he } from "./app-BpnOPodL.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-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";
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-8iyCO_LZ.js";
8
+ import { l as T } from "./lodash-CcFIMCiJ.js";
9
+ import "./index-DYoVJQTd.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-cFQDQCal.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 = Re(N), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], O = b(() => {
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: Ve(p.value)
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" }, Ze = /* @__PURE__ */ Z({
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
- Ze as default
394
+ es as default
394
395
  };