@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.
- package/dist/{AuditLogList-Dp5B1jR-.js → AuditLogList-YGP3G14A.js} +24 -23
- package/dist/{EmployeeList-O6XTYBcz.js → EmployeeList-DuRlCrqN.js} +164 -169
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +71 -0
- package/dist/HorizontalSplitter-o860F4xM.js +12 -0
- package/dist/{Main-XEb1ECXG.js → Main-BfDH3uAt.js} +11 -10
- package/dist/{Main--bRTC1IR.js → Main-D4ueBOl0.js} +8 -7
- package/dist/Main-QpKV1hdj.js +560 -0
- package/dist/PermissionSetList-DfAZmUkI.js +338 -0
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DokyDyxJ.js +3432 -0
- package/dist/{RoleList-BeB1etH6.js → RoleList-D4mup6LW.js} +26 -24
- package/dist/TeamMemberList-D9rTKS5N.js +989 -0
- package/dist/{TimesheetList-DNzuykEu.js → TimesheetList-CBudjg1y.js} +11 -10
- package/dist/{app-BovCLczm.js → app-BO9lM0sJ.js} +1333 -1060
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-dxVeOXk_.js → dayjs.min-lY-LRZuh.js} +1 -1
- package/dist/{employee-DGiDGhcK.js → employee-DXp_u8jd.js} +21 -20
- package/dist/{index-CQ26ps7Z.js → index-BigKo-lS.js} +1 -1
- package/dist/index-DAuOIotV.js +968 -0
- package/dist/{index-C0yiZ_7g.js → iteration-DgaP-HFg.js} +3444 -4352
- package/dist/{lodash-CBlFHm6b.js → lodash-Mhrrz947.js} +1 -1
- package/dist/src/api/grant-user/index.d.ts +8 -0
- package/dist/src/api/index.d.ts +3 -1
- package/dist/src/helpers/permission-set.d.ts +26 -4
- package/dist/src/helpers/permission-set.test.d.ts +1 -0
- package/dist/src/router/shared.d.ts +2 -1
- package/dist/src/stores/grant-user.d.ts +86 -0
- package/dist/src/types/grant-user.d.ts +27 -0
- package/dist/src/views/grant/GrantUserList.vue.d.ts +17 -0
- package/dist/src/views/grant/Main.vue.d.ts +2 -0
- package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +17 -0
- package/dist/src/views/grant/locales/index.d.ts +232 -0
- package/dist/src/views/team/components/BasePermission.vue.d.ts +2 -2
- package/dist/{team-BqxJ-gNb.js → team-oeTIbsa-.js} +1 -1
- package/dist/{timesheet-BVR_FxsT.js → timesheet-B4XO3Kjx.js} +10 -9
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-gvdZApLV.js → useAppStore-Cu5QCTlx.js} +1 -1
- package/dist/{useLoading-CCzb5k4G.js → useLoading-DKnxkHGF.js} +1 -1
- package/dist/{useReportPermissions-9TaHhs9I.js → useReportPermissions-B_w5FiAK.js} +12 -11
- package/dist/useRestaurantMap-e9fQJiLC.js +39 -0
- package/package.json +2 -2
- package/dist/PermissionSetList-DAwnZ-Gu.js +0 -327
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bx7A0p-f.js +0 -3333
- package/dist/TeamMemberList-BKCsNEuQ.js +0 -979
- 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
|
-
};
|