@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
@@ -0,0 +1,71 @@
1
+ import { defineComponent as i, createElementBlock as s, openBlock as o, createElementVNode as l, renderSlot as n, createCommentVNode as c, toDisplayString as a, normalizeClass as d, createVNode as m, withCtx as f } from "vue";
2
+ const p = { class: "space-y-8" }, y = { class: "flex items-center justify-between" }, h = { class: "space-y-8" }, u = { class: "fm-typo-en-body-lg-600" }, _ = {
3
+ key: 0,
4
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
5
+ }, w = /* @__PURE__ */ i({
6
+ __name: "FormItem",
7
+ props: {
8
+ label: {},
9
+ description: {}
10
+ },
11
+ setup(e) {
12
+ return (t, r) => (o(), s("div", p, [
13
+ l("div", y, [
14
+ l("div", h, [
15
+ l("p", u, a(e.label), 1),
16
+ e.description ? (o(), s("p", _, a(e.description), 1)) : c("", !0)
17
+ ]),
18
+ n(t.$slots, "append")
19
+ ]),
20
+ n(t.$slots, "default")
21
+ ]));
22
+ }
23
+ }), b = /* @__PURE__ */ i({
24
+ __name: "FormColumn",
25
+ props: {
26
+ shrinkable: { type: Boolean }
27
+ },
28
+ setup(e) {
29
+ return (t, r) => (o(), s("div", {
30
+ class: d(["flex-1 flex flex-col space-y-24", { "min-h-0": e.shrinkable }])
31
+ }, [
32
+ n(t.$slots, "default")
33
+ ], 2));
34
+ }
35
+ }), k = {
36
+ key: 0,
37
+ class: "flex flex-row justify-between items-center"
38
+ }, $ = { class: "space-y-4" }, x = { class: "fm-typo-en-title-sm-600" }, v = {
39
+ key: 0,
40
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
41
+ }, B = /* @__PURE__ */ i({
42
+ __name: "FormSection",
43
+ props: {
44
+ title: {},
45
+ subTitle: {},
46
+ shrinkable: { type: Boolean }
47
+ },
48
+ setup(e) {
49
+ return (t, r) => (o(), s("div", {
50
+ class: d(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
51
+ }, [
52
+ e.title ? (o(), s("div", k, [
53
+ l("div", $, [
54
+ l("p", x, a(e.title), 1),
55
+ e.subTitle ? (o(), s("p", v, a(e.subTitle), 1)) : c("", !0)
56
+ ]),
57
+ n(t.$slots, "append-title")
58
+ ])) : c("", !0),
59
+ m(b, { shrinkable: e.shrinkable }, {
60
+ default: f(() => [
61
+ n(t.$slots, "default")
62
+ ]),
63
+ _: 3
64
+ }, 8, ["shrinkable"])
65
+ ], 2));
66
+ }
67
+ });
68
+ export {
69
+ B as _,
70
+ w as a
71
+ };
@@ -0,0 +1,12 @@
1
+ import { createElementBlock as e, openBlock as o, createElementVNode as t } from "vue";
2
+ import { _ as l } from "./SelectFilter-DUj7GBtT.js";
3
+ const n = {};
4
+ function c(s, r) {
5
+ return o(), e("div", null, [...r[0] || (r[0] = [
6
+ t("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
7
+ ])]);
8
+ }
9
+ const i = /* @__PURE__ */ l(n, [["render", c]]);
10
+ export {
11
+ i as H
12
+ };
@@ -3,16 +3,17 @@ import { useRouter as of, useRoute as cf } from "vue-router";
3
3
  import { useCoreStore as hf, useI18n as uf } from "@feedmepos/mf-common";
4
4
  import { _ as vf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as pf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
- import { u as df } from "./useAppStore-gvdZApLV.js";
6
+ import { u as df } from "./useAppStore-Cu5QCTlx.js";
7
7
  import "@feedmepos/ui-library";
8
8
  /* empty css */
9
- import { u as mf } from "./employee-DGiDGhcK.js";
10
- import "./lodash-CBlFHm6b.js";
11
- import "./index-C0yiZ_7g.js";
12
- import { R as vt } from "./app-BovCLczm.js";
13
- import "./useReportPermissions-9TaHhs9I.js";
14
- import "./dayjs.min-dxVeOXk_.js";
15
- import "./timesheet-BVR_FxsT.js";
9
+ import { u as mf } from "./employee-DXp_u8jd.js";
10
+ import "./lodash-Mhrrz947.js";
11
+ import "./iteration-DgaP-HFg.js";
12
+ import { R as vt } from "./app-BO9lM0sJ.js";
13
+ import "./index-DAuOIotV.js";
14
+ import "./useReportPermissions-B_w5FiAK.js";
15
+ import "./dayjs.min-lY-LRZuh.js";
16
+ import "./timesheet-B4XO3Kjx.js";
16
17
  var In = {};
17
18
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
18
19
  var jt = {};
@@ -15483,7 +15484,7 @@ var Yt = {
15483
15484
  const f2 = {
15484
15485
  key: 0,
15485
15486
  class: "mr-16"
15486
- }, l2 = { class: "space-y-24" }, y2 = /* @__PURE__ */ rf({
15487
+ }, l2 = { class: "space-y-24" }, O2 = /* @__PURE__ */ rf({
15487
15488
  __name: "Main",
15488
15489
  setup(e) {
15489
15490
  const t = of(), r = cf(), { readTeamMemberPosUserIds: n } = mf(), { restaurants: a, currentBusiness: i, readRestaurants: s } = hf(), { readRoles: f, roles: o } = df(), { t: l } = uf(), c = yn(), d = yn(), p = yn(), v = On({
@@ -15603,5 +15604,5 @@ const f2 = {
15603
15604
  }
15604
15605
  });
15605
15606
  export {
15606
- y2 as default
15607
+ O2 as default
15607
15608
  };
@@ -4,14 +4,15 @@ import { useI18n as N } from "@feedmepos/mf-common";
4
4
  import { _ as g } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as h } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import "@feedmepos/ui-library";
7
- import "./index-C0yiZ_7g.js";
8
- import { R as v } from "./app-BovCLczm.js";
9
- import "./useAppStore-gvdZApLV.js";
10
- import "./index-CQ26ps7Z.js";
7
+ import "./index-DAuOIotV.js";
8
+ import "./iteration-DgaP-HFg.js";
9
+ import { R as v } from "./app-BO9lM0sJ.js";
10
+ import "./useAppStore-Cu5QCTlx.js";
11
+ import "./index-BigKo-lS.js";
11
12
  /* empty css */
12
13
  /* empty css */
13
- import "./team-BqxJ-gNb.js";
14
- const w = { class: "space-y-24" }, P = /* @__PURE__ */ V({
14
+ import "./team-oeTIbsa-.js";
15
+ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
15
16
  __name: "Main",
16
17
  setup(x) {
17
18
  const { t: a } = N(), f = k(), R = F(), _ = u(), b = u(), t = u("member");
@@ -82,5 +83,5 @@ const w = { class: "space-y-24" }, P = /* @__PURE__ */ V({
82
83
  }
83
84
  });
84
85
  export {
85
- P as default
86
+ Q as default
86
87
  };