@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.
- package/dist/{AuditLogList-COq6WH3T.js → AuditLogList-BWzKxoBK.js} +24 -23
- package/dist/{EmployeeList-CtosIPFL.js → EmployeeList-CPvHmCle.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-B4YdcrGe.js → Main-BEj_iUkZ.js} +8 -7
- package/dist/{Main-CdsqeB2G.js → Main-BNywXKr0.js} +11 -10
- package/dist/Main-BkIzKoHQ.js +560 -0
- package/dist/PermissionSetList-B8jSoL19.js +338 -0
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ddnj8eg_.js +3356 -0
- package/dist/{RoleList-D1NGE2IC.js → RoleList-BEx1B8PE.js} +26 -24
- package/dist/TeamMemberList-BEDwcjeT.js +989 -0
- package/dist/{TimesheetList-B8yCkaxb.js → TimesheetList-CqZG4xmE.js} +11 -10
- package/dist/{app-CB3ye-CT.js → app-DHtKeCwy.js} +1333 -1060
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-DOxEzdpe.js → dayjs.min-BWWy9u8p.js} +1 -1
- package/dist/{employee-G0pQg8_6.js → employee-C2ys9jf0.js} +21 -20
- package/dist/index-BwYlZrxP.js +968 -0
- package/dist/{index-DQArLkVB.js → index-O9ipnK-U.js} +1 -1
- package/dist/{index-Beu6IuhT.js → iteration-BdhU8jGb.js} +3444 -4352
- package/dist/{lodash-COjtwv4w.js → lodash-CDSEYvRz.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/api/permission-assignment/index.d.ts +1 -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/{team-CEtKQK6n.js → team-9CwJsJGX.js} +1 -1
- package/dist/{timesheet-DZF9D3QQ.js → timesheet-ChKYJtjK.js} +10 -9
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-9lbKMy_9.js → useAppStore-DGzBzMIR.js} +1 -1
- package/dist/{useLoading-BIIvuJcM.js → useLoading-CzteZR_c.js} +1 -1
- package/dist/{useReportPermissions-BXQ0-WwK.js → useReportPermissions-CaY_wr2l.js} +12 -11
- package/dist/useRestaurantMap-e9fQJiLC.js +39 -0
- package/package.json +2 -2
- package/dist/PermissionSetList-BUORArci.js +0 -327
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ChqCTn1L.js +0 -3333
- package/dist/TeamMemberList-auSjZRNz.js +0 -979
- 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
|
+
};
|
|
@@ -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-
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
7
|
+
import "./index-BwYlZrxP.js";
|
|
8
|
+
import "./iteration-BdhU8jGb.js";
|
|
9
|
+
import { R as v } from "./app-DHtKeCwy.js";
|
|
10
|
+
import "./useAppStore-DGzBzMIR.js";
|
|
11
|
+
import "./index-O9ipnK-U.js";
|
|
11
12
|
/* empty css */
|
|
12
13
|
/* empty css */
|
|
13
|
-
import "./team-
|
|
14
|
-
const w = { class: "space-y-24" },
|
|
14
|
+
import "./team-9CwJsJGX.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
|
-
|
|
86
|
+
Q as default
|
|
86
87
|
};
|
|
@@ -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-
|
|
6
|
+
import { u as df } from "./useAppStore-DGzBzMIR.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { u as mf } from "./employee-
|
|
10
|
-
import "./lodash-
|
|
11
|
-
import "./
|
|
12
|
-
import { R as vt } from "./app-
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
9
|
+
import { u as mf } from "./employee-C2ys9jf0.js";
|
|
10
|
+
import "./lodash-CDSEYvRz.js";
|
|
11
|
+
import "./iteration-BdhU8jGb.js";
|
|
12
|
+
import { R as vt } from "./app-DHtKeCwy.js";
|
|
13
|
+
import "./index-BwYlZrxP.js";
|
|
14
|
+
import "./useReportPermissions-CaY_wr2l.js";
|
|
15
|
+
import "./dayjs.min-BWWy9u8p.js";
|
|
16
|
+
import "./timesheet-ChKYJtjK.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" },
|
|
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
|
-
|
|
15607
|
+
O2 as default
|
|
15607
15608
|
};
|