@feedmepos/mf-hrm-portal 2.0.10-dev → 2.0.10

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 (52) hide show
  1. package/dist/AuditLogList-DICsmRKu.js +915 -0
  2. package/dist/{EmployeeList-B3qXFaOz.js → EmployeeList-BeTBQG6y.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-6YVJ8qeK.js +560 -0
  6. package/dist/{Main-urBwZXUq.js → Main-BSaeTSWh.js} +8 -7
  7. package/dist/{Main-JUX88mXA.js → Main-D9233aXd.js} +11 -10
  8. package/dist/PermissionSetList-vA7XmeDX.js +338 -0
  9. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CrL1DmdL.js +3479 -0
  10. package/dist/{RoleList-Dl7042_3.js → RoleList-BwZRlJSm.js} +26 -24
  11. package/dist/TeamMemberList-DqMVgyU0.js +989 -0
  12. package/dist/{TimesheetList-B3cmnZN5.js → TimesheetList-HsH2fi2o.js} +11 -10
  13. package/dist/{app-DHFWqcG2.js → app-CvSQBSNk.js} +2376 -1092
  14. package/dist/app.js +2 -2
  15. package/dist/{dayjs.min-faWeeWGk.js → dayjs.min-Cje6yZS4.js} +1 -1
  16. package/dist/{employee-sOy9OKvU.js → employee-Bvza5QKq.js} +21 -20
  17. package/dist/index-CUPMZ2Nm.js +975 -0
  18. package/dist/{index-DNsMh7eu.js → index-J8WRP1Mb.js} +1 -1
  19. package/dist/{index-EeD0w_Es.js → iteration-tLtr3UA8.js} +3444 -4352
  20. package/dist/{lodash-CfsS7nDC.js → lodash-CrQQQutG.js} +1 -1
  21. package/dist/src/api/audit-log/index.d.ts +1 -0
  22. package/dist/src/api/grant-user/index.d.ts +8 -0
  23. package/dist/src/api/index.d.ts +3 -1
  24. package/dist/src/composables/useBasePermission.d.ts +37 -0
  25. package/dist/src/helpers/permission-set.d.ts +34 -5
  26. package/dist/src/helpers/permission-set.test.d.ts +1 -0
  27. package/dist/src/helpers/permission-sync.d.ts +12 -0
  28. package/dist/src/router/shared.d.ts +2 -1
  29. package/dist/src/stores/grant-user.d.ts +86 -0
  30. package/dist/src/types/grant-user.d.ts +27 -0
  31. package/dist/src/views/audit-log/components/AuditLogModuleTabs.vue.d.ts +17 -0
  32. package/dist/src/views/audit-log/constants.d.ts +30 -0
  33. package/dist/src/views/audit-log/locales/index.d.ts +244 -0
  34. package/dist/src/views/grant/GrantUserList.vue.d.ts +17 -0
  35. package/dist/src/views/grant/Main.vue.d.ts +2 -0
  36. package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +17 -0
  37. package/dist/src/views/grant/locales/index.d.ts +232 -0
  38. package/dist/src/views/team/components/BasePermission.vue.d.ts +3 -3
  39. package/dist/style.css +1 -1
  40. package/dist/{team-CTYZ-AfE.js → team-eAkNf8XU.js} +1 -1
  41. package/dist/{timesheet-CP-usx78.js → timesheet-Cj5r4laf.js} +10 -9
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/{useAppStore-DpKptyzk.js → useAppStore-BFge6TcH.js} +1 -1
  44. package/dist/{useLoading-D0NWMSr4.js → useLoading-D5jjAdvm.js} +1 -1
  45. package/dist/{useReportPermissions-CtnMIyaq.js → useReportPermissions-BeIK2wRH.js} +12 -11
  46. package/dist/useRestaurantMap-e9fQJiLC.js +39 -0
  47. package/package.json +3 -3
  48. package/dist/AuditLogList-BqKDq3NZ.js +0 -492
  49. package/dist/PermissionSetList-BfCuoHa3.js +0 -327
  50. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BYZbAUtK.js +0 -3334
  51. package/dist/TeamMemberList-BrZDh51J.js +0 -979
  52. package/dist/useRestaurantMap-D5BNPLKh.js +0 -107
@@ -1,107 +0,0 @@
1
- import { defineComponent as m, createElementBlock as n, openBlock as a, createElementVNode as i, renderSlot as r, createCommentVNode as l, toDisplayString as c, normalizeClass as d, createVNode as p, withCtx as f, computed as y } from "vue";
2
- import { useI18n as h, useCoreStore as _ } from "@feedmepos/mf-common";
3
- import { useDialog as b } from "@feedmepos/ui-library";
4
- const x = { class: "space-y-8" }, k = { class: "flex items-center justify-between" }, $ = { class: "space-y-8" }, v = { class: "fm-typo-en-body-lg-600" }, C = {
5
- key: 0,
6
- class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
7
- }, I = /* @__PURE__ */ m({
8
- __name: "FormItem",
9
- props: {
10
- label: {},
11
- description: {}
12
- },
13
- setup(e) {
14
- return (t, s) => (a(), n("div", x, [
15
- i("div", k, [
16
- i("div", $, [
17
- i("p", v, c(e.label), 1),
18
- e.description ? (a(), n("p", C, c(e.description), 1)) : l("", !0)
19
- ]),
20
- r(t.$slots, "append")
21
- ]),
22
- r(t.$slots, "default")
23
- ]));
24
- }
25
- }), g = /* @__PURE__ */ m({
26
- __name: "FormColumn",
27
- props: {
28
- shrinkable: { type: Boolean }
29
- },
30
- setup(e) {
31
- return (t, s) => (a(), n("div", {
32
- class: d(["flex-1 flex flex-col space-y-24", { "min-h-0": e.shrinkable }])
33
- }, [
34
- r(t.$slots, "default")
35
- ], 2));
36
- }
37
- }), S = {
38
- key: 0,
39
- class: "flex flex-row justify-between items-center"
40
- }, w = { class: "space-y-4" }, B = { class: "fm-typo-en-title-sm-600" }, D = {
41
- key: 0,
42
- class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
43
- }, M = /* @__PURE__ */ m({
44
- __name: "FormSection",
45
- props: {
46
- title: {},
47
- subTitle: {},
48
- shrinkable: { type: Boolean }
49
- },
50
- setup(e) {
51
- return (t, s) => (a(), n("div", {
52
- class: d(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
53
- }, [
54
- e.title ? (a(), n("div", S, [
55
- i("div", w, [
56
- i("p", B, c(e.title), 1),
57
- e.subTitle ? (a(), n("p", D, c(e.subTitle), 1)) : l("", !0)
58
- ]),
59
- r(t.$slots, "append-title")
60
- ])) : l("", !0),
61
- p(g, { shrinkable: e.shrinkable }, {
62
- default: f(() => [
63
- r(t.$slots, "default")
64
- ]),
65
- _: 3
66
- }, 8, ["shrinkable"])
67
- ], 2));
68
- }
69
- });
70
- function N(e, t) {
71
- const s = b(), { t: o } = h();
72
- function u() {
73
- e() ? s.open({
74
- title: o("portalCommon.dismiss.title"),
75
- message: o("portalCommon.dismiss.message"),
76
- zIndex: 200,
77
- primaryActions: {
78
- text: o("portalCommon.dismiss.primaryActions"),
79
- variant: "primary",
80
- close: !0
81
- },
82
- secondaryActions: {
83
- text: o("common.cancel"),
84
- variant: "tertiary",
85
- close: !0
86
- }
87
- }).onPrimary(() => {
88
- t();
89
- }) : t();
90
- }
91
- return u;
92
- }
93
- function T() {
94
- const e = _();
95
- return y(() => {
96
- const s = {};
97
- return e.restaurants.value.forEach((o) => {
98
- s[o._id] = o;
99
- }), s;
100
- });
101
- }
102
- export {
103
- M as _,
104
- I as a,
105
- T as b,
106
- N as u
107
- };