@feedmepos/mf-hrm-portal 2.0.13 → 2.0.15-dev
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-BRLWRnMw.js → AuditLogList-DBIsI4YF.js} +4 -4
- package/dist/EmployeeList-BOSxLZbY.js +702 -0
- package/dist/{Main-CFRwFhOp.js → Main-B3YiMuFq.js} +9 -9
- package/dist/{Main-DDJqYruE.js → Main-BAZAQTWi.js} +4 -4
- package/dist/{Main-DX6DtLSq.js → Main-D7yzD5SW.js} +5 -5
- package/dist/{PermissionSetList-CfKgOGUa.js → PermissionSetList-DBT9LtfT.js} +15 -15
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CANjzJpE.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BfqnjeTK.js} +921 -921
- package/dist/{RoleList-DVW9rJKE.js → RoleList-DeE5tN-5.js} +7 -7
- package/dist/TeamMemberList-BCv5Vixx.js +1104 -0
- package/dist/{TimesheetList-DMuID6CQ.js → TimesheetList-DpMBgVtY.js} +7 -7
- package/dist/{app-jGOQVOD0.js → app-pvHHFjbx.js} +284 -242
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-D2KkLYBN.js → dayjs.min-BK_bM9xY.js} +1 -1
- package/dist/{employee-Bh77woAn.js → employee-DhkixwiI.js} +4 -4
- package/dist/{index-BpdsYZQZ.js → index-Bckj5jnu.js} +17 -17
- package/dist/{index-DNRSCsVp.js → index-DK4fVbTF.js} +1 -1
- package/dist/{iteration-iewRosUH.js → iteration-Bk3cnP07.js} +2 -2
- package/dist/{lodash-BuzCumRN.js → lodash-TrOlqj07.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{timesheet-D-fS5DjW.js → timesheet-DSQeCVfL.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-RlI38pvN.js → useAppStore-DwfwjZpc.js} +1 -1
- package/dist/{useLoading-CJnGoe22.js → useLoading-fEAOlgoV.js} +1 -1
- package/dist/{useReportPermissions-CwzEzTF1.js → useReportPermissions-CkOk_2tl.js} +3 -3
- package/package.json +1 -1
- package/dist/EmployeeList-CaZN66DH.js +0 -700
- package/dist/TeamMemberList-CZDwbZVL.js +0 -1102
|
@@ -3,18 +3,18 @@ import { useRouter as lf, useRoute as of } from "vue-router";
|
|
|
3
3
|
import { useCoreStore as cf, useI18n as hf } from "@feedmepos/mf-common";
|
|
4
4
|
import { _ as uf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
5
|
import { _ as vf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
6
|
-
import { u as pf } from "./useAppStore-
|
|
6
|
+
import { u as pf } from "./useAppStore-DwfwjZpc.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { u as df } from "./employee-
|
|
10
|
-
import "./lodash-
|
|
11
|
-
import "./iteration-
|
|
9
|
+
import { u as df } from "./employee-DhkixwiI.js";
|
|
10
|
+
import "./lodash-TrOlqj07.js";
|
|
11
|
+
import "./iteration-Bk3cnP07.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { R as vt } from "./app-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./useReportPermissions-
|
|
16
|
-
import "./dayjs.min-
|
|
17
|
-
import "./timesheet-
|
|
13
|
+
import { R as vt } from "./app-pvHHFjbx.js";
|
|
14
|
+
import "./index-Bckj5jnu.js";
|
|
15
|
+
import "./useReportPermissions-CkOk_2tl.js";
|
|
16
|
+
import "./dayjs.min-BK_bM9xY.js";
|
|
17
|
+
import "./timesheet-DSQeCVfL.js";
|
|
18
18
|
var In = {};
|
|
19
19
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
20
20
|
var Zt = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref as S, defineComponent as J, computed as F, watch as ce, resolveComponent as h, createElementBlock as D, openBlock as I, Fragment as W, renderSlot as ge, createVNode as n, unref as s, withCtx as x, createElementVNode as l, toDisplayString as k, createBlock as K, isRef as ae, renderList as fe, createCommentVNode as ve, withModifiers as se, createTextVNode as re, normalizeClass as _e, h as _ } from "vue";
|
|
2
2
|
import { useCoreStore as Q, useI18n as X, RestaurantSelector as oe } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as ye } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
4
|
-
import { u as Y } from "./useAppStore-
|
|
4
|
+
import { u as Y } from "./useAppStore-DwfwjZpc.js";
|
|
5
5
|
import { defineStore as Ue } from "pinia";
|
|
6
|
-
import { g as z, a as he, b as O } from "./iteration-
|
|
6
|
+
import { g as z, a as he, b as O } from "./iteration-Bk3cnP07.js";
|
|
7
7
|
import { useSnackbar as ie, components as E, useDialog as xe, useBreakpoints as be, FmButtonVariant as q } from "@feedmepos/ui-library";
|
|
8
8
|
import { S as ne } from "./SelectFilter-DUj7GBtT.js";
|
|
9
|
-
import { _ as we } from "./app-
|
|
9
|
+
import { _ as we } from "./app-pvHHFjbx.js";
|
|
10
10
|
import { H as ke } from "./HorizontalSplitter-o860F4xM.js";
|
|
11
11
|
import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
12
12
|
import { u as Fe } from "./useSearch-B6WK1LBB.js";
|
|
13
|
-
import { u as ue } from "./useLoading-
|
|
13
|
+
import { u as ue } from "./useLoading-fEAOlgoV.js";
|
|
14
14
|
import { _ as Ie, a as le } from "./FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js";
|
|
15
15
|
const H = {
|
|
16
16
|
async getGrantUsers() {
|
|
@@ -4,11 +4,11 @@ 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 "./iteration-
|
|
9
|
-
import { R as v } from "./app-
|
|
10
|
-
import "./useAppStore-
|
|
11
|
-
import "./index-
|
|
7
|
+
import "./index-Bckj5jnu.js";
|
|
8
|
+
import "./iteration-Bk3cnP07.js";
|
|
9
|
+
import { R as v } from "./app-pvHHFjbx.js";
|
|
10
|
+
import "./useAppStore-DwfwjZpc.js";
|
|
11
|
+
import "./index-DK4fVbTF.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
const w = { class: "space-y-24" }, P = /* @__PURE__ */ V({
|
|
@@ -2,11 +2,11 @@ import { defineComponent as M, computed as S, resolveComponent as c, createEleme
|
|
|
2
2
|
import { useI18n as K, useCoreStore as ae } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Q, useDialog as re, useBreakpoints as le, components as me, FmButtonColorThemeVariant as ue, FmButtonVariant as ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
5
|
-
import { j as G, w as pe, u as Y, c as Z, p as J, k as fe, d as ve, m as A, n as Se, o as be, s as _e, q as Pe } from "./index-
|
|
6
|
-
import { A as ge } from "./iteration-
|
|
7
|
-
import { u as he } from "./useLoading-
|
|
8
|
-
import {
|
|
9
|
-
import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { j as G, w as pe, u as Y, c as Z, p as J, k as fe, d as ve, m as A, n as Se, o as be, s as _e, q as Pe } from "./index-Bckj5jnu.js";
|
|
6
|
+
import { A as ge } from "./iteration-Bk3cnP07.js";
|
|
7
|
+
import { u as he } from "./useLoading-fEAOlgoV.js";
|
|
8
|
+
import { d as X } from "./app-pvHHFjbx.js";
|
|
9
|
+
import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BfqnjeTK.js";
|
|
10
10
|
const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M({
|
|
11
11
|
__name: "PermissionWithTooltip",
|
|
12
12
|
props: {
|
|
@@ -15,8 +15,8 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M
|
|
|
15
15
|
required: !0
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const { customReportPermissions: k } = G(), t =
|
|
18
|
+
setup(E) {
|
|
19
|
+
const { customReportPermissions: k } = G(), t = E, i = S(() => pe(t.modelValue, k.value)), { t: r } = K();
|
|
20
20
|
return (R, C) => {
|
|
21
21
|
const P = c("FmIcon"), y = c("FmTooltip");
|
|
22
22
|
return h(), L("div", Fe, [
|
|
@@ -52,8 +52,8 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M
|
|
|
52
52
|
default: () => ({})
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
setup(
|
|
56
|
-
const t =
|
|
55
|
+
setup(E, { expose: k }) {
|
|
56
|
+
const t = E, { t: i } = K(), r = _(!1), R = S(() => {
|
|
57
57
|
var e;
|
|
58
58
|
return (e = t.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
|
|
59
59
|
}), C = _(), P = Q(), y = he(P), l = Y(), a = _({ ...t.modelValue }), d = _([]), p = _([]), D = [(e) => !!e || "Permission set name is required"], U = S(() => {
|
|
@@ -66,17 +66,17 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M
|
|
|
66
66
|
}).map((e) => ({ label: e.name, value: e.id }))
|
|
67
67
|
), F = S(
|
|
68
68
|
() => Z(d.value, l.permissionSets.value)
|
|
69
|
-
), { customReportPermissions:
|
|
69
|
+
), { customReportPermissions: $, isLoaded: n } = G(), o = new Set(
|
|
70
70
|
J.filter((e) => e.subject.startsWith(fe)).map((e) => e.subject)
|
|
71
71
|
), f = S(() => {
|
|
72
72
|
const e = new Set(o);
|
|
73
|
-
for (const s of
|
|
73
|
+
for (const s of $.value) e.add(s.subject);
|
|
74
74
|
return e;
|
|
75
75
|
}), j = S(() => {
|
|
76
76
|
const e = /* @__PURE__ */ new Set();
|
|
77
77
|
for (const s of J)
|
|
78
78
|
s.category === X.reports && e.add(s.subject);
|
|
79
|
-
for (const s of
|
|
79
|
+
for (const s of $.value)
|
|
80
80
|
s.category === X.reports && e.add(s.subject);
|
|
81
81
|
return e;
|
|
82
82
|
});
|
|
@@ -195,7 +195,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M
|
|
|
195
195
|
}
|
|
196
196
|
}), Re = { class: "space-y-8" }, Ce = { class: "flex justify-end xs:px-16" }, De = /* @__PURE__ */ M({
|
|
197
197
|
__name: "PermissionSetList",
|
|
198
|
-
setup(
|
|
198
|
+
setup(E, { expose: k }) {
|
|
199
199
|
const { t } = K(), { fetchCustomReportPermissions: i } = G(), r = Q(), R = re(), { breakpoints: C } = le(), P = _(""), y = S(() => {
|
|
200
200
|
var n;
|
|
201
201
|
return (n = d.value) == null ? void 0 : n.filter((o) => {
|
|
@@ -243,7 +243,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M
|
|
|
243
243
|
textColor: ue.NeutralGray400,
|
|
244
244
|
class: "flex flex-end",
|
|
245
245
|
onClick: (o) => {
|
|
246
|
-
o.stopPropagation(),
|
|
246
|
+
o.stopPropagation(), $(n.row.original);
|
|
247
247
|
}
|
|
248
248
|
})
|
|
249
249
|
]);
|
|
@@ -255,7 +255,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ M
|
|
|
255
255
|
var n;
|
|
256
256
|
p.value = void 0, (n = l.value) == null || n.trigger();
|
|
257
257
|
}
|
|
258
|
-
async function
|
|
258
|
+
async function $(n) {
|
|
259
259
|
R.open({
|
|
260
260
|
title: t("permissionSet.form.delete.title"),
|
|
261
261
|
message: t("permissionSet.form.delete.confirmationMessage", { permissionSetName: n.name }),
|