@feedmepos/mf-hrm-portal 2.0.17-dev.5 → 2.0.18-dev

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 (35) hide show
  1. package/dist/{AuditLogList-Dl3Nmf00.js → AuditLogList-CaoW9uYd.js} +5 -5
  2. package/dist/EmployeeList-DcMvF9U5.js +839 -0
  3. package/dist/Main-CleutFvF.js +567 -0
  4. package/dist/{Main-CQ3KwxDY.js → Main-CvW6Vu8N.js} +2055 -2055
  5. package/dist/{Main-w0XUUaBp.js → Main-D7k57uq5.js} +32 -32
  6. package/dist/{PermissionSetList-B8qNOWH6.js → PermissionSetList-CM7kbWkO.js} +6 -6
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9VUjAu_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ces9YwYB.js} +525 -525
  8. package/dist/{RoleList-DMFJsUZv.js → RoleList-DR3eVJ9f.js} +102 -102
  9. package/dist/TeamMemberList-CZZv4Pu5.js +1038 -0
  10. package/dist/{TimesheetList-Bwp9_xHe.js → TimesheetList-WqqoKPbg.js} +132 -126
  11. package/dist/{app-COJbSNM4.js → app-R5EioPr4.js} +4 -4
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-CcBi6N-K.js → dayjs.min-CN15Ft3o.js} +1 -1
  14. package/dist/employee-DwQlWLkL.js +204 -0
  15. package/dist/{iteration-JOKbtlLf.js → iteration-UBGGRoxQ.js} +9258 -9213
  16. package/dist/{lodash-D5xlVzib.js → lodash-CC6qHVUo.js} +1 -1
  17. package/dist/{rule-3sXHiW0y.js → rule-B519XbW6.js} +273 -273
  18. package/dist/src/api/restaurant/index.d.ts +5 -0
  19. package/dist/src/composables/useRestaurantMap.d.ts +2 -329
  20. package/dist/src/stores/restaurant.d.ts +181 -0
  21. package/dist/src/stores/role.d.ts +7 -7
  22. package/dist/src/types/restaurant.d.ts +11 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{team-CyNektSD.js → team-BGLhgx5P.js} +1 -1
  25. package/dist/{timesheet-DkD3AysG.js → timesheet-BylrXRfd.js} +2 -2
  26. package/dist/tsconfig.app.tsbuildinfo +1 -1
  27. package/dist/useAppStore-Akl8AoVN.js +171 -0
  28. package/dist/{useLoading-4TNmhm5N.js → useLoading-rbrVwWuj.js} +1 -1
  29. package/dist/{useReportPermissions-CWMFFb8E.js → useReportPermissions-BOEZU86S.js} +3 -3
  30. package/package.json +1 -1
  31. package/dist/EmployeeList-DBd_rVW2.js +0 -831
  32. package/dist/Main-pTgqNncY.js +0 -560
  33. package/dist/TeamMemberList-BLRTfKLz.js +0 -1031
  34. package/dist/employee-xiV0LfnL.js +0 -204
  35. package/dist/useAppStore-CvmsaYSG.js +0 -171
@@ -1,27 +1,27 @@
1
- import { defineComponent as V, ref as u, computed as B, watch as A, resolveComponent as i, createBlock as s, openBlock as c, withCtx as p, createElementVNode as C, createVNode as d, resolveDynamicComponent as T, createCommentVNode as S } from "vue";
2
- import { useRouter as k, useRoute as F } from "vue-router";
3
- import { useI18n as N } from "@feedmepos/mf-common";
4
- import { _ as g } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as h } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
1
+ import { defineComponent as A, ref as u, computed as R, watch as C, resolveComponent as s, createBlock as i, openBlock as c, withCtx as p, createElementVNode as S, createVNode as d, resolveDynamicComponent as T, createCommentVNode as k } from "vue";
2
+ import { useRouter as F, useRoute as N } from "vue-router";
3
+ import { useI18n as g } from "@feedmepos/mf-common";
4
+ import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
+ import { _ as w } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
+ import { u as x } from "./iteration-UBGGRoxQ.js";
6
7
  import "@feedmepos/ui-library";
7
- import "./rule-3sXHiW0y.js";
8
- import "./lodash-D5xlVzib.js";
9
- import "./iteration-JOKbtlLf.js";
10
- import "./useAppStore-CvmsaYSG.js";
11
- import { R as v } from "./app-COJbSNM4.js";
8
+ import "./rule-B519XbW6.js";
9
+ import "./lodash-CC6qHVUo.js";
10
+ import "./useAppStore-Akl8AoVN.js";
11
+ import { R as v } from "./app-R5EioPr4.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
- import "./team-CyNektSD.js";
15
- const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
14
+ import "./team-BGLhgx5P.js";
15
+ const y = { class: "space-y-24" }, X = /* @__PURE__ */ A({
16
16
  __name: "Main",
17
- setup(x) {
18
- const { t: a } = N(), f = k(), R = F(), _ = u(), b = u(), t = u("member");
19
- R.name === v.TEAM_ROLE ? t.value = "role" : t.value = "member";
20
- const r = B(() => n.value.find((e) => e.value === t.value) || n.value[0]);
21
- A(t, (e) => {
17
+ setup($) {
18
+ const { t: a } = g(), f = F(), B = N(), { readRestaurants: L } = x(), _ = u(), b = u(), t = u("member");
19
+ B.name === v.TEAM_ROLE ? t.value = "role" : t.value = "member", L();
20
+ const r = R(() => l.value.find((e) => e.value === t.value) || l.value[0]);
21
+ C(t, (e) => {
22
22
  e === "member" ? f.replace({ name: v.TEAM_MEMBER }) : e === "role" && f.replace({ name: v.TEAM_ROLE });
23
23
  });
24
- const n = B(() => [
24
+ const l = R(() => [
25
25
  {
26
26
  label: a("team.title"),
27
27
  value: "member",
@@ -41,33 +41,33 @@ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
41
41
  }
42
42
  }
43
43
  ]);
44
- return (e, l) => {
45
- const L = i("FmSpacer"), E = i("FmTabs"), M = i("RouterView");
46
- return c(), s(h, {
44
+ return (e, n) => {
45
+ const E = s("FmSpacer"), M = s("FmTabs"), V = s("RouterView");
46
+ return c(), i(w, {
47
47
  heading: r.value.label
48
48
  }, {
49
49
  "append-heading": p(() => {
50
50
  var o;
51
51
  return [
52
- d(L),
53
- (o = r.value) != null && o.createButtonLabel ? (c(), s(g, {
52
+ d(E),
53
+ (o = r.value) != null && o.createButtonLabel ? (c(), i(h, {
54
54
  key: 0,
55
55
  icon: "add",
56
56
  label: r.value.createButtonLabel,
57
- onClick: l[0] || (l[0] = (m) => r.value.createButtonAction())
58
- }, null, 8, ["label"])) : S("", !0)
57
+ onClick: n[0] || (n[0] = (m) => r.value.createButtonAction())
58
+ }, null, 8, ["label"])) : k("", !0)
59
59
  ];
60
60
  }),
61
61
  default: p(() => [
62
- C("div", w, [
63
- d(E, {
62
+ S("div", y, [
63
+ d(M, {
64
64
  modelValue: t.value,
65
- "onUpdate:modelValue": l[1] || (l[1] = (o) => t.value = o),
66
- items: n.value
65
+ "onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o),
66
+ items: l.value
67
67
  }, null, 8, ["modelValue", "items"]),
68
- d(M, null, {
68
+ d(V, null, {
69
69
  default: p(({ Component: o }) => [
70
- (c(), s(T(o), {
70
+ (c(), i(T(o), {
71
71
  ref: (m) => {
72
72
  t.value === "member" && (_.value = m), t.value === "role" && (b.value = m);
73
73
  }
@@ -83,5 +83,5 @@ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
83
83
  }
84
84
  });
85
85
  export {
86
- Q as default
86
+ X as default
87
87
  };
@@ -3,12 +3,12 @@ import { useI18n as Q, useCoreStore as ce } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Y, useDialog as ue, useBreakpoints as de, components as J } from "@feedmepos/ui-library";
4
4
  import { _ as pe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
5
  import { u as fe, _ as ve } from "./useDiscardConfirm-DPhEV6v0.js";
6
- import { u as Z, c as ee, d as se, p as X, i as Se, b as be, m as A, k as Pe, l as he, s as _e, n as ge, q as ye } from "./rule-3sXHiW0y.js";
7
- import { l as W } from "./lodash-D5xlVzib.js";
8
- import { d as we, A as Fe } from "./iteration-JOKbtlLf.js";
9
- import { u as Ve } from "./useLoading-4TNmhm5N.js";
10
- import { d as G } from "./app-COJbSNM4.js";
11
- import { _ as ke } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9VUjAu_.js";
6
+ import { u as Z, c as ee, d as se, p as X, i as Se, b as be, m as A, k as Pe, l as he, s as _e, n as ge, q as ye } from "./rule-B519XbW6.js";
7
+ import { l as W } from "./lodash-CC6qHVUo.js";
8
+ import { d as we, A as Fe } from "./iteration-UBGGRoxQ.js";
9
+ import { u as Ve } from "./useLoading-rbrVwWuj.js";
10
+ import { d as G } from "./app-R5EioPr4.js";
11
+ import { _ as ke } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ces9YwYB.js";
12
12
  const xe = { class: "fm-typo-en-title-md-600" }, Ce = { class: "flex items-center justify-start gap-8" }, Re = /* @__PURE__ */ H({
13
13
  __name: "PermissionSetForm",
14
14
  props: {