@feedmepos/mf-hrm-portal 2.0.6-dev.1 → 2.0.6-dev.2

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 (38) hide show
  1. package/dist/{AuditLogList-C23_MiyK.js → AuditLogList-vHCIpof0.js} +6 -7
  2. package/dist/{EmployeeList-vXPEVqoh.js → EmployeeList-CBhHexQI.js} +169 -164
  3. package/dist/{Main-DC9H9bAs.js → Main-C5Bpd6bc.js} +10 -11
  4. package/dist/{Main-k56Iy_zg.js → Main-CEwaF3N8.js} +7 -8
  5. package/dist/{PermissionSetList-B8tJCNpR.js → PermissionSetList-Df-Ymw2O.js} +52 -53
  6. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BPJpVG8_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-zJrXXaE5.js} +774 -775
  7. package/dist/{RoleList-C5WA3Kxu.js → RoleList-CNdSo3ML.js} +24 -26
  8. package/dist/{TeamMemberList-Ic-iWBHd.js → TeamMemberList-D_RxHSyg.js} +9 -10
  9. package/dist/{TimesheetList-DlGpcOUp.js → TimesheetList-Bq6sBnDH.js} +10 -11
  10. package/dist/{app-D0xH_99A.js → app-CoFcOv4s.js} +691 -956
  11. package/dist/app.js +1 -1
  12. package/dist/{dayjs.min-C1rTVn8X.js → dayjs.min-DYhmwGAk.js} +1 -1
  13. package/dist/{employee-BK4sYiRy.js → employee-BuQUeatq.js} +20 -21
  14. package/dist/{index-DSAB4vz3.js → index-CJbevkE_.js} +1 -1
  15. package/dist/{iteration-BSGKcAZm.js → index-CmgH764t.js} +4430 -3468
  16. package/dist/{lodash-CeTePH4O.js → lodash-goefl10e.js} +1 -1
  17. package/dist/src/api/index.d.ts +1 -3
  18. package/dist/src/router/shared.d.ts +1 -2
  19. package/dist/{team-B25hRkju.js → team-Dy2uK8pr.js} +1 -1
  20. package/dist/{timesheet-C8oy-bxz.js → timesheet-knvCGlOx.js} +9 -10
  21. package/dist/tsconfig.app.tsbuildinfo +1 -1
  22. package/dist/{useAppStore-WGnUS7Wm.js → useAppStore-C3SLn6_I.js} +1 -1
  23. package/dist/{useLoading-BCi2g_rf.js → useLoading-BZMc7JLo.js} +1 -1
  24. package/dist/{useReportPermissions--LOfl1e-.js → useReportPermissions-l-Ltg4HG.js} +11 -12
  25. package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
  26. package/package.json +1 -1
  27. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
  28. package/dist/HorizontalSplitter-o860F4xM.js +0 -12
  29. package/dist/Main-CQWe1-SW.js +0 -599
  30. package/dist/index-C2ubYSVV.js +0 -968
  31. package/dist/src/api/grant-user/index.d.ts +0 -8
  32. package/dist/src/stores/grant-user.d.ts +0 -86
  33. package/dist/src/types/grant-user.d.ts +0 -27
  34. package/dist/src/views/grant/GrantUserList.vue.d.ts +0 -17
  35. package/dist/src/views/grant/Main.vue.d.ts +0 -2
  36. package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +0 -17
  37. package/dist/src/views/grant/locales/index.d.ts +0 -232
  38. package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-D0xH_99A.js";
1
+ import { c as jt } from "./app-CoFcOv4s.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -3,8 +3,6 @@ export declare class ApiError extends Error {
3
3
  readonly status: number;
4
4
  constructor(message: string, status: number);
5
5
  }
6
- export declare const businessClientInstance: (subPath?: string) => AxiosInstance;
6
+ export declare const businessClientInstance: () => AxiosInstance;
7
7
  export declare const queryEngineClientInstance: () => AxiosInstance;
8
- export declare const grantClientInstance: () => AxiosInstance;
9
- export declare const grantValidateClientInstance: () => AxiosInstance;
10
8
  export declare function getAxiosData<T>(response: AxiosResponse<T>): T;
@@ -7,8 +7,7 @@ export declare enum RouteName {
7
7
  AUDIT_LOG = "audit-log",
8
8
  TEAM = "team",
9
9
  TEAM_MEMBER = "team-member",
10
- TEAM_ROLE = "team-role",
11
- POS_GRANT = "pos-grant"
10
+ TEAM_ROLE = "team-role"
12
11
  }
13
12
  declare const routes: RouteRecordRaw[];
14
13
  export { routes };
@@ -1,6 +1,6 @@
1
1
  import { defineStore as d } from "pinia";
2
2
  import { ref as s, computed as o } from "vue";
3
- import { t as f } from "./index-C2ubYSVV.js";
3
+ import { t as f } from "./index-CmgH764t.js";
4
4
  const I = d("team", () => {
5
5
  const r = s([]), a = s(!1), m = o(
6
6
  () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
@@ -1,8 +1,7 @@
1
- import { d as i } from "./dayjs.min-C1rTVn8X.js";
1
+ import { d as i } from "./dayjs.min-DYhmwGAk.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y, s as S } from "./iteration-BSGKcAZm.js";
5
- import { i as u, b as g } from "./index-C2ubYSVV.js";
4
+ import { b as c, g as y, k as u, j as S, s as g } from "./index-CmgH764t.js";
6
5
  const f = {
7
6
  async readTimesheets(t, e) {
8
7
  return y(await c().get(`timesheet?start=${t}&end=${e}`));
@@ -12,17 +11,17 @@ const f = {
12
11
  }
13
12
  };
14
13
  function A(t) {
15
- const e = t.map((n) => {
16
- const { startedAt: s, endedAt: a } = n, r = i(u(s)), o = a ? i(u(a)) : null, m = (o == null ? void 0 : o.diff(r, "minute", !1)) || 0, h = o ? g(m) : "", d = "YYYY-MM-DD hh:mm a";
14
+ const e = t.map((o) => {
15
+ const { startedAt: s, endedAt: a } = o, r = i(u(s)), n = a ? i(u(a)) : null, m = (n == null ? void 0 : n.diff(r, "minute", !1)) || 0, h = n ? S(m) : "", d = "YYYY-MM-DD hh:mm a";
17
16
  return {
18
- ...n,
17
+ ...o,
19
18
  start: r.format(d),
20
- end: o ? o.format(d) : "",
19
+ end: n ? n.format(d) : "",
21
20
  totalMin: m,
22
21
  duration: h
23
22
  };
24
23
  });
25
- return S(e, { selector: "start" });
24
+ return g(e, { selector: "start" });
26
25
  }
27
26
  const D = p("timesheet", () => {
28
27
  const t = l([]);
@@ -33,7 +32,7 @@ const D = p("timesheet", () => {
33
32
  );
34
33
  t.value = A(r);
35
34
  }
36
- async function n(s, a, r) {
35
+ async function o(s, a, r) {
37
36
  await f.updateTimesheet(s.restaurantId, {
38
37
  id: s._id,
39
38
  startAt: a,
@@ -43,7 +42,7 @@ const D = p("timesheet", () => {
43
42
  return {
44
43
  timesheets: t,
45
44
  readTimesheet: e,
46
- updateTimesheet: n
45
+ updateTimesheet: o
47
46
  };
48
47
  }), M = () => {
49
48
  const t = D();