@feedmepos/mf-hrm-portal 2.3.2-dev.13 → 2.3.2-dev.14
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/{ApprovalCodeList-CkEhtUbS.js → ApprovalCodeList-BDMu2nlf.js} +7 -7
- package/dist/{AuditLogList-Bz5zAZyW.js → AuditLogList-BFBj-jk9.js} +5 -5
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-ChuqsZ3x.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-D7UE_NiK.js} +2 -2
- package/dist/{EmployeeList-CynhLV-L.js → EmployeeList-yMAEN8HX.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-CiFif3c3.js → FormSection.vue_vue_type_script_setup_true_lang-BgRk-jRk.js} +1 -1
- package/dist/{GrantUserList-DeWVTGuy.js → GrantUserList-aYzD_hm0.js} +8 -8
- package/dist/{Main-B3Leg_L0.js → Main-0iTpXb98.js} +10 -10
- package/dist/{Main-DnryPI7f.js → Main-BiXZ2uwk.js} +12 -12
- package/dist/{Main-DZGRjkR3.js → Main-C8MhhDdW.js} +5 -5
- package/dist/{MyPosProfile-Dm93oppE.js → MyPosProfile-Calhn0WC.js} +1 -1
- package/dist/{PermissionSetList-ecBXd3ag.js → PermissionSetList-C-O_seZy.js} +17 -17
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BLMb_4xS.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-3FF5AMJb.js} +808 -808
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-2XEgCaw_.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C07A8JOx.js} +29 -29
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-BWwZEK1N.js → RoleForm.vue_vue_type_script_setup_true_lang-DdVuso5Y.js} +31 -31
- package/dist/{RoleList-V02s5IFg.js → RoleList-DExzw7JT.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D4EmiXpK.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-RRpzDisY.js} +1 -1
- package/dist/{ScheduleGeneralPage-B19huvz7.js → ScheduleGeneralPage-DlHMmhGJ.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DpHkFE_N.js → ScheduleModal.vue_vue_type_script_setup_true_lang-Dkkv_UZL.js} +4 -4
- package/dist/{SchedulePage-DatMj0FX.js → SchedulePage-dhZaaOB9.js} +9 -9
- package/dist/{SchedulePositionPage-weHCiVXF.js → SchedulePositionPage-MzZ5rMOP.js} +3 -3
- package/dist/{SelectFilter-VzroQ6nY.js → SelectFilter-D6i7dIWo.js} +1 -1
- package/dist/{TeamMemberList-Ckh78JzV.js → TeamMemberList-DcA_qRCm.js} +87 -87
- package/dist/{TimesheetList-tA58dMKW.js → TimesheetList-DbZ5S4W7.js} +8 -8
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B0kMSBDL.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-5AgJfpEl.js} +3 -3
- package/dist/{app-v2fOFcO4.js → app-DTHCLxcv.js} +1792 -1760
- package/dist/app.js +1 -1
- package/dist/{approval-code-DXtjIgqA.js → approval-code-Bs9_Zvb4.js} +1 -1
- package/dist/{dayjs.min-DxlOWUZ1.js → dayjs.min-B1mxceq0.js} +17 -17
- package/dist/{employee-RT04bxj-.js → employee-7hJffW-T.js} +5 -5
- package/dist/{grant-user-6LflFpNK.js → grant-user-CDuaDJvW.js} +1 -1
- package/dist/{iteration-Ce8Ag6An.js → iteration-Blu9ugj8.js} +1 -1
- package/dist/{lodash-CKvwb5V-.js → lodash-DeuHD52q.js} +1 -1
- package/dist/{member-grant-CmrGFbhy.js → member-grant-DxA40oCw.js} +5 -5
- package/dist/{restaurant-B8fppQ6A.js → restaurant-hEQn38rG.js} +1 -1
- package/dist/{role-BtVKxf2F.js → role-CcTqE2HQ.js} +3 -3
- package/dist/{rule-Cd1olm_T.js → rule-CfTomm23.js} +11 -11
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CgesqYqb.js → useAppStore-D5U6wJfE.js} +1 -1
- package/dist/{useLoading-nOeAHeTr.js → useLoading-Ct27XghS.js} +1 -1
- package/dist/{useReportPermissions-CB_JGPpt.js → useReportPermissions-BD1IvbaS.js} +20 -20
- package/dist/{useSsoProviders-9r2i0iR9.js → useSsoProviders-uz6kcTrk.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as I, isRef as L, watch as M } from "vue";
|
|
2
2
|
import { SnackbarPosition as y } from "@feedmepos/ui-library";
|
|
3
|
-
import { u as w, v } from "./useAppStore-
|
|
3
|
+
import { u as w, v } from "./useAppStore-D5U6wJfE.js";
|
|
4
4
|
const E = (r) => {
|
|
5
5
|
async function d(u, e) {
|
|
6
6
|
var l, a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as a, ref as o } from "vue";
|
|
2
|
-
import { e as d } from "./iteration-
|
|
3
|
-
import { u as K,
|
|
4
|
-
import { i as g } from "./rule-
|
|
2
|
+
import { e as d } from "./iteration-Blu9ugj8.js";
|
|
3
|
+
import { u as K, n as S } from "./app-DTHCLxcv.js";
|
|
4
|
+
import { i as g } from "./rule-CfTomm23.js";
|
|
5
5
|
const i = o([]), r = o(!1), l = o(!1), f = o(null), p = o(null), u = o(!1);
|
|
6
6
|
function J() {
|
|
7
7
|
const v = K();
|
|
@@ -9,8 +9,8 @@ function J() {
|
|
|
9
9
|
const s = v.id.value;
|
|
10
10
|
if (!s) return;
|
|
11
11
|
f.value !== s && (i.value = [], r.value = !1, l.value = !1, f.value = s, u.value = !1);
|
|
12
|
-
const
|
|
13
|
-
if (!(r.value && p.value ===
|
|
12
|
+
const n = localStorage.getItem("locale");
|
|
13
|
+
if (!(r.value && p.value === n)) {
|
|
14
14
|
if (l.value) {
|
|
15
15
|
u.value = !0;
|
|
16
16
|
return;
|
|
@@ -19,8 +19,8 @@ function J() {
|
|
|
19
19
|
try {
|
|
20
20
|
i.value = await g.fetchReportPermissions(
|
|
21
21
|
s,
|
|
22
|
-
|
|
23
|
-
), r.value = !0, p.value =
|
|
22
|
+
n
|
|
23
|
+
), r.value = !0, p.value = n;
|
|
24
24
|
} catch (e) {
|
|
25
25
|
console.warn("Failed to fetch dynamic report permissions, keeping last known list:", e), r.value = !1;
|
|
26
26
|
} finally {
|
|
@@ -33,10 +33,10 @@ function J() {
|
|
|
33
33
|
), y = a(() => {
|
|
34
34
|
const s = new Set(
|
|
35
35
|
c.map((e) => {
|
|
36
|
-
const
|
|
37
|
-
return
|
|
36
|
+
const t = typeof e.conditions == "string" ? JSON.parse(e.conditions) : e.conditions;
|
|
37
|
+
return t == null ? void 0 : t.name;
|
|
38
38
|
})
|
|
39
|
-
),
|
|
39
|
+
), n = i.value.filter((e) => !s.has(e.permissionKey)).map((e) => ({
|
|
40
40
|
label: e.name,
|
|
41
41
|
subject: d.F_RULE_SUBJECT.enum.report,
|
|
42
42
|
actions: ["read"],
|
|
@@ -44,27 +44,27 @@ function J() {
|
|
|
44
44
|
inverted: !1,
|
|
45
45
|
reason: ""
|
|
46
46
|
}));
|
|
47
|
-
return [...c, ...
|
|
47
|
+
return [...c, ...n];
|
|
48
48
|
}), R = a(() => {
|
|
49
49
|
const s = new Set(
|
|
50
|
-
c.map((
|
|
51
|
-
const e = typeof
|
|
50
|
+
c.map((n) => {
|
|
51
|
+
const e = typeof n.conditions == "string" ? JSON.parse(n.conditions) : n.conditions;
|
|
52
52
|
return e == null ? void 0 : e.name;
|
|
53
53
|
})
|
|
54
54
|
);
|
|
55
|
-
for (const
|
|
56
|
-
s.add(
|
|
55
|
+
for (const n of i.value)
|
|
56
|
+
s.add(n.permissionKey);
|
|
57
57
|
return s;
|
|
58
58
|
}), h = a(() => {
|
|
59
59
|
const s = new Set(
|
|
60
60
|
c.map((e) => {
|
|
61
|
-
const
|
|
62
|
-
return
|
|
61
|
+
const t = typeof e.conditions == "string" ? JSON.parse(e.conditions) : e.conditions;
|
|
62
|
+
return t == null ? void 0 : t.name;
|
|
63
63
|
})
|
|
64
|
-
),
|
|
64
|
+
), n = /* @__PURE__ */ new Set();
|
|
65
65
|
for (const e of i.value)
|
|
66
|
-
s.has(e.permissionKey) ||
|
|
67
|
-
return
|
|
66
|
+
s.has(e.permissionKey) || n.add(e.permissionKey);
|
|
67
|
+
return n;
|
|
68
68
|
});
|
|
69
69
|
return {
|
|
70
70
|
fetchReportPermissions: m,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as v, ref as u } from "vue";
|
|
2
2
|
import { useCoreStore as f } from "@feedmepos/mf-common";
|
|
3
|
-
import { g as p, b as m } from "./app-
|
|
3
|
+
import { g as p, b as m } from "./app-DTHCLxcv.js";
|
|
4
4
|
const P = {
|
|
5
5
|
async readProviders() {
|
|
6
6
|
return p(await m("sso-providers").get(""));
|