@feedmepos/mf-hrm-portal 2.0.8-dev → 2.0.8-dev.1

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 (44) hide show
  1. package/dist/{AuditLogList-Dp5B1jR-.js → AuditLogList-YGP3G14A.js} +24 -23
  2. package/dist/{EmployeeList-O6XTYBcz.js → EmployeeList-DuRlCrqN.js} +164 -169
  3. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +71 -0
  4. package/dist/HorizontalSplitter-o860F4xM.js +12 -0
  5. package/dist/{Main-XEb1ECXG.js → Main-BfDH3uAt.js} +11 -10
  6. package/dist/{Main--bRTC1IR.js → Main-D4ueBOl0.js} +8 -7
  7. package/dist/Main-QpKV1hdj.js +560 -0
  8. package/dist/PermissionSetList-DfAZmUkI.js +338 -0
  9. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DokyDyxJ.js +3432 -0
  10. package/dist/{RoleList-BeB1etH6.js → RoleList-D4mup6LW.js} +26 -24
  11. package/dist/TeamMemberList-D9rTKS5N.js +989 -0
  12. package/dist/{TimesheetList-DNzuykEu.js → TimesheetList-CBudjg1y.js} +11 -10
  13. package/dist/{app-BovCLczm.js → app-BO9lM0sJ.js} +1333 -1060
  14. package/dist/app.js +2 -2
  15. package/dist/{dayjs.min-dxVeOXk_.js → dayjs.min-lY-LRZuh.js} +1 -1
  16. package/dist/{employee-DGiDGhcK.js → employee-DXp_u8jd.js} +21 -20
  17. package/dist/{index-CQ26ps7Z.js → index-BigKo-lS.js} +1 -1
  18. package/dist/index-DAuOIotV.js +968 -0
  19. package/dist/{index-C0yiZ_7g.js → iteration-DgaP-HFg.js} +3444 -4352
  20. package/dist/{lodash-CBlFHm6b.js → lodash-Mhrrz947.js} +1 -1
  21. package/dist/src/api/grant-user/index.d.ts +8 -0
  22. package/dist/src/api/index.d.ts +3 -1
  23. package/dist/src/helpers/permission-set.d.ts +26 -4
  24. package/dist/src/helpers/permission-set.test.d.ts +1 -0
  25. package/dist/src/router/shared.d.ts +2 -1
  26. package/dist/src/stores/grant-user.d.ts +86 -0
  27. package/dist/src/types/grant-user.d.ts +27 -0
  28. package/dist/src/views/grant/GrantUserList.vue.d.ts +17 -0
  29. package/dist/src/views/grant/Main.vue.d.ts +2 -0
  30. package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +17 -0
  31. package/dist/src/views/grant/locales/index.d.ts +232 -0
  32. package/dist/src/views/team/components/BasePermission.vue.d.ts +2 -2
  33. package/dist/{team-BqxJ-gNb.js → team-oeTIbsa-.js} +1 -1
  34. package/dist/{timesheet-BVR_FxsT.js → timesheet-B4XO3Kjx.js} +10 -9
  35. package/dist/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/{useAppStore-gvdZApLV.js → useAppStore-Cu5QCTlx.js} +1 -1
  37. package/dist/{useLoading-CCzb5k4G.js → useLoading-DKnxkHGF.js} +1 -1
  38. package/dist/{useReportPermissions-9TaHhs9I.js → useReportPermissions-B_w5FiAK.js} +12 -11
  39. package/dist/useRestaurantMap-e9fQJiLC.js +39 -0
  40. package/package.json +2 -2
  41. package/dist/PermissionSetList-DAwnZ-Gu.js +0 -327
  42. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bx7A0p-f.js +0 -3333
  43. package/dist/TeamMemberList-BKCsNEuQ.js +0 -979
  44. package/dist/useRestaurantMap-D5BNPLKh.js +0 -107
@@ -1,13 +1,14 @@
1
1
  import { ref as d, computed as b, defineComponent as ce, onMounted as me, watch as X, resolveComponent as i, createElementBlock as B, openBlock as D, Fragment as Z, createVNode as l, createElementVNode as u, unref as n, withCtx as C, createCommentVNode as pe, toDisplayString as $, createTextVNode as ve, createBlock as z, isRef as fe, renderList as he, nextTick as ge } from "vue";
2
- import { d as v } from "./dayjs.min-dxVeOXk_.js";
2
+ import { d as v } from "./dayjs.min-lY-LRZuh.js";
3
3
  import { useI18n as we, useCoreStore as ye, RestaurantSelector as be } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as _e, components as De } from "@feedmepos/ui-library";
5
- import { _ as xe } from "./app-BovCLczm.js";
5
+ import { _ as xe } from "./app-BO9lM0sJ.js";
6
6
  import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { u as ke } from "./useLoading-CCzb5k4G.js";
8
- import { i as Ce, j as Ve, s as Fe } from "./index-C0yiZ_7g.js";
9
- import { u as Ye } from "./employee-DGiDGhcK.js";
10
- import { u as Le } from "./timesheet-BVR_FxsT.js";
7
+ import { u as ke } from "./useLoading-DKnxkHGF.js";
8
+ import { c as Ce, s as Ve } from "./iteration-DgaP-HFg.js";
9
+ import { b as Fe } from "./index-DAuOIotV.js";
10
+ import { u as Ye } from "./employee-DXp_u8jd.js";
11
+ import { u as Le } from "./timesheet-B4XO3Kjx.js";
11
12
  function Me(x, a) {
12
13
  return ["years", "months"].find((S) => {
13
14
  const k = x.startOf(S), f = x.endOf(S);
@@ -68,7 +69,7 @@ const Re = {
68
69
  class: "flex items-start gap-8 flex-wrap xs:px-16"
69
70
  }, qe = {
70
71
  class: "flex items-center gap-8"
71
- }, nt = /* @__PURE__ */ ce({
72
+ }, rt = /* @__PURE__ */ ce({
72
73
  __name: "TimesheetList",
73
74
  setup(x) {
74
75
  const {
@@ -104,10 +105,10 @@ const Re = {
104
105
  user: r[0].user.name,
105
106
  code: w ? w.code : "",
106
107
  timesheets: r,
107
- total: Ve(r.reduce((y, p) => y + p.totalMin, 0))
108
+ total: Fe(r.reduce((y, p) => y + p.totalMin, 0))
108
109
  };
109
110
  });
110
- return Fe(e, {
111
+ return Ve(e, {
111
112
  selector: "user"
112
113
  });
113
114
  }), H = b(() => j.value.filter((t) => {
@@ -375,5 +376,5 @@ const Re = {
375
376
  }
376
377
  });
377
378
  export {
378
- nt as default
379
+ rt as default
379
380
  };