@feedmepos/mf-hrm-portal 2.0.14 → 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-n6b4-GzJ.js → AuditLogList-DBIsI4YF.js} +4 -4
- package/dist/{EmployeeList-B7cemoN0.js → EmployeeList-BOSxLZbY.js} +5 -5
- package/dist/{Main-Dn71WvVQ.js → Main-B3YiMuFq.js} +9 -9
- package/dist/{Main-79eUPL7p.js → Main-BAZAQTWi.js} +4 -4
- package/dist/{Main-Cw4gYTr3.js → Main-D7yzD5SW.js} +5 -5
- package/dist/{PermissionSetList-BNNwLjXj.js → PermissionSetList-DBT9LtfT.js} +15 -15
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BYyT6oya.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BfqnjeTK.js} +793 -793
- package/dist/{RoleList-DY8Za0dd.js → RoleList-DeE5tN-5.js} +7 -7
- package/dist/{TeamMemberList-DSHrsX5J.js → TeamMemberList-BCv5Vixx.js} +65 -65
- package/dist/{TimesheetList-CXPqOjdC.js → TimesheetList-DpMBgVtY.js} +7 -7
- package/dist/{app-DPZbZJCq.js → app-pvHHFjbx.js} +283 -242
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-DW1WmkoA.js → dayjs.min-BK_bM9xY.js} +1 -1
- package/dist/{employee-Kw8TDet-.js → employee-DhkixwiI.js} +4 -4
- package/dist/{index-nwRgIeL9.js → index-Bckj5jnu.js} +17 -17
- package/dist/{index-CQ9ZArJF.js → index-DK4fVbTF.js} +1 -1
- package/dist/{iteration-BFQu0b3r.js → iteration-Bk3cnP07.js} +2 -2
- package/dist/{lodash-Dsav6UyM.js → lodash-TrOlqj07.js} +1 -1
- package/dist/{timesheet-ZmSkwQIE.js → timesheet-DSQeCVfL.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CKbtSJIP.js → useAppStore-DwfwjZpc.js} +1 -1
- package/dist/{useLoading-C0ICgchk.js → useLoading-fEAOlgoV.js} +1 -1
- package/dist/{useReportPermissions-lRru0ii7.js → useReportPermissions-CkOk_2tl.js} +3 -3
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Ee, ref as v, computed as _, onMounted as dt, onBeforeUnmount as ct, watch as oe, resolveComponent as j, createElementBlock as p, openBlock as m, createBlock as se, createCommentVNode as O, createElementVNode as l, Fragment as ee, renderList as ne, withCtx as z, createVNode as u, toDisplayString as i, unref as n, nextTick as mt } from "vue";
|
|
2
|
-
import { d as g } from "./dayjs.min-
|
|
2
|
+
import { d as g } from "./dayjs.min-BK_bM9xY.js";
|
|
3
3
|
import { useI18n as Ce, useCoreStore as ft } from "@feedmepos/mf-common";
|
|
4
|
-
import { I as De, _ as vt } from "./app-
|
|
4
|
+
import { I as De, _ as vt } from "./app-pvHHFjbx.js";
|
|
5
5
|
import { components as Oe } from "@feedmepos/ui-library";
|
|
6
|
-
import { g as pt, b as bt } from "./iteration-
|
|
6
|
+
import { g as pt, b as bt } from "./iteration-Bk3cnP07.js";
|
|
7
7
|
import { S as ce } from "./SelectFilter-DUj7GBtT.js";
|
|
8
8
|
import { _ as gt } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
9
9
|
import { _ as ht } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
10
|
-
import { t as _t, p as Ve } from "./index-
|
|
10
|
+
import { t as _t, p as Ve } from "./index-Bckj5jnu.js";
|
|
11
11
|
import { defineStore as yt } from "pinia";
|
|
12
12
|
const ge = [
|
|
13
13
|
{ key: "all", label: "All", subjectPrefixes: [] },
|
|
@@ -2,17 +2,17 @@ import { toRaw as Oe, defineComponent as ke, ref as m, computed as h, watch as h
|
|
|
2
2
|
import { useCoreStore as Ie, useI18n as Ce, RestaurantSelector as be } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Me, components as Re, useDialog as Ke, useBreakpoints as Ge, FmButtonVariant as je } from "@feedmepos/ui-library";
|
|
4
4
|
import { S as Ve, _ as qe } from "./SelectFilter-DUj7GBtT.js";
|
|
5
|
-
import { _ as He, a as Je } from "./app-
|
|
5
|
+
import { _ as He, a as Je } from "./app-pvHHFjbx.js";
|
|
6
6
|
import { H as We } from "./HorizontalSplitter-o860F4xM.js";
|
|
7
7
|
import { _ as Qe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
8
8
|
import { u as Le } from "./useSearch-B6WK1LBB.js";
|
|
9
9
|
import { u as Ye } from "./useDebounce-B8ZPVS5C.js";
|
|
10
|
-
import { u as Pe, E as Ze } from "./employee-
|
|
11
|
-
import { l as Xe } from "./lodash-
|
|
10
|
+
import { u as Pe, E as Ze } from "./employee-DhkixwiI.js";
|
|
11
|
+
import { l as Xe } from "./lodash-TrOlqj07.js";
|
|
12
12
|
import { _ as Fe, a as we } from "./FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js";
|
|
13
13
|
import { u as el, a as ll } from "./useRestaurantMap-e9fQJiLC.js";
|
|
14
|
-
import { u as $e } from "./useLoading-
|
|
15
|
-
import { u as De } from "./useAppStore-
|
|
14
|
+
import { u as $e } from "./useLoading-fEAOlgoV.js";
|
|
15
|
+
import { u as De } from "./useAppStore-DwfwjZpc.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
function xe(P) {
|
|
18
18
|
return JSON.parse(JSON.stringify(P));
|
|
@@ -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 }),
|