@feedmepos/mf-hrm-portal 2.0.16-dev.1 → 2.0.17-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-DQOiwup5.js +954 -0
- package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +58 -0
- package/dist/EmployeeList-oERrzrAd.js +828 -0
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CoorkndT.js +34 -0
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
- package/dist/{Main-DAWaIqp9.js → Main-2uJvk5L7.js} +15 -14
- package/dist/{Main-CWilH1zx.js → Main-5nIpv-Sp.js} +9 -9
- package/dist/{Main-BNFGDNdT.js → Main-C8ja5xs6.js} +8 -8
- package/dist/PermissionSetList-CtpaWlVM.js +323 -0
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B-hvBqE0.js +3439 -0
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
- package/dist/RoleList-CDBP2W5v.js +544 -0
- package/dist/TeamMemberList-DSzNjP4y.js +996 -0
- package/dist/{TimesheetList-DDaK0iJU.js → TimesheetList-D1ByiuwP.js} +6 -6
- package/dist/{app-BlFL6W1C.js → app-hS6MBhCw.js} +211 -163
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-B81EyB1J.js → dayjs.min-DFcH-XYr.js} +1 -1
- package/dist/{employee-BaOat18O.js → employee-fBtBUEwZ.js} +3 -3
- package/dist/{iteration-Cuw1W-W9.js → iteration-D23fqAQH.js} +1 -1
- package/dist/{lodash-BtkvPA8j.js → lodash-Cqc7y4P5.js} +1 -1
- package/dist/{rule-8ylgGfvp.js → rule-BBJzenE1.js} +2 -2
- package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +2 -0
- package/dist/src/composables/useBasePermission.d.ts +1 -0
- package/dist/src/views/hr/locales/index.d.ts +16 -0
- package/dist/src/views/team/components/BasePermission.vue.d.ts +2 -6
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
- package/dist/src/views/team/locales/index.d.ts +32 -0
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/team-Dq3VcGNH.js +33 -0
- package/dist/{timesheet-BpHPcIrb.js → timesheet-OfLQjuvO.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-Bs9JwLL8.js → useAppStore-Du6PRBq0.js} +1 -1
- package/dist/{useLoading-ZHDY--I6.js → useLoading-DkTCR5A7.js} +1 -1
- package/dist/{useReportPermissions-CNhcwQO7.js → useReportPermissions-DhhjBwPs.js} +3 -3
- package/dist/useSearch-BAPEUu1R.js +15 -0
- package/package.json +1 -1
- package/dist/AuditLogList-BZPpMthp.js +0 -976
- package/dist/EmployeeList-DvWJ0QUc.js +0 -736
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
- package/dist/HorizontalSplitter-o860F4xM.js +0 -12
- package/dist/PermissionSetList-BkRtZkAZ.js +0 -334
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CGYLUF1m.js +0 -3476
- package/dist/RoleList-D26aCQ4A.js +0 -528
- package/dist/TeamMemberList-Dh3AlL0Q.js +0 -1108
- package/dist/useDebounce-B8ZPVS5C.js +0 -15
- package/dist/useSearch-B6WK1LBB.js +0 -15
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as M } from "./dayjs.min-
|
|
1
|
+
import { d as M } from "./dayjs.min-DFcH-XYr.js";
|
|
2
2
|
import { defineStore as S, storeToRefs as U } from "pinia";
|
|
3
3
|
import { ref as m } from "vue";
|
|
4
4
|
import { useCoreStore as w } from "@feedmepos/mf-common";
|
|
5
|
-
import { b as p, g as f, s as E } from "./iteration-
|
|
5
|
+
import { b as p, g as f, s as E } from "./iteration-D23fqAQH.js";
|
|
6
6
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
7
|
-
import { u as _ } from "./useAppStore-
|
|
7
|
+
import { u as _ } from "./useAppStore-Du6PRBq0.js";
|
|
8
8
|
const n = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return f(await p().get("/pos-users"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as U } from "./app-
|
|
1
|
+
import { c as U } from "./app-hS6MBhCw.js";
|
|
2
2
|
import { useCoreStore as To, baseClientInstance as jr, FeedMeAuth as Zs } from "@feedmepos/mf-common";
|
|
3
3
|
var Ys = {}, _n = {}, _ = {}, zo = {}, $i = {}, eo = {}, ui = {};
|
|
4
4
|
(function(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as b, b as g, q as L, s as D, d as Q, e as j } from "./iteration-
|
|
2
|
-
import { e as I, A as x, p as F, h as S, C as G, d as B } from "./app-
|
|
1
|
+
import { g as b, b as g, q as L, s as D, d as Q, e as j } from "./iteration-D23fqAQH.js";
|
|
2
|
+
import { e as I, A as x, p as F, h as S, C as G, d as B } from "./app-hS6MBhCw.js";
|
|
3
3
|
import { s as H } from "./utils-BZkjJbju.js";
|
|
4
4
|
import { defineStore as k, storeToRefs as W } from "pinia";
|
|
5
5
|
import { ref as h, computed as N } from "vue";
|
|
@@ -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>;
|
|
@@ -20,6 +20,7 @@ export declare function useBasePermission(modelValue: Readonly<Ref<FdoPermission
|
|
|
20
20
|
categoryGroups: ComputedRef<CategoryGroup[]>;
|
|
21
21
|
toggleCategory: (category: string, subjects: unknown[]) => void;
|
|
22
22
|
isAllManageChecked: (group: CategoryGroup) => boolean;
|
|
23
|
+
isAllManageIndeterminate: (group: CategoryGroup) => boolean;
|
|
23
24
|
toggleAllManage: (group: CategoryGroup) => void;
|
|
24
25
|
isManageChecked: (group: CategoryGroup, subject: string) => boolean;
|
|
25
26
|
isManageIndeterminate: (group: CategoryGroup, subject: string) => boolean;
|
|
@@ -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;
|
|
@@ -167,12 +171,15 @@ export declare const i18nMessages: {
|
|
|
167
171
|
code: string;
|
|
168
172
|
name: string;
|
|
169
173
|
restaurants: string;
|
|
174
|
+
assignedRole: string;
|
|
170
175
|
since: string;
|
|
171
176
|
};
|
|
172
177
|
form: {
|
|
173
178
|
add: string;
|
|
174
179
|
update: string;
|
|
175
180
|
employeeSetting: string;
|
|
181
|
+
assignmentSection: string;
|
|
182
|
+
addAnother: string;
|
|
176
183
|
masterUserConfig: string;
|
|
177
184
|
code: string;
|
|
178
185
|
masterUser: string;
|
|
@@ -182,6 +189,7 @@ export declare const i18nMessages: {
|
|
|
182
189
|
passcodeRequired: string;
|
|
183
190
|
passcodeGenerate: string;
|
|
184
191
|
atLeastOneRestaurant: string;
|
|
192
|
+
roleRequired: string;
|
|
185
193
|
all: string;
|
|
186
194
|
role: string;
|
|
187
195
|
name: string;
|
|
@@ -323,12 +331,15 @@ export declare const i18nMessages: {
|
|
|
323
331
|
code: string;
|
|
324
332
|
name: string;
|
|
325
333
|
restaurants: string;
|
|
334
|
+
assignedRole: string;
|
|
326
335
|
since: string;
|
|
327
336
|
};
|
|
328
337
|
form: {
|
|
329
338
|
add: string;
|
|
330
339
|
update: string;
|
|
331
340
|
employeeSetting: string;
|
|
341
|
+
assignmentSection: string;
|
|
342
|
+
addAnother: string;
|
|
332
343
|
masterUserConfig: string;
|
|
333
344
|
code: string;
|
|
334
345
|
masterUser: string;
|
|
@@ -338,6 +349,7 @@ export declare const i18nMessages: {
|
|
|
338
349
|
passcodeRequired: string;
|
|
339
350
|
passcodeGenerate: string;
|
|
340
351
|
atLeastOneRestaurant: string;
|
|
352
|
+
roleRequired: string;
|
|
341
353
|
all: string;
|
|
342
354
|
role: string;
|
|
343
355
|
name: string;
|
|
@@ -478,12 +490,15 @@ export declare const i18nMessages: {
|
|
|
478
490
|
code: string;
|
|
479
491
|
name: string;
|
|
480
492
|
restaurants: string;
|
|
493
|
+
assignedRole: string;
|
|
481
494
|
since: string;
|
|
482
495
|
};
|
|
483
496
|
form: {
|
|
484
497
|
add: string;
|
|
485
498
|
update: string;
|
|
486
499
|
employeeSetting: string;
|
|
500
|
+
assignmentSection: string;
|
|
501
|
+
addAnother: string;
|
|
487
502
|
masterUserConfig: string;
|
|
488
503
|
code: string;
|
|
489
504
|
masterUser: string;
|
|
@@ -493,6 +508,7 @@ export declare const i18nMessages: {
|
|
|
493
508
|
passcodeRequired: string;
|
|
494
509
|
passcodeGenerate: string;
|
|
495
510
|
atLeastOneRestaurant: string;
|
|
511
|
+
roleRequired: string;
|
|
496
512
|
all: string;
|
|
497
513
|
role: string;
|
|
498
514
|
name: string;
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import type { IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
|
|
3
3
|
import type { FdoPermissionRule } from '@feedmepos/core/entity';
|
|
4
|
-
declare var
|
|
5
|
-
option: import("@/components/CheckboxInput.vue").CheckboxOption;
|
|
6
|
-
}, __VLS_37: `checkbox-${string}-append`, __VLS_38: {
|
|
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
|
|
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
|
|
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
|
|
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;
|
|
@@ -183,6 +191,8 @@ export declare const i18nMessages: {
|
|
|
183
191
|
filter: {
|
|
184
192
|
permission_placeholder: string;
|
|
185
193
|
selected_permission_prefix: string;
|
|
194
|
+
assigned_role_placeholder: string;
|
|
195
|
+
selected_assigned_role_prefix: string;
|
|
186
196
|
};
|
|
187
197
|
emptyState: {
|
|
188
198
|
title: string;
|
|
@@ -204,6 +214,7 @@ export declare const i18nMessages: {
|
|
|
204
214
|
emailAddress: string;
|
|
205
215
|
};
|
|
206
216
|
permissions: {
|
|
217
|
+
title: string;
|
|
207
218
|
manageable: string;
|
|
208
219
|
search: string;
|
|
209
220
|
general: string;
|
|
@@ -214,12 +225,17 @@ export declare const i18nMessages: {
|
|
|
214
225
|
includedNewRole: string;
|
|
215
226
|
roles: string;
|
|
216
227
|
inherited: string;
|
|
228
|
+
allowedCount: string;
|
|
229
|
+
columnName: string;
|
|
230
|
+
columnManage: string;
|
|
217
231
|
};
|
|
218
232
|
masterUser: {
|
|
219
233
|
title: string;
|
|
220
234
|
passcode: string;
|
|
221
235
|
passcodeRequired: string;
|
|
222
236
|
sublabel: string;
|
|
237
|
+
assignmentSection: string;
|
|
238
|
+
addAnother: string;
|
|
223
239
|
code: string;
|
|
224
240
|
name: string;
|
|
225
241
|
role: string;
|
|
@@ -320,6 +336,8 @@ export declare const i18nMessages: {
|
|
|
320
336
|
filter: {
|
|
321
337
|
permission_placeholder: string;
|
|
322
338
|
selected_permission_prefix: string;
|
|
339
|
+
assigned_role_placeholder: string;
|
|
340
|
+
selected_assigned_role_prefix: string;
|
|
323
341
|
};
|
|
324
342
|
emptyState: {
|
|
325
343
|
title: string;
|
|
@@ -341,6 +359,7 @@ export declare const i18nMessages: {
|
|
|
341
359
|
emailAddress: string;
|
|
342
360
|
};
|
|
343
361
|
permissions: {
|
|
362
|
+
title: string;
|
|
344
363
|
manageable: string;
|
|
345
364
|
search: string;
|
|
346
365
|
general: string;
|
|
@@ -351,12 +370,17 @@ export declare const i18nMessages: {
|
|
|
351
370
|
includedNewRole: string;
|
|
352
371
|
roles: string;
|
|
353
372
|
inherited: string;
|
|
373
|
+
allowedCount: string;
|
|
374
|
+
columnName: string;
|
|
375
|
+
columnManage: string;
|
|
354
376
|
};
|
|
355
377
|
masterUser: {
|
|
356
378
|
title: string;
|
|
357
379
|
passcode: string;
|
|
358
380
|
passcodeRequired: string;
|
|
359
381
|
sublabel: string;
|
|
382
|
+
assignmentSection: string;
|
|
383
|
+
addAnother: string;
|
|
360
384
|
code: string;
|
|
361
385
|
name: string;
|
|
362
386
|
role: string;
|
|
@@ -457,6 +481,8 @@ export declare const i18nMessages: {
|
|
|
457
481
|
filter: {
|
|
458
482
|
permission_placeholder: string;
|
|
459
483
|
selected_permission_prefix: string;
|
|
484
|
+
assigned_role_placeholder: string;
|
|
485
|
+
selected_assigned_role_prefix: string;
|
|
460
486
|
};
|
|
461
487
|
emptyState: {
|
|
462
488
|
title: string;
|
|
@@ -478,6 +504,7 @@ export declare const i18nMessages: {
|
|
|
478
504
|
emailAddress: string;
|
|
479
505
|
};
|
|
480
506
|
permissions: {
|
|
507
|
+
title: string;
|
|
481
508
|
manageable: string;
|
|
482
509
|
search: string;
|
|
483
510
|
general: string;
|
|
@@ -488,12 +515,17 @@ export declare const i18nMessages: {
|
|
|
488
515
|
includedNewRole: string;
|
|
489
516
|
roles: string;
|
|
490
517
|
inherited: string;
|
|
518
|
+
allowedCount: string;
|
|
519
|
+
columnName: string;
|
|
520
|
+
columnManage: string;
|
|
491
521
|
};
|
|
492
522
|
masterUser: {
|
|
493
523
|
title: string;
|
|
494
524
|
passcode: string;
|
|
495
525
|
passcodeRequired: string;
|
|
496
526
|
sublabel: string;
|
|
527
|
+
assignmentSection: string;
|
|
528
|
+
addAnother: string;
|
|
497
529
|
code: string;
|
|
498
530
|
name: string;
|
|
499
531
|
role: string;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
loading: {
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
@@ -36,12 +36,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
36
|
type: StringConstructor;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
loading: {
|
|
40
40
|
type: BooleanConstructor;
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
}>> & Readonly<{}>, {
|
|
44
|
+
loading: boolean;
|
|
44
45
|
roleErrorMessage: string;
|
|
45
|
-
isLoadingMasterUser: boolean;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default _default;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.employee-list-table[data-v-
|
|
1
|
+
.employee-list-table[data-v-ea2be538] [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-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}
|
|
@@ -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-BBJzenE1.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-
|
|
1
|
+
import { d as i } from "./dayjs.min-DFcH-XYr.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-
|
|
4
|
+
import { b as c, g as y, s as S } from "./iteration-D23fqAQH.js";
|
|
5
5
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
6
6
|
const u = {
|
|
7
7
|
async readTimesheets(t, e) {
|