@feedmepos/mf-hrm-portal 1.1.3-dev → 1.1.3-dev.10

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.
Files changed (49) hide show
  1. package/dist/AuditLogList-BghaBoJj.js +436 -0
  2. package/dist/EmployeeList-C4knb1ZM.js +626 -0
  3. package/dist/{Main-DGymQNz9.js → Main-BGcdVWrj.js} +10 -9
  4. package/dist/{Main-BqhrqOzx.js → Main-DYuuBLTj.js} +28 -27
  5. package/dist/PermissionSetList-DPKmbnO4.js +323 -0
  6. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-nbk54pp5.js +3092 -0
  7. package/dist/RoleList-CWUkSfcS.js +494 -0
  8. package/dist/TeamMemberList-BDB9zWwa.js +965 -0
  9. package/dist/{TimesheetList-hgT9DrHd.js → TimesheetList-CqVVoydR.js} +25 -24
  10. package/dist/api/index.d.ts +5 -0
  11. package/dist/api/report-query/index.d.ts +5 -0
  12. package/dist/api/team/index.d.ts +2 -5
  13. package/dist/{app-CcbYGJ22.js → app-C04LPGZa.js} +1606 -918
  14. package/dist/app.js +4 -4
  15. package/dist/composables/useReportPermissions.d.ts +14 -0
  16. package/dist/{dayjs.min-CgN1oBQf.js → dayjs.min-CKv07Hiu.js} +1 -1
  17. package/dist/employee-DyW4lRCb.js +144 -0
  18. package/dist/helpers/permission-set.d.ts +37 -0
  19. package/dist/helpers/rule.d.ts +1 -1
  20. package/dist/index-CIz_Nsy5.js +10340 -0
  21. package/dist/index-DGq_eY85.js +827 -0
  22. package/dist/{lodash-7Am6_Zd3.js → lodash-r0Tf8VGX.js} +1 -1
  23. package/dist/stores/permission-set.d.ts +15 -0
  24. package/dist/stores/team.d.ts +4 -1
  25. package/dist/style.css +1 -1
  26. package/dist/team-CSB4_BXX.js +29 -0
  27. package/dist/{timesheet-DKhEeLe7.js → timesheet-CTS0MzUs.js} +2 -2
  28. package/dist/tsconfig.app.tsbuildinfo +1 -1
  29. package/dist/types/audit-log.d.ts +1 -19
  30. package/dist/types/permission-set.d.ts +4 -0
  31. package/dist/types/report-query.d.ts +6 -0
  32. package/dist/{useAppStore-DOSLuH24.js → useAppStore-CWtHdJdl.js} +34 -46
  33. package/dist/{useLoading-BA-GSZ3R.js → useLoading-gYEFsA3E.js} +1 -1
  34. package/dist/useReportPermissions--n283f22.js +65 -0
  35. package/dist/views/audit-log/locales/index.d.ts +84 -0
  36. package/dist/views/team/locales/index.d.ts +32 -8
  37. package/package.json +4 -2
  38. package/dist/AuditLogList-DNQh1rE9.js +0 -316
  39. package/dist/EmployeeList-zU7fmC4c.js +0 -607
  40. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BvjXcknf.js +0 -3050
  41. package/dist/RoleList-jbZqer7A.js +0 -496
  42. package/dist/RolePermissionList-Dd8ks5i7.js +0 -285
  43. package/dist/TeamMemberList-uamoOFIV.js +0 -949
  44. package/dist/employee-khk560IC.js +0 -172
  45. package/dist/index-D5sdamN5.js +0 -8411
  46. package/dist/team-CFyc6tnm.js +0 -26
  47. package/dist/types/permission.d.ts +0 -1
  48. /package/dist/views/team/{role/RolePermissionForm.vue.d.ts → permission-set/PermissionSetForm.vue.d.ts} +0 -0
  49. /package/dist/views/team/{role/RolePermissionList.vue.d.ts → permission-set/PermissionSetList.vue.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-CcbYGJ22.js";
1
+ import { c as jt } from "./app-C04LPGZa.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -11,6 +11,7 @@ export declare const usePermissionSetStore: () => {
11
11
  subject: string;
12
12
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
13
13
  }[];
14
+ permissionSetIds: string[];
14
15
  businessId: string;
15
16
  name: string;
16
17
  }[], IFdtoPermissionSet[] | {
@@ -24,6 +25,7 @@ export declare const usePermissionSetStore: () => {
24
25
  subject: string;
25
26
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
26
27
  }[];
28
+ permissionSetIds: string[];
27
29
  businessId: string;
28
30
  name: string;
29
31
  }[]>;
@@ -39,6 +41,7 @@ export declare const usePermissionSetStore: () => {
39
41
  subject: string;
40
42
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
41
43
  }[];
44
+ permissionSetIds: string[];
42
45
  businessId: string;
43
46
  name: string;
44
47
  }[];
@@ -54,6 +57,7 @@ export declare const usePermissionSetStore: () => {
54
57
  subject: string;
55
58
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
56
59
  }[];
60
+ permissionSetIds: string[];
57
61
  businessId: string;
58
62
  name: string;
59
63
  }[], IFdtoPermissionSet[] | {
@@ -67,6 +71,7 @@ export declare const usePermissionSetStore: () => {
67
71
  subject: string;
68
72
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
69
73
  }[];
74
+ permissionSetIds: string[];
70
75
  businessId: string;
71
76
  name: string;
72
77
  }[]>;
@@ -87,6 +92,7 @@ export declare const usePermissionSetStore: () => {
87
92
  subject: string;
88
93
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
89
94
  }[];
95
+ permissionSetIds: string[];
90
96
  businessId: string;
91
97
  name: string;
92
98
  }[];
@@ -103,6 +109,7 @@ export declare const usePermissionSetStore: () => {
103
109
  subject: string;
104
110
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
105
111
  }[];
112
+ permissionSetIds: string[];
106
113
  businessId: string;
107
114
  name: string;
108
115
  }[];
@@ -120,6 +127,7 @@ export declare const usePermissionSetStore: () => {
120
127
  subject: string;
121
128
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
122
129
  }[];
130
+ permissionSetIds: string[];
123
131
  businessId: string;
124
132
  name: string;
125
133
  }[], IFdtoPermissionSet[] | {
@@ -133,6 +141,7 @@ export declare const usePermissionSetStore: () => {
133
141
  subject: string;
134
142
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
135
143
  }[];
144
+ permissionSetIds: string[];
136
145
  businessId: string;
137
146
  name: string;
138
147
  }[]>;
@@ -155,6 +164,7 @@ export declare const usePermissionSetStore: () => {
155
164
  subject: string;
156
165
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
157
166
  }[];
167
+ permissionSetIds: string[];
158
168
  businessId: string;
159
169
  name: string;
160
170
  }[], IFdtoPermissionSet[] | {
@@ -168,6 +178,7 @@ export declare const usePermissionSetStore: () => {
168
178
  subject: string;
169
179
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
170
180
  }[];
181
+ permissionSetIds: string[];
171
182
  businessId: string;
172
183
  name: string;
173
184
  }[]>;
@@ -187,6 +198,7 @@ export declare const usePermissionSetStore: () => {
187
198
  subject: string;
188
199
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
189
200
  }[];
201
+ permissionSetIds: string[];
190
202
  businessId: string;
191
203
  name: string;
192
204
  }[], IFdtoPermissionSet[] | {
@@ -200,6 +212,7 @@ export declare const usePermissionSetStore: () => {
200
212
  subject: string;
201
213
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
202
214
  }[];
215
+ permissionSetIds: string[];
203
216
  businessId: string;
204
217
  name: string;
205
218
  }[]>;
@@ -219,6 +232,7 @@ export declare const usePermissionSetStore: () => {
219
232
  subject: string;
220
233
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
221
234
  }[];
235
+ permissionSetIds: string[];
222
236
  businessId: string;
223
237
  name: string;
224
238
  }[], IFdtoPermissionSet[] | {
@@ -232,6 +246,7 @@ export declare const usePermissionSetStore: () => {
232
246
  subject: string;
233
247
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
234
248
  }[];
249
+ permissionSetIds: string[];
235
250
  businessId: string;
236
251
  name: string;
237
252
  }[]>;
@@ -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 };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
1
+ .user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-operation-label-table{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-table::-webkit-scrollbar{display:none}.audit-log-operation-label-detail{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail::-webkit-scrollbar{display:none}
@@ -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-CIz_Nsy5.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-CgN1oBQf.js";
1
+ import { d as i } from "./dayjs.min-CKv07Hiu.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-D5sdamN5.js";
4
+ import { b as c, g as y, k as u, j as S, s as g } from "./index-CIz_Nsy5.js";
5
5
  const f = {
6
6
  async readTimesheets(t, e) {
7
7
  return y(await c().get(`timesheet?start=${t}&end=${e}`));