@feedmepos/mf-hrm-portal 1.1.3-dev.1 → 1.1.3-dev.2
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-kZBi77lv.js +435 -0
- package/dist/{EmployeeList-BWDsSFoY.js → EmployeeList-Cg-mhdLv.js} +5 -5
- package/dist/{Main-VjhiuuHr.js → Main-BHF7vXlD.js} +28 -27
- package/dist/{Main-D5YEKOpl.js → Main-CC9_bKTG.js} +7 -7
- package/dist/PermissionSetList-C0FOYrQ6.js +283 -0
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CS4B-7AU.js +3084 -0
- package/dist/{RoleList-CfPD_Gk_.js → RoleList-D2NTVZa_.js} +5 -5
- package/dist/{TeamMemberList-DEYo6_pS.js → TeamMemberList-DC0Gxjin.js} +325 -322
- package/dist/{TimesheetList-BTTBjTrO.js → TimesheetList-CksRCsTc.js} +6 -6
- package/dist/api/index.d.ts +4 -0
- package/dist/api/team/index.d.ts +2 -2
- package/dist/{app-CfIHEA52.js → app-kKq54h9D.js} +606 -504
- package/dist/app.js +3 -3
- package/dist/{dayjs.min-C8cBXLt-.js → dayjs.min-CGTR0SS0.js} +1 -1
- package/dist/{employee-ChJpkvUF.js → employee-CRKx3zN0.js} +3 -3
- package/dist/helpers/permission-set.d.ts +15 -0
- package/dist/{index-CgbDOn3W.js → index-DRoNwfyW.js} +2153 -2053
- package/dist/index-TP4vQCyq.js +827 -0
- package/dist/{lodash-0EOIqOEG.js → lodash-CeWi5dyp.js} +1 -1
- package/dist/stores/team.d.ts +4 -1
- package/dist/team-CuLNHjGN.js +29 -0
- package/dist/{timesheet-DTI6G4DD.js → timesheet-V636ISlI.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DCpMNDxE.js → useAppStore-DoX0IUFz.js} +1 -1
- package/dist/{useLoading-ChLCiMQj.js → useLoading-1yy1KHsE.js} +1 -1
- package/dist/views/audit-log/locales/index.d.ts +40 -8
- package/dist/views/team/locales/index.d.ts +12 -8
- package/package.json +3 -2
- package/dist/AuditLogList-qGKeg-cd.js +0 -384
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yghfcQRF.js +0 -3050
- package/dist/RolePermissionList-Cu1KTuuI.js +0 -285
- package/dist/team-C2muObo8.js +0 -26
- package/dist/types/permission.d.ts +0 -1
- /package/dist/views/team/{role/RolePermissionForm.vue.d.ts → permission-set/PermissionSetForm.vue.d.ts} +0 -0
- /package/dist/views/team/{role/RolePermissionList.vue.d.ts → permission-set/PermissionSetList.vue.d.ts} +0 -0
package/dist/stores/team.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
93
93
|
}[]>;
|
|
94
94
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
95
95
|
userIdToName: import("vue").ComputedRef<Record<string, string>>;
|
|
96
|
+
userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
|
|
96
97
|
readTeamMembers: () => Promise<void>;
|
|
97
98
|
}, "isLoading" | "members">, Pick<{
|
|
98
99
|
members: import("vue").Ref<{
|
|
@@ -188,8 +189,9 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
188
189
|
}[]>;
|
|
189
190
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
190
191
|
userIdToName: import("vue").ComputedRef<Record<string, string>>;
|
|
192
|
+
userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
|
|
191
193
|
readTeamMembers: () => Promise<void>;
|
|
192
|
-
}, "userIdToName">, Pick<{
|
|
194
|
+
}, "userIdToName" | "userIdToEmail">, Pick<{
|
|
193
195
|
members: import("vue").Ref<{
|
|
194
196
|
id: string;
|
|
195
197
|
name: string;
|
|
@@ -283,6 +285,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
283
285
|
}[]>;
|
|
284
286
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
285
287
|
userIdToName: import("vue").ComputedRef<Record<string, string>>;
|
|
288
|
+
userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
|
|
286
289
|
readTeamMembers: () => Promise<void>;
|
|
287
290
|
}, "readTeamMembers">>;
|
|
288
291
|
export { useTeamStore };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineStore as u } from "pinia";
|
|
2
|
+
import { ref as t, computed as m } from "vue";
|
|
3
|
+
import { t as l } from "./index-DRoNwfyW.js";
|
|
4
|
+
const b = u("team", () => {
|
|
5
|
+
const r = t([]), a = t(!1), s = m(
|
|
6
|
+
() => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
|
|
7
|
+
), n = m(
|
|
8
|
+
() => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.email]))
|
|
9
|
+
);
|
|
10
|
+
async function c() {
|
|
11
|
+
try {
|
|
12
|
+
a.value = !0;
|
|
13
|
+
const e = await l.readTeamMembers();
|
|
14
|
+
r.value = e.sort((o, i) => o.doc.isOwner ? -1 : o.name.localeCompare(i.name));
|
|
15
|
+
} finally {
|
|
16
|
+
a.value = !1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
members: r,
|
|
21
|
+
isLoading: a,
|
|
22
|
+
userIdToName: s,
|
|
23
|
+
userIdToEmail: n,
|
|
24
|
+
readTeamMembers: c
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
b as u
|
|
29
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-CGTR0SS0.js";
|
|
2
2
|
import { defineStore as p, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as l } from "vue";
|
|
4
|
-
import { b as c, g as y, k as u, j as S, s as g } from "./index-
|
|
4
|
+
import { b as c, g as y, k as u, j as S, s as g } from "./index-DRoNwfyW.js";
|
|
5
5
|
const f = {
|
|
6
6
|
async readTimesheets(t, e) {
|
|
7
7
|
return y(await c().get(`timesheet?start=${t}&end=${e}`));
|