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

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-COq6WH3T.js → AuditLogList-BWzKxoBK.js} +24 -23
  2. package/dist/{EmployeeList-CtosIPFL.js → EmployeeList-CPvHmCle.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-B4YdcrGe.js → Main-BEj_iUkZ.js} +8 -7
  6. package/dist/{Main-CdsqeB2G.js → Main-BNywXKr0.js} +11 -10
  7. package/dist/Main-BkIzKoHQ.js +560 -0
  8. package/dist/PermissionSetList-B8jSoL19.js +338 -0
  9. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ddnj8eg_.js +3356 -0
  10. package/dist/{RoleList-D1NGE2IC.js → RoleList-BEx1B8PE.js} +26 -24
  11. package/dist/TeamMemberList-BEDwcjeT.js +989 -0
  12. package/dist/{TimesheetList-B8yCkaxb.js → TimesheetList-CqZG4xmE.js} +11 -10
  13. package/dist/{app-CB3ye-CT.js → app-DHtKeCwy.js} +1333 -1060
  14. package/dist/app.js +2 -2
  15. package/dist/{dayjs.min-DOxEzdpe.js → dayjs.min-BWWy9u8p.js} +1 -1
  16. package/dist/{employee-G0pQg8_6.js → employee-C2ys9jf0.js} +21 -20
  17. package/dist/index-BwYlZrxP.js +968 -0
  18. package/dist/{index-DQArLkVB.js → index-O9ipnK-U.js} +1 -1
  19. package/dist/{index-Beu6IuhT.js → iteration-BdhU8jGb.js} +3444 -4352
  20. package/dist/{lodash-COjtwv4w.js → lodash-CDSEYvRz.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/api/permission-assignment/index.d.ts +1 -1
  24. package/dist/src/helpers/permission-set.d.ts +26 -4
  25. package/dist/src/helpers/permission-set.test.d.ts +1 -0
  26. package/dist/src/router/shared.d.ts +2 -1
  27. package/dist/src/stores/grant-user.d.ts +86 -0
  28. package/dist/src/types/grant-user.d.ts +27 -0
  29. package/dist/src/views/grant/GrantUserList.vue.d.ts +17 -0
  30. package/dist/src/views/grant/Main.vue.d.ts +2 -0
  31. package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +17 -0
  32. package/dist/src/views/grant/locales/index.d.ts +232 -0
  33. package/dist/{team-CEtKQK6n.js → team-9CwJsJGX.js} +1 -1
  34. package/dist/{timesheet-DZF9D3QQ.js → timesheet-ChKYJtjK.js} +10 -9
  35. package/dist/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/{useAppStore-9lbKMy_9.js → useAppStore-DGzBzMIR.js} +1 -1
  37. package/dist/{useLoading-BIIvuJcM.js → useLoading-CzteZR_c.js} +1 -1
  38. package/dist/{useReportPermissions-BXQ0-WwK.js → useReportPermissions-CaY_wr2l.js} +12 -11
  39. package/dist/useRestaurantMap-e9fQJiLC.js +39 -0
  40. package/package.json +2 -2
  41. package/dist/PermissionSetList-BUORArci.js +0 -327
  42. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ChqCTn1L.js +0 -3333
  43. package/dist/TeamMemberList-auSjZRNz.js +0 -979
  44. 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
- };