@feedmepos/mf-hrm-portal 2.0.17-dev.4 → 2.0.17-dev.5

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 (54) hide show
  1. package/dist/AuditLogList-Dl3Nmf00.js +1011 -0
  2. package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +58 -0
  3. package/dist/EmployeeList-DBd_rVW2.js +831 -0
  4. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CoorkndT.js +34 -0
  5. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
  6. package/dist/{Main-BAx-c_oZ.js → Main-CQ3KwxDY.js} +1368 -1371
  7. package/dist/{Main-CyReTP3K.js → Main-pTgqNncY.js} +128 -128
  8. package/dist/{Main-CfAQYaaW.js → Main-w0XUUaBp.js} +16 -14
  9. package/dist/PermissionSetList-B8qNOWH6.js +347 -0
  10. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9VUjAu_.js +3443 -0
  11. package/dist/RoleList-DMFJsUZv.js +545 -0
  12. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-B4PxNMwq.js +16 -0
  13. package/dist/TeamMemberList-BLRTfKLz.js +1031 -0
  14. package/dist/{TimesheetList-NRUfSiYL.js → TimesheetList-Bwp9_xHe.js} +6 -6
  15. package/dist/{app-B0bANDrM.js → app-COJbSNM4.js} +759 -711
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-DdUO0d-2.js → dayjs.min-CcBi6N-K.js} +1 -1
  18. package/dist/{employee-DJDUT0Wj.js → employee-xiV0LfnL.js} +3 -3
  19. package/dist/{iteration-DqYIXL4P.js → iteration-JOKbtlLf.js} +1 -1
  20. package/dist/{lodash-BBQT31li.js → lodash-D5xlVzib.js} +1 -1
  21. package/dist/{rule-T7VKkRdN.js → rule-3sXHiW0y.js} +179 -181
  22. package/dist/src/api/audit-log/index.d.ts +9 -0
  23. package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
  24. package/dist/src/components/CollapsibleWrapper.vue.d.ts +2 -0
  25. package/dist/src/components/Skeleton.vue.d.ts +7 -0
  26. package/dist/src/composables/useBasePermission.d.ts +1 -0
  27. package/dist/src/stores/team.d.ts +6 -6
  28. package/dist/src/types/team.d.ts +1 -1
  29. package/dist/src/views/hr/locales/index.d.ts +16 -0
  30. package/dist/src/views/team/components/BasePermission.vue.d.ts +3 -7
  31. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
  32. package/dist/src/views/team/locales/index.d.ts +32 -0
  33. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +5 -3
  34. package/dist/style.css +1 -1
  35. package/dist/team-CyNektSD.js +33 -0
  36. package/dist/{timesheet-DjtuB4we.js → timesheet-DkD3AysG.js} +2 -2
  37. package/dist/tsconfig.app.tsbuildinfo +1 -1
  38. package/dist/{useAppStore-CBb-dugK.js → useAppStore-CvmsaYSG.js} +1 -1
  39. package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
  40. package/dist/{useLoading-BCOj8y-t.js → useLoading-4TNmhm5N.js} +1 -1
  41. package/dist/{useReportPermissions-DyzhBpi8.js → useReportPermissions-CWMFFb8E.js} +3 -3
  42. package/dist/useSearch-BAPEUu1R.js +15 -0
  43. package/package.json +1 -1
  44. package/dist/AuditLogList-CV82_8fj.js +0 -980
  45. package/dist/EmployeeList-dE0So94R.js +0 -736
  46. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
  47. package/dist/HorizontalSplitter-o860F4xM.js +0 -12
  48. package/dist/PermissionSetList-DmsJnW2i.js +0 -341
  49. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BbcY9q1x.js +0 -3480
  50. package/dist/RoleList-CKB8L-BW.js +0 -530
  51. package/dist/TeamMemberList-CszlbmAX.js +0 -1108
  52. package/dist/useDebounce-B8ZPVS5C.js +0 -15
  53. package/dist/useDiscardConfirm-BHni0LNu.js +0 -28
  54. package/dist/useSearch-B6WK1LBB.js +0 -15
@@ -1,5 +1,14 @@
1
1
  import type { AuditLogEntry } from '@/types/audit-log';
2
2
  declare const AuditLogAPI: {
3
+ count(params?: {
4
+ from?: string;
5
+ to?: string;
6
+ userIds?: string[];
7
+ subjects?: string[];
8
+ subjectPrefixes?: string[];
9
+ actions?: string[];
10
+ outcomes?: string[];
11
+ }): Promise<number>;
3
12
  read(params?: {
4
13
  limit?: number;
5
14
  offset?: number;
@@ -143,9 +143,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
143
143
  }>, {
144
144
  max: number;
145
145
  min: number;
146
+ disable: boolean;
146
147
  showAllToggle: string | boolean;
147
148
  includeDisabledOptionsWhenSelectAll: boolean;
148
- disable: boolean;
149
149
  showIntermediate: boolean;
150
150
  gutter: number;
151
151
  falsyShowSlot: boolean;
@@ -1,5 +1,6 @@
1
1
  interface Props {
2
2
  title?: string;
3
+ subtitle?: string;
3
4
  initiallyCollapsed?: boolean;
4
5
  }
5
6
  declare var __VLS_1: {}, __VLS_7: {};
@@ -10,6 +11,7 @@ type __VLS_Slots = {} & {
10
11
  };
11
12
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
12
13
  title: string;
14
+ subtitle: string;
13
15
  initiallyCollapsed: boolean;
14
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ width?: string;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ width: string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -21,6 +21,7 @@ export declare function useBasePermission(modelValue: Readonly<Ref<FdoPermission
21
21
  categoryGroups: ComputedRef<CategoryGroup[]>;
22
22
  toggleCategory: (category: string, subjects: unknown[]) => void;
23
23
  isAllManageChecked: (group: CategoryGroup) => boolean;
24
+ isAllManageIndeterminate: (group: CategoryGroup) => boolean;
24
25
  toggleAllManage: (group: CategoryGroup) => void;
25
26
  isManageChecked: (group: CategoryGroup, subject: string) => boolean;
26
27
  isManageIndeterminate: (group: CategoryGroup, subject: string) => boolean;
@@ -6,7 +6,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
6
6
  phoneNumber: string;
7
7
  email: string;
8
8
  restaurants: string[];
9
- managableRestaurantIds: string[];
9
+ managableRestaurantIds: string[] | null;
10
10
  permissions: {
11
11
  reason?: string | null | undefined | undefined;
12
12
  conditions?: any;
@@ -52,7 +52,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
52
52
  phoneNumber: string;
53
53
  email: string;
54
54
  restaurants: string[];
55
- managableRestaurantIds: string[];
55
+ managableRestaurantIds: string[] | null;
56
56
  permissions: {
57
57
  reason?: string | null | undefined | undefined;
58
58
  conditions?: any;
@@ -107,7 +107,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
107
107
  phoneNumber: string;
108
108
  email: string;
109
109
  restaurants: string[];
110
- managableRestaurantIds: string[];
110
+ managableRestaurantIds: string[] | null;
111
111
  permissions: {
112
112
  reason?: string | null | undefined | undefined;
113
113
  conditions?: any;
@@ -153,7 +153,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
153
153
  phoneNumber: string;
154
154
  email: string;
155
155
  restaurants: string[];
156
- managableRestaurantIds: string[];
156
+ managableRestaurantIds: string[] | null;
157
157
  permissions: {
158
158
  reason?: string | null | undefined | undefined;
159
159
  conditions?: any;
@@ -208,7 +208,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
208
208
  phoneNumber: string;
209
209
  email: string;
210
210
  restaurants: string[];
211
- managableRestaurantIds: string[];
211
+ managableRestaurantIds: string[] | null;
212
212
  permissions: {
213
213
  reason?: string | null | undefined | undefined;
214
214
  conditions?: any;
@@ -254,7 +254,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
254
254
  phoneNumber: string;
255
255
  email: string;
256
256
  restaurants: string[];
257
- managableRestaurantIds: string[];
257
+ managableRestaurantIds: string[] | null;
258
258
  permissions: {
259
259
  reason?: string | null | undefined | undefined;
260
260
  conditions?: any;
@@ -57,7 +57,7 @@ export interface FTeamMember {
57
57
  phoneNumber: string;
58
58
  email: string;
59
59
  restaurants: string[];
60
- managableRestaurantIds: string[];
60
+ managableRestaurantIds: string[] | null;
61
61
  permissions: FdoPermissionRule[];
62
62
  permissionLabels: string[];
63
63
  doc: IFdtoPortalUser;
@@ -11,12 +11,15 @@ export declare const i18nMessages: {
11
11
  code: string;
12
12
  name: string;
13
13
  restaurants: string;
14
+ assignedRole: string;
14
15
  since: string;
15
16
  };
16
17
  form: {
17
18
  add: string;
18
19
  update: string;
19
20
  employeeSetting: string;
21
+ assignmentSection: string;
22
+ addAnother: string;
20
23
  masterUserConfig: string;
21
24
  code: string;
22
25
  masterUser: string;
@@ -26,6 +29,7 @@ export declare const i18nMessages: {
26
29
  passcodeRequired: string;
27
30
  passcodeGenerate: string;
28
31
  atLeastOneRestaurant: string;
32
+ roleRequired: string;
29
33
  all: string;
30
34
  role: string;
31
35
  name: string;
@@ -210,12 +214,15 @@ export declare const i18nMessages: {
210
214
  code: string;
211
215
  name: string;
212
216
  restaurants: string;
217
+ assignedRole: string;
213
218
  since: string;
214
219
  };
215
220
  form: {
216
221
  add: string;
217
222
  update: string;
218
223
  employeeSetting: string;
224
+ assignmentSection: string;
225
+ addAnother: string;
219
226
  masterUserConfig: string;
220
227
  code: string;
221
228
  masterUser: string;
@@ -225,6 +232,7 @@ export declare const i18nMessages: {
225
232
  passcodeRequired: string;
226
233
  passcodeGenerate: string;
227
234
  atLeastOneRestaurant: string;
235
+ roleRequired: string;
228
236
  all: string;
229
237
  role: string;
230
238
  name: string;
@@ -409,12 +417,15 @@ export declare const i18nMessages: {
409
417
  code: string;
410
418
  name: string;
411
419
  restaurants: string;
420
+ assignedRole: string;
412
421
  since: string;
413
422
  };
414
423
  form: {
415
424
  add: string;
416
425
  update: string;
417
426
  employeeSetting: string;
427
+ assignmentSection: string;
428
+ addAnother: string;
418
429
  masterUserConfig: string;
419
430
  code: string;
420
431
  masterUser: string;
@@ -424,6 +435,7 @@ export declare const i18nMessages: {
424
435
  passcodeRequired: string;
425
436
  passcodeGenerate: string;
426
437
  atLeastOneRestaurant: string;
438
+ roleRequired: string;
427
439
  all: string;
428
440
  role: string;
429
441
  name: string;
@@ -607,12 +619,15 @@ export declare const i18nMessages: {
607
619
  code: string;
608
620
  name: string;
609
621
  restaurants: string;
622
+ assignedRole: string;
610
623
  since: string;
611
624
  };
612
625
  form: {
613
626
  add: string;
614
627
  update: string;
615
628
  employeeSetting: string;
629
+ assignmentSection: string;
630
+ addAnother: string;
616
631
  masterUserConfig: string;
617
632
  code: string;
618
633
  masterUser: string;
@@ -622,6 +637,7 @@ export declare const i18nMessages: {
622
637
  passcodeRequired: string;
623
638
  passcodeGenerate: string;
624
639
  atLeastOneRestaurant: string;
640
+ roleRequired: string;
625
641
  all: string;
626
642
  role: string;
627
643
  name: string;
@@ -1,18 +1,14 @@
1
1
  import { type PropType } from 'vue';
2
- import type { IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
3
2
  import type { FdoPermissionRule } from '@feedmepos/core/entity';
4
- declare var __VLS_9: `checkbox-${string}-append`, __VLS_10: {
5
- option: import("@/components/CheckboxInput.vue").CheckboxOption;
6
- }, __VLS_37: `checkbox-${string}-append`, __VLS_38: {
3
+ import type { IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
4
+ declare var __VLS_21: `checkbox-${string}-append`, __VLS_22: {
7
5
  option: {
8
6
  label: string;
9
7
  value: string;
10
8
  };
11
9
  };
12
10
  type __VLS_Slots = {} & {
13
- [K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
14
- } & {
15
- [K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any;
11
+ [K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
16
12
  };
17
13
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
14
  modelValue: {
@@ -1,11 +1,11 @@
1
1
  import { type PropType } from 'vue';
2
2
  import { type CheckboxOption } from '@/components/CheckboxInput.vue';
3
3
  import type { Role } from '@/types/role';
4
- declare var __VLS_10: `checkbox-${any}-append`, __VLS_11: {
4
+ declare var __VLS_13: `checkbox-${any}-append`, __VLS_14: {
5
5
  option: CheckboxOption;
6
6
  };
7
7
  type __VLS_Slots = {} & {
8
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
8
+ [K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  modelValue: {
@@ -46,6 +46,8 @@ export declare const i18nMessages: {
46
46
  filter: {
47
47
  permission_placeholder: string;
48
48
  selected_permission_prefix: string;
49
+ assigned_role_placeholder: string;
50
+ selected_assigned_role_prefix: string;
49
51
  };
50
52
  emptyState: {
51
53
  title: string;
@@ -67,6 +69,7 @@ export declare const i18nMessages: {
67
69
  emailAddress: string;
68
70
  };
69
71
  permissions: {
72
+ title: string;
70
73
  manageable: string;
71
74
  search: string;
72
75
  general: string;
@@ -77,12 +80,17 @@ export declare const i18nMessages: {
77
80
  includedNewRole: string;
78
81
  roles: string;
79
82
  inherited: string;
83
+ allowedCount: string;
84
+ columnName: string;
85
+ columnManage: string;
80
86
  };
81
87
  masterUser: {
82
88
  title: string;
83
89
  passcode: string;
84
90
  passcodeRequired: string;
85
91
  sublabel: string;
92
+ assignmentSection: string;
93
+ addAnother: string;
86
94
  code: string;
87
95
  name: string;
88
96
  role: string;
@@ -261,6 +269,8 @@ export declare const i18nMessages: {
261
269
  filter: {
262
270
  permission_placeholder: string;
263
271
  selected_permission_prefix: string;
272
+ assigned_role_placeholder: string;
273
+ selected_assigned_role_prefix: string;
264
274
  };
265
275
  emptyState: {
266
276
  title: string;
@@ -282,6 +292,7 @@ export declare const i18nMessages: {
282
292
  emailAddress: string;
283
293
  };
284
294
  permissions: {
295
+ title: string;
285
296
  manageable: string;
286
297
  search: string;
287
298
  general: string;
@@ -292,12 +303,17 @@ export declare const i18nMessages: {
292
303
  includedNewRole: string;
293
304
  roles: string;
294
305
  inherited: string;
306
+ allowedCount: string;
307
+ columnName: string;
308
+ columnManage: string;
295
309
  };
296
310
  masterUser: {
297
311
  title: string;
298
312
  passcode: string;
299
313
  passcodeRequired: string;
300
314
  sublabel: string;
315
+ assignmentSection: string;
316
+ addAnother: string;
301
317
  code: string;
302
318
  name: string;
303
319
  role: string;
@@ -476,6 +492,8 @@ export declare const i18nMessages: {
476
492
  filter: {
477
493
  permission_placeholder: string;
478
494
  selected_permission_prefix: string;
495
+ assigned_role_placeholder: string;
496
+ selected_assigned_role_prefix: string;
479
497
  };
480
498
  emptyState: {
481
499
  title: string;
@@ -497,6 +515,7 @@ export declare const i18nMessages: {
497
515
  emailAddress: string;
498
516
  };
499
517
  permissions: {
518
+ title: string;
500
519
  manageable: string;
501
520
  search: string;
502
521
  general: string;
@@ -507,12 +526,17 @@ export declare const i18nMessages: {
507
526
  includedNewRole: string;
508
527
  roles: string;
509
528
  inherited: string;
529
+ allowedCount: string;
530
+ columnName: string;
531
+ columnManage: string;
510
532
  };
511
533
  masterUser: {
512
534
  title: string;
513
535
  passcode: string;
514
536
  passcodeRequired: string;
515
537
  sublabel: string;
538
+ assignmentSection: string;
539
+ addAnother: string;
516
540
  code: string;
517
541
  name: string;
518
542
  role: string;
@@ -691,6 +715,8 @@ export declare const i18nMessages: {
691
715
  filter: {
692
716
  permission_placeholder: string;
693
717
  selected_permission_prefix: string;
718
+ assigned_role_placeholder: string;
719
+ selected_assigned_role_prefix: string;
694
720
  };
695
721
  emptyState: {
696
722
  title: string;
@@ -712,6 +738,7 @@ export declare const i18nMessages: {
712
738
  emailAddress: string;
713
739
  };
714
740
  permissions: {
741
+ title: string;
715
742
  manageable: string;
716
743
  search: string;
717
744
  general: string;
@@ -722,12 +749,17 @@ export declare const i18nMessages: {
722
749
  includedNewRole: string;
723
750
  roles: string;
724
751
  inherited: string;
752
+ allowedCount: string;
753
+ columnName: string;
754
+ columnManage: string;
725
755
  };
726
756
  masterUser: {
727
757
  title: string;
728
758
  passcode: string;
729
759
  passcodeRequired: string;
730
760
  sublabel: string;
761
+ assignmentSection: string;
762
+ addAnother: string;
731
763
  code: string;
732
764
  name: string;
733
765
  role: string;
@@ -11,6 +11,7 @@ export interface TeamDialogData {
11
11
  permissionSetIds: string[];
12
12
  posUser?: IFdtoPermissionPosUser;
13
13
  }
14
+ declare function isModified(): boolean;
14
15
  declare function readFormData(): IFdtoCreatePortalUserReq;
15
16
  declare function validate(): Promise<IFdtoCreatePortalUserReq | null>;
16
17
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -21,13 +22,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
22
  type: StringConstructor;
22
23
  default: string;
23
24
  };
24
- isLoadingMasterUser: {
25
+ loading: {
25
26
  type: BooleanConstructor;
26
27
  default: boolean;
27
28
  };
28
29
  }>, {
29
30
  readFormData: typeof readFormData;
30
31
  validate: typeof validate;
32
+ isModified: typeof isModified;
31
33
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
34
  initialValue: {
33
35
  type: PropType<TeamDialogData>;
@@ -36,12 +38,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
38
  type: StringConstructor;
37
39
  default: string;
38
40
  };
39
- isLoadingMasterUser: {
41
+ loading: {
40
42
  type: BooleanConstructor;
41
43
  default: boolean;
42
44
  };
43
45
  }>> & Readonly<{}>, {
46
+ loading: boolean;
44
47
  roleErrorMessage: string;
45
- isLoadingMasterUser: boolean;
46
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
47
49
  export default _default;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .employee-list-table[data-v-48cb3903] [class~=gap-24]>div:first-child{display:none}.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}.team-member-list-table[data-v-d77998ca] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label{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-action-label::-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}
1
+ .employee-list-table[data-v-1910886a] [class~=gap-24]>div:first-child{display:none}.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-list-table[data-v-5566060e] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-5566060e]{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-action-label[data-v-5566060e]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-5566060e]{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[data-v-5566060e]::-webkit-scrollbar{display:none}
@@ -0,0 +1,33 @@
1
+ import { defineStore as d } from "pinia";
2
+ import { ref as s, computed as o } from "vue";
3
+ import { t as f } from "./rule-3sXHiW0y.js";
4
+ const I = d("team", () => {
5
+ const r = s([]), a = s(!1), m = o(
6
+ () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
7
+ ), n = o(
8
+ () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.email]))
9
+ ), u = o(
10
+ () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.phoneNumber]))
11
+ );
12
+ async function c({ force: e = !1 } = {}) {
13
+ if (!(!e && r.value.length > 0))
14
+ try {
15
+ a.value = !0;
16
+ const i = await f.readTeamMembers();
17
+ r.value = i.sort((t, l) => t.doc.isOwner ? -1 : t.name.localeCompare(l.name));
18
+ } finally {
19
+ a.value = !1;
20
+ }
21
+ }
22
+ return {
23
+ members: r,
24
+ isLoading: a,
25
+ userIdToName: m,
26
+ userIdToEmail: n,
27
+ userIdToPhone: u,
28
+ readTeamMembers: c
29
+ };
30
+ });
31
+ export {
32
+ I as u
33
+ };
@@ -1,7 +1,7 @@
1
- import { d as i } from "./dayjs.min-DdUO0d-2.js";
1
+ import { d as i } from "./dayjs.min-CcBi6N-K.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, s as S } from "./iteration-DqYIXL4P.js";
4
+ import { b as c, g as y, s as S } from "./iteration-JOKbtlLf.js";
5
5
  import { i as f, f as g } from "./utils-BZkjJbju.js";
6
6
  const u = {
7
7
  async readTimesheets(t, e) {