@feedmepos/mf-hrm-portal 2.3.2-dev.11 → 2.3.2-dev.12
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-DoNoFW6w.js → ApprovalCodeList-CCh9mNJh.js} +7 -7
- package/dist/AuditLogList-DCADUZ5s.js +2019 -0
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C1dLOPFb.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BZQNDOg7.js} +10 -10
- package/dist/{EmployeeList-BX9gy9WG.js → EmployeeList-CRI7XjzX.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-iCgTyICI.js → FormSection.vue_vue_type_script_setup_true_lang-y9_hxba6.js} +1 -1
- package/dist/{GrantUserList-DNvmmlDI.js → GrantUserList-DbMngkpK.js} +8 -8
- package/dist/{Main-BHmY7VHC.js → Main-BsFUfsmP.js} +29 -29
- package/dist/{Main-SzU5H5uC.js → Main-CrnM6wr8.js} +623 -629
- package/dist/{Main-2NivoQNg.js → Main-D4Zq5AXi.js} +5 -5
- package/dist/{MyPosProfile-2W5mT5d5.js → MyPosProfile-B4cE47im.js} +1 -1
- package/dist/{PermissionSetList-BCAm8rHm.js → PermissionSetList-D_2x-mDD.js} +112 -113
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BM9Von-l.js +4212 -0
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DYbfmF2P.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-COX-N0k6.js} +33 -33
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-o4mXv2hT.js → RoleForm.vue_vue_type_script_setup_true_lang-D8V8KWiL.js} +41 -41
- package/dist/{RoleList-BXkyCeH0.js → RoleList-BC-c7fqn.js} +105 -96
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DOxRdHY1.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DBbuSrXV.js} +1 -1
- package/dist/{ScheduleGeneralPage-4hV53-q6.js → ScheduleGeneralPage-eytzOZQr.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-D5jOHLA1.js → ScheduleModal.vue_vue_type_script_setup_true_lang-CP-kToVO.js} +4 -4
- package/dist/{SchedulePage-CqNa_p32.js → SchedulePage-B0QirzAk.js} +17 -17
- package/dist/{SchedulePositionPage-7xYBe1xd.js → SchedulePositionPage-BAE-NQvL.js} +3 -3
- package/dist/{SelectFilter-Dy2Nv1_D.js → SelectFilter-DrLJhxt6.js} +1 -1
- package/dist/TeamMemberList-CHkiL_q9.js +2083 -0
- package/dist/TimesheetList-BZuddmzy.js +402 -0
- package/dist/TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-LCUO-ogb.js +58 -0
- package/dist/{app-C37qvNnc.js → app-B9qAxMj1.js} +3516 -3470
- package/dist/app.js +1 -1
- package/dist/{approval-code-B7rpc4Oe.js → approval-code-CTgj9q6m.js} +1 -1
- package/dist/{dayjs.min-D35yhU4A.js → dayjs.min-giCSI3N8.js} +22 -22
- package/dist/employee-BD3NXG8h.js +210 -0
- package/dist/{grant-user-CostZ0Md.js → grant-user-jeTFzGU1.js} +1 -1
- package/dist/{index-DPiNc7mn.js → iteration-Tyg43nH0.js} +726 -698
- package/dist/{lodash-C8MGI_QW.js → lodash-CZsDR_DU.js} +1 -1
- package/dist/{member-grant-CktOoicv.js → member-grant-DsEMLN1N.js} +2 -2
- package/dist/restaurant-CDJ3VjdH.js +49 -0
- package/dist/role-BDRWt87n.js +91 -0
- package/dist/{rule-EYBPBkv_.js → rule-EiO87cJJ.js} +309 -313
- package/dist/src/api/employee/index.d.ts +2 -1
- package/dist/src/api/timesheet/index.d.ts +1 -1
- package/dist/src/composables/useTenant.d.ts +11 -0
- package/dist/src/router/courtGuard.d.ts +4 -0
- package/dist/src/stores/employee.d.ts +7 -1
- package/dist/src/stores/restaurant.d.ts +1 -61
- package/dist/src/stores/team.d.ts +1 -1
- package/dist/src/stores/timesheet.d.ts +51 -66
- package/dist/src/types/timesheet.d.ts +0 -3
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BmBJPo1_.js → useAppStore-CkUZ2H5h.js} +1 -1
- package/dist/{useLoading-BtyGXkm_.js → useLoading-DJHJM5E0.js} +1 -1
- package/dist/useReportPermissions-2dfIX21b.js +80 -0
- package/dist/{useSsoProviders-CZrTNgfp.js → useSsoProviders-BarGHndw.js} +1 -1
- package/package.json +2 -2
- package/dist/AuditLogList-D5M0cl8g.js +0 -2026
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-e2vu_Mcn.js +0 -4208
- package/dist/TeamMemberList-okhiXdLg.js +0 -2087
- package/dist/TimesheetList-BKj9OnJW.js +0 -437
- package/dist/employee-Bn6HTMxg.js +0 -172
- package/dist/iteration-CcXrOMQe.js +0 -30
- package/dist/restaurant-BgvuJL8G.js +0 -52
- package/dist/role-D8G5QOG1.js +0 -98
- package/dist/timesheet-D6jBeR-V.js +0 -76
- package/dist/useReportPermissions-C8z7EA7v.js +0 -82
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FdtoUpdatePosUserReq, FdtoUpdatePosMasterUserReq } from '@feedmepos/core/entity';
|
|
2
|
-
import type { Employee, IFdtoEmployeePage, IReadEmployeesPageReq } from '@/types/employee';
|
|
2
|
+
import type { Employee, IFdtoEmployeePage, IFdtoPosUser, IReadEmployeesPageReq } from '@/types/employee';
|
|
3
3
|
export interface IGeneratePasscodeParams {
|
|
4
4
|
restaurantIds: string[];
|
|
5
5
|
excludePosUserId?: string;
|
|
6
6
|
}
|
|
7
7
|
declare const EmployeeAPI: {
|
|
8
|
+
readEmployees(): Promise<IFdtoPosUser[]>;
|
|
8
9
|
readEmployeesPage(query: IReadEmployeesPageReq): Promise<IFdtoEmployeePage>;
|
|
9
10
|
createEmployee(dto: FdtoUpdatePosUserReq): Promise<string>;
|
|
10
11
|
createMasterEmployee(dto: FdtoUpdatePosMasterUserReq): Promise<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IFdtoTimesheet, UpdateTimesheetDTO } from '@/types/timesheet';
|
|
2
2
|
declare const TimesheetAPI: {
|
|
3
|
-
readTimesheets(startIso: string, endIso: string
|
|
3
|
+
readTimesheets(startIso: string, endIso: string): Promise<IFdtoTimesheet[]>;
|
|
4
4
|
updateTimesheet(restaurantId: string, dto: UpdateTimesheetDTO): Promise<void>;
|
|
5
5
|
};
|
|
6
6
|
export default TimesheetAPI;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type PortalTenantType as TenantType } from '@feedmepos/hrm-permission';
|
|
3
|
+
export type { PortalTenantType as TenantType } from '@feedmepos/hrm-permission';
|
|
4
|
+
export interface Tenant {
|
|
5
|
+
type: ComputedRef<TenantType>;
|
|
6
|
+
isFoodCourt: ComputedRef<boolean>;
|
|
7
|
+
id: ComputedRef<string | undefined>;
|
|
8
|
+
name: ComputedRef<string>;
|
|
9
|
+
}
|
|
10
|
+
/** The business or food court the portal is currently in. */
|
|
11
|
+
export declare function useTenant(): Tenant;
|
|
@@ -374,6 +374,7 @@ export declare const useEmployeeStore: () => {
|
|
|
374
374
|
})[]>;
|
|
375
375
|
totalEmployees: import("vue").Ref<number, number>;
|
|
376
376
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
377
|
+
readEmployees: () => Promise<void>;
|
|
377
378
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
378
379
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
379
380
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
@@ -691,6 +692,7 @@ export declare const useEmployeeStore: () => {
|
|
|
691
692
|
})[]>;
|
|
692
693
|
totalEmployees: import("vue").Ref<number, number>;
|
|
693
694
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
695
|
+
readEmployees: () => Promise<void>;
|
|
694
696
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
695
697
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
696
698
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
@@ -853,6 +855,7 @@ export declare const useEmployeeStore: () => {
|
|
|
853
855
|
})[]>;
|
|
854
856
|
totalEmployees: import("vue").Ref<number, number>;
|
|
855
857
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
858
|
+
readEmployees: () => Promise<void>;
|
|
856
859
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
857
860
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
858
861
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
@@ -1012,6 +1015,7 @@ export declare const useEmployeeStore: () => {
|
|
|
1012
1015
|
})[]>;
|
|
1013
1016
|
totalEmployees: import("vue").Ref<number, number>;
|
|
1014
1017
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
1018
|
+
readEmployees: () => Promise<void>;
|
|
1015
1019
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1016
1020
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
1017
1021
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
@@ -1171,6 +1175,7 @@ export declare const useEmployeeStore: () => {
|
|
|
1171
1175
|
})[]>;
|
|
1172
1176
|
totalEmployees: import("vue").Ref<number, number>;
|
|
1173
1177
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
1178
|
+
readEmployees: () => Promise<void>;
|
|
1174
1179
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1175
1180
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
1176
1181
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
@@ -1181,10 +1186,11 @@ export declare const useEmployeeStore: () => {
|
|
|
1181
1186
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
1182
1187
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1183
1188
|
syncUsersMeta: () => Promise<void>;
|
|
1184
|
-
}, "readEmployeesPage" | "readAllEmployeesPage" | "createEmployee" | "updateEmployee" | "deleteEmployee" | "createMasterEmployee" | "updateMasterEmployee" | "deleteMasterEmployee" | "migrateToMasterUser" | "syncUsersMeta">>, detached?: boolean): () => void;
|
|
1189
|
+
}, "readEmployees" | "readEmployeesPage" | "readAllEmployeesPage" | "createEmployee" | "updateEmployee" | "deleteEmployee" | "createMasterEmployee" | "updateMasterEmployee" | "deleteMasterEmployee" | "migrateToMasterUser" | "syncUsersMeta">>, detached?: boolean): () => void;
|
|
1185
1190
|
$dispose(): void;
|
|
1186
1191
|
$id: "hrm-employee";
|
|
1187
1192
|
_customProperties: Set<string>;
|
|
1193
|
+
readEmployees: () => Promise<void>;
|
|
1188
1194
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1189
1195
|
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">, knownTotal?: number) => Promise<Employee[]>;
|
|
1190
1196
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<string>;
|
|
@@ -20,16 +20,6 @@ export declare const useRestaurantStore: () => {
|
|
|
20
20
|
};
|
|
21
21
|
managable: boolean;
|
|
22
22
|
}[]>;
|
|
23
|
-
restaurantsById: import("vue").ComputedRef<Map<string, {
|
|
24
|
-
_id: string;
|
|
25
|
-
businessId: string;
|
|
26
|
-
profile: {
|
|
27
|
-
name: string;
|
|
28
|
-
code?: string | undefined;
|
|
29
|
-
legalName: string;
|
|
30
|
-
};
|
|
31
|
-
managable: boolean;
|
|
32
|
-
}>>;
|
|
33
23
|
$state: {
|
|
34
24
|
isLoading: boolean;
|
|
35
25
|
restaurants: {
|
|
@@ -62,16 +52,6 @@ export declare const useRestaurantStore: () => {
|
|
|
62
52
|
};
|
|
63
53
|
managable: boolean;
|
|
64
54
|
}[]>;
|
|
65
|
-
restaurantsById: import("vue").ComputedRef<Map<string, {
|
|
66
|
-
_id: string;
|
|
67
|
-
businessId: string;
|
|
68
|
-
profile: {
|
|
69
|
-
name: string;
|
|
70
|
-
code?: string | undefined;
|
|
71
|
-
legalName: string;
|
|
72
|
-
};
|
|
73
|
-
managable: boolean;
|
|
74
|
-
}>>;
|
|
75
55
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
76
56
|
readRestaurants: (force?: boolean) => Promise<void>;
|
|
77
57
|
}, "isLoading" | "restaurants">>;
|
|
@@ -122,16 +102,6 @@ export declare const useRestaurantStore: () => {
|
|
|
122
102
|
};
|
|
123
103
|
managable: boolean;
|
|
124
104
|
}[]>;
|
|
125
|
-
restaurantsById: import("vue").ComputedRef<Map<string, {
|
|
126
|
-
_id: string;
|
|
127
|
-
businessId: string;
|
|
128
|
-
profile: {
|
|
129
|
-
name: string;
|
|
130
|
-
code?: string | undefined;
|
|
131
|
-
legalName: string;
|
|
132
|
-
};
|
|
133
|
-
managable: boolean;
|
|
134
|
-
}>>;
|
|
135
105
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
136
106
|
readRestaurants: (force?: boolean) => Promise<void>;
|
|
137
107
|
}, "isLoading" | "restaurants">>, options?: {
|
|
@@ -157,16 +127,6 @@ export declare const useRestaurantStore: () => {
|
|
|
157
127
|
};
|
|
158
128
|
managable: boolean;
|
|
159
129
|
}[]>;
|
|
160
|
-
restaurantsById: import("vue").ComputedRef<Map<string, {
|
|
161
|
-
_id: string;
|
|
162
|
-
businessId: string;
|
|
163
|
-
profile: {
|
|
164
|
-
name: string;
|
|
165
|
-
code?: string | undefined;
|
|
166
|
-
legalName: string;
|
|
167
|
-
};
|
|
168
|
-
managable: boolean;
|
|
169
|
-
}>>;
|
|
170
130
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
171
131
|
readRestaurants: (force?: boolean) => Promise<void>;
|
|
172
132
|
}, "isLoading" | "restaurants">, Pick<{
|
|
@@ -189,19 +149,9 @@ export declare const useRestaurantStore: () => {
|
|
|
189
149
|
};
|
|
190
150
|
managable: boolean;
|
|
191
151
|
}[]>;
|
|
192
|
-
restaurantsById: import("vue").ComputedRef<Map<string, {
|
|
193
|
-
_id: string;
|
|
194
|
-
businessId: string;
|
|
195
|
-
profile: {
|
|
196
|
-
name: string;
|
|
197
|
-
code?: string | undefined;
|
|
198
|
-
legalName: string;
|
|
199
|
-
};
|
|
200
|
-
managable: boolean;
|
|
201
|
-
}>>;
|
|
202
152
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
203
153
|
readRestaurants: (force?: boolean) => Promise<void>;
|
|
204
|
-
},
|
|
154
|
+
}, never>, Pick<{
|
|
205
155
|
restaurants: import("vue").Ref<{
|
|
206
156
|
_id: string;
|
|
207
157
|
businessId: string;
|
|
@@ -221,16 +171,6 @@ export declare const useRestaurantStore: () => {
|
|
|
221
171
|
};
|
|
222
172
|
managable: boolean;
|
|
223
173
|
}[]>;
|
|
224
|
-
restaurantsById: import("vue").ComputedRef<Map<string, {
|
|
225
|
-
_id: string;
|
|
226
|
-
businessId: string;
|
|
227
|
-
profile: {
|
|
228
|
-
name: string;
|
|
229
|
-
code?: string | undefined;
|
|
230
|
-
legalName: string;
|
|
231
|
-
};
|
|
232
|
-
managable: boolean;
|
|
233
|
-
}>>;
|
|
234
174
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
235
175
|
readRestaurants: (force?: boolean) => Promise<void>;
|
|
236
176
|
}, "readRestaurants">>, detached?: boolean): () => void;
|
|
@@ -111,7 +111,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"hrm-team", Pick<{
|
|
|
111
111
|
readTeamMembers: ({ force }?: {
|
|
112
112
|
force?: boolean | undefined;
|
|
113
113
|
}) => Promise<void>;
|
|
114
|
-
}, "
|
|
114
|
+
}, "members" | "isLoading" | "hasLoaded">, Pick<{
|
|
115
115
|
members: import("vue").Ref<{
|
|
116
116
|
id: string;
|
|
117
117
|
name: string;
|
|
@@ -5,14 +5,13 @@ export declare const useTimesheetStore: () => {
|
|
|
5
5
|
end: string;
|
|
6
6
|
totalMin: number;
|
|
7
7
|
duration: string;
|
|
8
|
+
restaurantId: string;
|
|
9
|
+
restaurantName: string;
|
|
10
|
+
endedAt?: string | null | undefined | undefined;
|
|
8
11
|
user: {
|
|
9
12
|
name: string;
|
|
10
13
|
id: string;
|
|
11
|
-
code?: string | undefined;
|
|
12
14
|
};
|
|
13
|
-
restaurantId: string;
|
|
14
|
-
restaurantName: string;
|
|
15
|
-
endedAt?: string | null | undefined | undefined;
|
|
16
15
|
_id: string;
|
|
17
16
|
startedAt: string;
|
|
18
17
|
}[], Timesheet[] | {
|
|
@@ -20,14 +19,13 @@ export declare const useTimesheetStore: () => {
|
|
|
20
19
|
end: string;
|
|
21
20
|
totalMin: number;
|
|
22
21
|
duration: string;
|
|
22
|
+
restaurantId: string;
|
|
23
|
+
restaurantName: string;
|
|
24
|
+
endedAt?: string | null | undefined | undefined;
|
|
23
25
|
user: {
|
|
24
26
|
name: string;
|
|
25
27
|
id: string;
|
|
26
|
-
code?: string | undefined;
|
|
27
28
|
};
|
|
28
|
-
restaurantId: string;
|
|
29
|
-
restaurantName: string;
|
|
30
|
-
endedAt?: string | null | undefined | undefined;
|
|
31
29
|
_id: string;
|
|
32
30
|
startedAt: string;
|
|
33
31
|
}[]>;
|
|
@@ -37,14 +35,13 @@ export declare const useTimesheetStore: () => {
|
|
|
37
35
|
end: string;
|
|
38
36
|
totalMin: number;
|
|
39
37
|
duration: string;
|
|
38
|
+
restaurantId: string;
|
|
39
|
+
restaurantName: string;
|
|
40
|
+
endedAt?: string | null | undefined | undefined;
|
|
40
41
|
user: {
|
|
41
42
|
name: string;
|
|
42
43
|
id: string;
|
|
43
|
-
code?: string | undefined;
|
|
44
44
|
};
|
|
45
|
-
restaurantId: string;
|
|
46
|
-
restaurantName: string;
|
|
47
|
-
endedAt?: string | null | undefined | undefined;
|
|
48
45
|
_id: string;
|
|
49
46
|
startedAt: string;
|
|
50
47
|
}[];
|
|
@@ -54,14 +51,13 @@ export declare const useTimesheetStore: () => {
|
|
|
54
51
|
end: string;
|
|
55
52
|
totalMin: number;
|
|
56
53
|
duration: string;
|
|
54
|
+
restaurantId: string;
|
|
55
|
+
restaurantName: string;
|
|
56
|
+
endedAt?: string | null | undefined | undefined;
|
|
57
57
|
user: {
|
|
58
58
|
name: string;
|
|
59
59
|
id: string;
|
|
60
|
-
code?: string | undefined;
|
|
61
60
|
};
|
|
62
|
-
restaurantId: string;
|
|
63
|
-
restaurantName: string;
|
|
64
|
-
endedAt?: string | null | undefined | undefined;
|
|
65
61
|
_id: string;
|
|
66
62
|
startedAt: string;
|
|
67
63
|
}[], Timesheet[] | {
|
|
@@ -69,18 +65,17 @@ export declare const useTimesheetStore: () => {
|
|
|
69
65
|
end: string;
|
|
70
66
|
totalMin: number;
|
|
71
67
|
duration: string;
|
|
68
|
+
restaurantId: string;
|
|
69
|
+
restaurantName: string;
|
|
70
|
+
endedAt?: string | null | undefined | undefined;
|
|
72
71
|
user: {
|
|
73
72
|
name: string;
|
|
74
73
|
id: string;
|
|
75
|
-
code?: string | undefined;
|
|
76
74
|
};
|
|
77
|
-
restaurantId: string;
|
|
78
|
-
restaurantName: string;
|
|
79
|
-
endedAt?: string | null | undefined | undefined;
|
|
80
75
|
_id: string;
|
|
81
76
|
startedAt: string;
|
|
82
77
|
}[]>;
|
|
83
|
-
readTimesheet: (start: Date, end: Date
|
|
78
|
+
readTimesheet: (start: Date, end: Date) => Promise<void>;
|
|
84
79
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
85
80
|
}, "timesheets">>;
|
|
86
81
|
$patch(partialState: import("pinia")._DeepPartial<{
|
|
@@ -89,14 +84,13 @@ export declare const useTimesheetStore: () => {
|
|
|
89
84
|
end: string;
|
|
90
85
|
totalMin: number;
|
|
91
86
|
duration: string;
|
|
87
|
+
restaurantId: string;
|
|
88
|
+
restaurantName: string;
|
|
89
|
+
endedAt?: string | null | undefined | undefined;
|
|
92
90
|
user: {
|
|
93
91
|
name: string;
|
|
94
92
|
id: string;
|
|
95
|
-
code?: string | undefined;
|
|
96
93
|
};
|
|
97
|
-
restaurantId: string;
|
|
98
|
-
restaurantName: string;
|
|
99
|
-
endedAt?: string | null | undefined | undefined;
|
|
100
94
|
_id: string;
|
|
101
95
|
startedAt: string;
|
|
102
96
|
}[];
|
|
@@ -107,14 +101,13 @@ export declare const useTimesheetStore: () => {
|
|
|
107
101
|
end: string;
|
|
108
102
|
totalMin: number;
|
|
109
103
|
duration: string;
|
|
104
|
+
restaurantId: string;
|
|
105
|
+
restaurantName: string;
|
|
106
|
+
endedAt?: string | null | undefined | undefined;
|
|
110
107
|
user: {
|
|
111
108
|
name: string;
|
|
112
109
|
id: string;
|
|
113
|
-
code?: string | undefined;
|
|
114
110
|
};
|
|
115
|
-
restaurantId: string;
|
|
116
|
-
restaurantName: string;
|
|
117
|
-
endedAt?: string | null | undefined | undefined;
|
|
118
111
|
_id: string;
|
|
119
112
|
startedAt: string;
|
|
120
113
|
}[];
|
|
@@ -126,14 +119,13 @@ export declare const useTimesheetStore: () => {
|
|
|
126
119
|
end: string;
|
|
127
120
|
totalMin: number;
|
|
128
121
|
duration: string;
|
|
122
|
+
restaurantId: string;
|
|
123
|
+
restaurantName: string;
|
|
124
|
+
endedAt?: string | null | undefined | undefined;
|
|
129
125
|
user: {
|
|
130
126
|
name: string;
|
|
131
127
|
id: string;
|
|
132
|
-
code?: string | undefined;
|
|
133
128
|
};
|
|
134
|
-
restaurantId: string;
|
|
135
|
-
restaurantName: string;
|
|
136
|
-
endedAt?: string | null | undefined | undefined;
|
|
137
129
|
_id: string;
|
|
138
130
|
startedAt: string;
|
|
139
131
|
}[], Timesheet[] | {
|
|
@@ -141,18 +133,17 @@ export declare const useTimesheetStore: () => {
|
|
|
141
133
|
end: string;
|
|
142
134
|
totalMin: number;
|
|
143
135
|
duration: string;
|
|
136
|
+
restaurantId: string;
|
|
137
|
+
restaurantName: string;
|
|
138
|
+
endedAt?: string | null | undefined | undefined;
|
|
144
139
|
user: {
|
|
145
140
|
name: string;
|
|
146
141
|
id: string;
|
|
147
|
-
code?: string | undefined;
|
|
148
142
|
};
|
|
149
|
-
restaurantId: string;
|
|
150
|
-
restaurantName: string;
|
|
151
|
-
endedAt?: string | null | undefined | undefined;
|
|
152
143
|
_id: string;
|
|
153
144
|
startedAt: string;
|
|
154
145
|
}[]>;
|
|
155
|
-
readTimesheet: (start: Date, end: Date
|
|
146
|
+
readTimesheet: (start: Date, end: Date) => Promise<void>;
|
|
156
147
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
157
148
|
}, "timesheets">>, options?: {
|
|
158
149
|
detached?: boolean;
|
|
@@ -163,14 +154,13 @@ export declare const useTimesheetStore: () => {
|
|
|
163
154
|
end: string;
|
|
164
155
|
totalMin: number;
|
|
165
156
|
duration: string;
|
|
157
|
+
restaurantId: string;
|
|
158
|
+
restaurantName: string;
|
|
159
|
+
endedAt?: string | null | undefined | undefined;
|
|
166
160
|
user: {
|
|
167
161
|
name: string;
|
|
168
162
|
id: string;
|
|
169
|
-
code?: string | undefined;
|
|
170
163
|
};
|
|
171
|
-
restaurantId: string;
|
|
172
|
-
restaurantName: string;
|
|
173
|
-
endedAt?: string | null | undefined | undefined;
|
|
174
164
|
_id: string;
|
|
175
165
|
startedAt: string;
|
|
176
166
|
}[], Timesheet[] | {
|
|
@@ -178,18 +168,17 @@ export declare const useTimesheetStore: () => {
|
|
|
178
168
|
end: string;
|
|
179
169
|
totalMin: number;
|
|
180
170
|
duration: string;
|
|
171
|
+
restaurantId: string;
|
|
172
|
+
restaurantName: string;
|
|
173
|
+
endedAt?: string | null | undefined | undefined;
|
|
181
174
|
user: {
|
|
182
175
|
name: string;
|
|
183
176
|
id: string;
|
|
184
|
-
code?: string | undefined;
|
|
185
177
|
};
|
|
186
|
-
restaurantId: string;
|
|
187
|
-
restaurantName: string;
|
|
188
|
-
endedAt?: string | null | undefined | undefined;
|
|
189
178
|
_id: string;
|
|
190
179
|
startedAt: string;
|
|
191
180
|
}[]>;
|
|
192
|
-
readTimesheet: (start: Date, end: Date
|
|
181
|
+
readTimesheet: (start: Date, end: Date) => Promise<void>;
|
|
193
182
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
194
183
|
}, "timesheets">, Pick<{
|
|
195
184
|
timesheets: import("vue").Ref<{
|
|
@@ -197,14 +186,13 @@ export declare const useTimesheetStore: () => {
|
|
|
197
186
|
end: string;
|
|
198
187
|
totalMin: number;
|
|
199
188
|
duration: string;
|
|
189
|
+
restaurantId: string;
|
|
190
|
+
restaurantName: string;
|
|
191
|
+
endedAt?: string | null | undefined | undefined;
|
|
200
192
|
user: {
|
|
201
193
|
name: string;
|
|
202
194
|
id: string;
|
|
203
|
-
code?: string | undefined;
|
|
204
195
|
};
|
|
205
|
-
restaurantId: string;
|
|
206
|
-
restaurantName: string;
|
|
207
|
-
endedAt?: string | null | undefined | undefined;
|
|
208
196
|
_id: string;
|
|
209
197
|
startedAt: string;
|
|
210
198
|
}[], Timesheet[] | {
|
|
@@ -212,18 +200,17 @@ export declare const useTimesheetStore: () => {
|
|
|
212
200
|
end: string;
|
|
213
201
|
totalMin: number;
|
|
214
202
|
duration: string;
|
|
203
|
+
restaurantId: string;
|
|
204
|
+
restaurantName: string;
|
|
205
|
+
endedAt?: string | null | undefined | undefined;
|
|
215
206
|
user: {
|
|
216
207
|
name: string;
|
|
217
208
|
id: string;
|
|
218
|
-
code?: string | undefined;
|
|
219
209
|
};
|
|
220
|
-
restaurantId: string;
|
|
221
|
-
restaurantName: string;
|
|
222
|
-
endedAt?: string | null | undefined | undefined;
|
|
223
210
|
_id: string;
|
|
224
211
|
startedAt: string;
|
|
225
212
|
}[]>;
|
|
226
|
-
readTimesheet: (start: Date, end: Date
|
|
213
|
+
readTimesheet: (start: Date, end: Date) => Promise<void>;
|
|
227
214
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
228
215
|
}, never>, Pick<{
|
|
229
216
|
timesheets: import("vue").Ref<{
|
|
@@ -231,14 +218,13 @@ export declare const useTimesheetStore: () => {
|
|
|
231
218
|
end: string;
|
|
232
219
|
totalMin: number;
|
|
233
220
|
duration: string;
|
|
221
|
+
restaurantId: string;
|
|
222
|
+
restaurantName: string;
|
|
223
|
+
endedAt?: string | null | undefined | undefined;
|
|
234
224
|
user: {
|
|
235
225
|
name: string;
|
|
236
226
|
id: string;
|
|
237
|
-
code?: string | undefined;
|
|
238
227
|
};
|
|
239
|
-
restaurantId: string;
|
|
240
|
-
restaurantName: string;
|
|
241
|
-
endedAt?: string | null | undefined | undefined;
|
|
242
228
|
_id: string;
|
|
243
229
|
startedAt: string;
|
|
244
230
|
}[], Timesheet[] | {
|
|
@@ -246,23 +232,22 @@ export declare const useTimesheetStore: () => {
|
|
|
246
232
|
end: string;
|
|
247
233
|
totalMin: number;
|
|
248
234
|
duration: string;
|
|
235
|
+
restaurantId: string;
|
|
236
|
+
restaurantName: string;
|
|
237
|
+
endedAt?: string | null | undefined | undefined;
|
|
249
238
|
user: {
|
|
250
239
|
name: string;
|
|
251
240
|
id: string;
|
|
252
|
-
code?: string | undefined;
|
|
253
241
|
};
|
|
254
|
-
restaurantId: string;
|
|
255
|
-
restaurantName: string;
|
|
256
|
-
endedAt?: string | null | undefined | undefined;
|
|
257
242
|
_id: string;
|
|
258
243
|
startedAt: string;
|
|
259
244
|
}[]>;
|
|
260
|
-
readTimesheet: (start: Date, end: Date
|
|
245
|
+
readTimesheet: (start: Date, end: Date) => Promise<void>;
|
|
261
246
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
262
247
|
}, "readTimesheet" | "updateTimesheet">>, detached?: boolean): () => void;
|
|
263
248
|
$dispose(): void;
|
|
264
249
|
$id: "hrm-timesheet";
|
|
265
250
|
_customProperties: Set<string>;
|
|
266
|
-
readTimesheet: (start: Date, end: Date
|
|
251
|
+
readTimesheet: (start: Date, end: Date) => Promise<void>;
|
|
267
252
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
268
253
|
};
|