@feedmepos/mf-hrm-portal 2.3.2-dev.8 → 2.3.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/{ApprovalCodeList-DIYhVMGW.js → ApprovalCodeList-C9r8CGNH.js} +15 -14
- package/dist/{AuditLogList-DIc3Jgpr.js → AuditLogList-Cu-KcQKa.js} +152 -147
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BQ-uIsTN.js +438 -0
- package/dist/EmployeeList-BaFqZnFM.js +776 -0
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-Be1OU1_r.js +45 -0
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
- package/dist/{GrantUserList-8zmzFk9z.js → GrantUserList-Bjhx60M7.js} +16 -15
- package/dist/Main-CJQpjOgY.js +96 -0
- package/dist/{Main-DYzFd_qa.js → Main-DHiTgiDR.js} +5 -5
- package/dist/{Main-gRu17-N6.js → Main-LpfQqR_u.js} +999 -1005
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
- package/dist/{PermissionSetList-CL42jQY4.js → PermissionSetList-C0OZ_dvE.js} +76 -76
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-T7dkd5Uv.js +4167 -0
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-EwU7gHP7.js +35 -0
- package/dist/RoleList-DpyW5XLs.js +740 -0
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B9NMhw9Z.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CqP-Dn1X.js} +1 -1
- package/dist/{ScheduleGeneralPage-751cEUwS.js → ScheduleGeneralPage-BNHi5jGf.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-CBDNfiIM.js → ScheduleModal.vue_vue_type_script_setup_true_lang-B609MZoP.js} +186 -187
- package/dist/{SchedulePage-C-NcbGIl.js → SchedulePage-CrP5_m3p.js} +13 -13
- package/dist/{SchedulePositionPage-Ba0iiSRg.js → SchedulePositionPage-ei_NKAUw.js} +3 -3
- package/dist/{SelectFilter-Dpsq165k.js → SelectFilter-CEYQ-ViE.js} +1 -1
- package/dist/TeamMemberList-rPiKKu2b.js +1154 -0
- package/dist/TimesheetList-B1L4WkNh.js +402 -0
- package/dist/TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-By6YR-k2.js +58 -0
- package/dist/{app-DXkKrcRn.js → app-BzlH-2cN.js} +4015 -7756
- package/dist/app.js +3 -3
- package/dist/{approval-code-D2pGW-sI.js → approval-code-CWq2ce3u.js} +1 -1
- package/dist/{dayjs.min-BAz84JAQ.js → dayjs.min-D6T4JzVv.js} +21 -21
- package/dist/employee-Bw7kRokg.js +209 -0
- package/dist/{grant-user-B95RDjkR.js → grant-user-q_mkj3Vh.js} +1 -1
- package/dist/{index-TrBkLxJe.js → iteration-Dz0e08VH.js} +726 -698
- package/dist/{lodash-DXRsZpTB.js → lodash-DGG_-VgI.js} +1 -1
- package/dist/restaurant-DJBQY9N5.js +2688 -0
- package/dist/role-CiRbkZSm.js +92 -0
- package/dist/rule-DMgkHpva.js +783 -0
- package/dist/src/api/employee/index.d.ts +2 -1
- package/dist/src/api/timesheet/index.d.ts +1 -1
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +3 -11
- package/dist/src/helpers/permission-set.d.ts +102 -1
- package/dist/src/helpers/rule.d.ts +2 -2
- package/dist/src/helpers/string.d.ts +1 -10
- package/dist/src/router/shared.d.ts +1 -3
- package/dist/src/stores/employee.d.ts +7 -1
- package/dist/src/stores/restaurant.d.ts +8 -68
- package/dist/src/stores/team.d.ts +0 -30
- package/dist/src/stores/timesheet.d.ts +51 -66
- package/dist/src/types/team.d.ts +1 -17
- package/dist/src/types/timesheet.d.ts +0 -3
- package/dist/src/views/audit-log/constants.d.ts +1 -1
- package/dist/src/views/audit-log/locales/index.d.ts +16 -12
- package/dist/src/views/hr/locales/index.d.ts +0 -20
- package/dist/src/views/hr/role/RoleForm.vue.d.ts +2 -29
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +1 -1
- package/dist/src/views/team/components/BasePermission.vue.d.ts +0 -11
- package/dist/src/views/team/components/ConditionPermission.vue.d.ts +0 -11
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +0 -21
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +0 -11
- package/dist/src/views/team/locales/index.d.ts +0 -716
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -48
- package/dist/src/views/team/{components/MemberStatusBadge.vue.d.ts → member/MemberInfo.vue.d.ts} +2 -2
- package/dist/src/views/team/member/TeamMemberList.vue.d.ts +0 -1
- package/dist/string-VNuQNweN.js +15 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-7O0GMkXY.js → useAppStore-TRX-PQD4.js} +1 -1
- package/dist/{useLoading-BZXydjer.js → useLoading-W3YSF8OB.js} +1 -1
- package/dist/{useReportPermissions-Cn3ntCJ9.js → useReportPermissions-CCkCAaGO.js} +3 -3
- package/package.json +3 -3
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4YsF7lXu.js +0 -459
- package/dist/EmployeeList-iVg4pI9Y.js +0 -896
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-C9AE0EHw.js +0 -90
- package/dist/Main-ClJox3pV.js +0 -101
- package/dist/MyPosProfile-ARRrolbz.js +0 -290
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +0 -126
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DkA0XbZw.js +0 -4208
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-CA87qQ4b.js +0 -1831
- package/dist/RoleForm.vue_vue_type_script_setup_true_lang-B3N3hTcU.js +0 -547
- package/dist/RoleList-F9ZORhgE.js +0 -265
- package/dist/TeamMemberList-DZ0aRbxg.js +0 -2087
- package/dist/TimesheetList-DO5T__dL.js +0 -437
- package/dist/employee-yYhuhc9L.js +0 -172
- package/dist/iteration-CcXrOMQe.js +0 -30
- package/dist/member-grant-ByAQ1Qja.js +0 -54
- package/dist/restaurant-COSpCpTQ.js +0 -52
- package/dist/role-ZmCd2yG4.js +0 -98
- package/dist/rule-Bty9eoI3.js +0 -843
- package/dist/src/api/my-pos-profile/index.d.ts +0 -3
- package/dist/src/api/sso-provider/index.d.ts +0 -5
- package/dist/src/api/staff-invite/index.d.ts +0 -16
- package/dist/src/components/form/SegmentedTabs.vue.d.ts +0 -23
- package/dist/src/composables/useMenuAccess.d.ts +0 -56
- package/dist/src/composables/useSsoProviders.d.ts +0 -19
- package/dist/src/composables/useStaffInviteProviders.d.ts +0 -8
- package/dist/src/helpers/member-grant.d.ts +0 -36
- package/dist/src/helpers/my-pos-profile.d.ts +0 -37
- package/dist/src/helpers/pos-assignment-rows.d.ts +0 -28
- package/dist/src/helpers/staff-invite.d.ts +0 -54
- package/dist/src/router/menu-access-guard.d.ts +0 -17
- package/dist/src/types/my-pos-profile.d.ts +0 -24
- package/dist/src/types/sso-provider.d.ts +0 -10
- package/dist/src/types/staff-invite.d.ts +0 -100
- package/dist/src/views/my-pos-profile/MyPosProfile.vue.d.ts +0 -2
- package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +0 -4
- package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -196
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +0 -51
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -44
- package/dist/src/views/team/member/ExistingMemberNotice.vue.d.ts +0 -11
- package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +0 -35
- package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +0 -19
- package/dist/string-DZQ1uNjn.js +0 -22
- package/dist/timesheet-CFD6XPiG.js +0 -76
|
@@ -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
|
};
|
package/dist/src/types/team.d.ts
CHANGED
|
@@ -19,12 +19,7 @@ export interface IFdtoPortalUser extends IPermissionUser {
|
|
|
19
19
|
phoneNumber: string;
|
|
20
20
|
email: string;
|
|
21
21
|
posUser?: IFdtoPermissionPosUser;
|
|
22
|
-
employeeId?: string | null;
|
|
23
|
-
loginMethod: TeamMemberLoginMethod;
|
|
24
|
-
status: TeamMemberStatus;
|
|
25
22
|
}
|
|
26
|
-
export type TeamMemberStatus = 'active' | 'invited';
|
|
27
|
-
export type TeamMemberLoginMethod = 'sso' | 'feedme';
|
|
28
23
|
export interface IFdtoPortalUserPage {
|
|
29
24
|
items: IFdtoPortalUser[];
|
|
30
25
|
total: number;
|
|
@@ -39,16 +34,10 @@ export interface IFdtoPermissionPosUserRole {
|
|
|
39
34
|
restaurantId: string;
|
|
40
35
|
roleId: string;
|
|
41
36
|
}
|
|
42
|
-
/** On a member edit `passcode` is sent only when the admin changed it; absent keeps the stored one. */
|
|
43
|
-
export type IFdtoUpdatePermissionPosUser = Omit<IFdtoPermissionPosUser, 'passcode'> & {
|
|
44
|
-
passcode?: string;
|
|
45
|
-
};
|
|
46
37
|
export interface IFdtoUpdatePortalUserReq {
|
|
47
|
-
/** Absent keeps the stored one; '' clears it. */
|
|
48
|
-
employeeId?: string;
|
|
49
38
|
/** @deprecated use customPermissions instead */
|
|
50
39
|
permissions?: FdoPermissionRule[];
|
|
51
|
-
posUser?:
|
|
40
|
+
posUser?: IFdtoPermissionPosUser | null;
|
|
52
41
|
permissionSetIds?: string[];
|
|
53
42
|
customPermissions?: FdoPermissionRule[];
|
|
54
43
|
}
|
|
@@ -60,7 +49,6 @@ export interface IFdtoCreatePortalUserReq {
|
|
|
60
49
|
permissionSetIds?: string[];
|
|
61
50
|
customPermissions: FdoPermissionRule[];
|
|
62
51
|
name?: string;
|
|
63
|
-
employeeId?: string;
|
|
64
52
|
posUser?: IFdtoPermissionPosUser | null;
|
|
65
53
|
}
|
|
66
54
|
export interface FTeamMember {
|
|
@@ -72,8 +60,6 @@ export interface FTeamMember {
|
|
|
72
60
|
managableRestaurantIds: string[] | null;
|
|
73
61
|
permissions: FdoPermissionRule[];
|
|
74
62
|
permissionLabels: string[];
|
|
75
|
-
status: TeamMemberStatus;
|
|
76
|
-
loginMethod: TeamMemberLoginMethod;
|
|
77
63
|
doc: IFdtoPortalUser;
|
|
78
64
|
}
|
|
79
65
|
export interface IReadTeamMembersPageReq {
|
|
@@ -83,8 +69,6 @@ export interface IReadTeamMembersPageReq {
|
|
|
83
69
|
restaurantIds?: string[];
|
|
84
70
|
permissionSubjects?: string[];
|
|
85
71
|
permissionSetIds?: string[];
|
|
86
|
-
statuses?: TeamMemberStatus[];
|
|
87
|
-
loginMethods?: TeamMemberLoginMethod[];
|
|
88
72
|
}
|
|
89
73
|
export interface IFdtoTeamMemberPage {
|
|
90
74
|
items: FTeamMember[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface AuditLogModuleTab {
|
|
2
|
-
key: 'all' | 'inventory' | 'report' | 'hrm' | 'payment' | 'menu' | 'crm' | 'pos';
|
|
2
|
+
key: 'all' | 'inventory' | 'report' | 'hrm' | 'payment' | 'menu' | 'crm' | 'operation' | 'settings' | 'miniProgram' | 'media' | 'pos';
|
|
3
3
|
label: string;
|
|
4
4
|
/** Portal modules filter by subject namespace. */
|
|
5
5
|
subjectPrefixes: string[];
|
|
@@ -54,6 +54,10 @@ export declare const i18nMessages: {
|
|
|
54
54
|
payment: string;
|
|
55
55
|
menu: string;
|
|
56
56
|
crm: string;
|
|
57
|
+
operation: string;
|
|
58
|
+
settings: string;
|
|
59
|
+
miniProgram: string;
|
|
60
|
+
media: string;
|
|
57
61
|
pos: string;
|
|
58
62
|
other: string;
|
|
59
63
|
more: string;
|
|
@@ -264,9 +268,6 @@ export declare const i18nMessages: {
|
|
|
264
268
|
update: string;
|
|
265
269
|
delete: string;
|
|
266
270
|
"generate-passcode": string;
|
|
267
|
-
invite: string;
|
|
268
|
-
"invite-update": string;
|
|
269
|
-
"invite-revoke": string;
|
|
270
271
|
};
|
|
271
272
|
"pos-user": {
|
|
272
273
|
list: string;
|
|
@@ -411,6 +412,10 @@ export declare const i18nMessages: {
|
|
|
411
412
|
payment: string;
|
|
412
413
|
menu: string;
|
|
413
414
|
crm: string;
|
|
415
|
+
operation: string;
|
|
416
|
+
settings: string;
|
|
417
|
+
miniProgram: string;
|
|
418
|
+
media: string;
|
|
414
419
|
pos: string;
|
|
415
420
|
other: string;
|
|
416
421
|
more: string;
|
|
@@ -622,9 +627,6 @@ export declare const i18nMessages: {
|
|
|
622
627
|
update: string;
|
|
623
628
|
delete: string;
|
|
624
629
|
"generate-passcode": string;
|
|
625
|
-
invite: string;
|
|
626
|
-
"invite-update": string;
|
|
627
|
-
"invite-revoke": string;
|
|
628
630
|
};
|
|
629
631
|
"pos-user": {
|
|
630
632
|
list: string;
|
|
@@ -769,6 +771,10 @@ export declare const i18nMessages: {
|
|
|
769
771
|
payment: string;
|
|
770
772
|
menu: string;
|
|
771
773
|
crm: string;
|
|
774
|
+
operation: string;
|
|
775
|
+
settings: string;
|
|
776
|
+
miniProgram: string;
|
|
777
|
+
media: string;
|
|
772
778
|
pos: string;
|
|
773
779
|
other: string;
|
|
774
780
|
more: string;
|
|
@@ -980,9 +986,6 @@ export declare const i18nMessages: {
|
|
|
980
986
|
update: string;
|
|
981
987
|
delete: string;
|
|
982
988
|
"generate-passcode": string;
|
|
983
|
-
invite: string;
|
|
984
|
-
"invite-update": string;
|
|
985
|
-
"invite-revoke": string;
|
|
986
989
|
};
|
|
987
990
|
"pos-user": {
|
|
988
991
|
list: string;
|
|
@@ -1127,6 +1130,10 @@ export declare const i18nMessages: {
|
|
|
1127
1130
|
payment: string;
|
|
1128
1131
|
menu: string;
|
|
1129
1132
|
crm: string;
|
|
1133
|
+
operation: string;
|
|
1134
|
+
settings: string;
|
|
1135
|
+
miniProgram: string;
|
|
1136
|
+
media: string;
|
|
1130
1137
|
pos: string;
|
|
1131
1138
|
other: string;
|
|
1132
1139
|
more: string;
|
|
@@ -1338,9 +1345,6 @@ export declare const i18nMessages: {
|
|
|
1338
1345
|
update: string;
|
|
1339
1346
|
delete: string;
|
|
1340
1347
|
"generate-passcode": string;
|
|
1341
|
-
invite: string;
|
|
1342
|
-
"invite-update": string;
|
|
1343
|
-
"invite-revoke": string;
|
|
1344
1348
|
};
|
|
1345
1349
|
"pos-user": {
|
|
1346
1350
|
list: string;
|
|
@@ -160,11 +160,6 @@ export declare const i18nMessages: {
|
|
|
160
160
|
"report:timesheet": string;
|
|
161
161
|
"report:counterPayment": string;
|
|
162
162
|
};
|
|
163
|
-
addTitle: string;
|
|
164
|
-
permissionsSubtitle: string;
|
|
165
|
-
namePlaceholder: string;
|
|
166
|
-
permissionAllowed: string;
|
|
167
|
-
permissionsAllowed: string;
|
|
168
163
|
};
|
|
169
164
|
noData: {
|
|
170
165
|
title: string;
|
|
@@ -373,11 +368,6 @@ export declare const i18nMessages: {
|
|
|
373
368
|
"report:timesheet": string;
|
|
374
369
|
"report:counterPayment": string;
|
|
375
370
|
};
|
|
376
|
-
addTitle: string;
|
|
377
|
-
permissionsSubtitle: string;
|
|
378
|
-
namePlaceholder: string;
|
|
379
|
-
permissionAllowed: string;
|
|
380
|
-
permissionsAllowed: string;
|
|
381
371
|
};
|
|
382
372
|
noData: {
|
|
383
373
|
title: string;
|
|
@@ -586,11 +576,6 @@ export declare const i18nMessages: {
|
|
|
586
576
|
"report:timesheet": string;
|
|
587
577
|
"report:counterPayment": string;
|
|
588
578
|
};
|
|
589
|
-
addTitle: string;
|
|
590
|
-
permissionsSubtitle: string;
|
|
591
|
-
namePlaceholder: string;
|
|
592
|
-
permissionAllowed: string;
|
|
593
|
-
permissionsAllowed: string;
|
|
594
579
|
};
|
|
595
580
|
noData: {
|
|
596
581
|
title: string;
|
|
@@ -798,11 +783,6 @@ export declare const i18nMessages: {
|
|
|
798
783
|
"report:timesheet": string;
|
|
799
784
|
"report:counterPayment": string;
|
|
800
785
|
};
|
|
801
|
-
addTitle: string;
|
|
802
|
-
permissionsSubtitle: string;
|
|
803
|
-
namePlaceholder: string;
|
|
804
|
-
permissionAllowed: string;
|
|
805
|
-
permissionsAllowed: string;
|
|
806
786
|
};
|
|
807
787
|
noData: {
|
|
808
788
|
title: string;
|
|
@@ -1,44 +1,17 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
2
|
id: {
|
|
4
3
|
type: StringConstructor;
|
|
5
4
|
default: undefined;
|
|
6
5
|
};
|
|
7
|
-
/** Outlets ticked when creating a role (the member sheet passes the row's outlets). */
|
|
8
|
-
restaurantIds: {
|
|
9
|
-
type: PropType<string[]>;
|
|
10
|
-
default: () => never[];
|
|
11
|
-
};
|
|
12
|
-
/** Opened over another sheet: a back arrow returns to it. */
|
|
13
|
-
showBack: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
6
|
}>, {
|
|
18
7
|
show: import("vue").Ref<boolean, boolean>;
|
|
19
8
|
trigger: () => void;
|
|
20
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
21
|
-
created: (roleId: string) => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
10
|
id: {
|
|
24
11
|
type: StringConstructor;
|
|
25
12
|
default: undefined;
|
|
26
13
|
};
|
|
27
|
-
|
|
28
|
-
restaurantIds: {
|
|
29
|
-
type: PropType<string[]>;
|
|
30
|
-
default: () => never[];
|
|
31
|
-
};
|
|
32
|
-
/** Opened over another sheet: a back arrow returns to it. */
|
|
33
|
-
showBack: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
}>> & Readonly<{
|
|
38
|
-
onCreated?: ((roleId: string) => any) | undefined;
|
|
39
|
-
}>, {
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
40
15
|
id: string;
|
|
41
|
-
restaurantIds: string[];
|
|
42
|
-
showBack: boolean;
|
|
43
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
17
|
export default _default;
|
|
@@ -21,7 +21,7 @@ export interface ScheduleOnboardingAvailabilityOptions {
|
|
|
21
21
|
}
|
|
22
22
|
export declare function useScheduleOnboardingAvailability(options: ScheduleOnboardingAvailabilityOptions): {
|
|
23
23
|
avail: Record<number, AvailRow>;
|
|
24
|
-
avTab: import("vue").Ref<"
|
|
24
|
+
avTab: import("vue").Ref<"full" | "part", "full" | "part">;
|
|
25
25
|
avPicked: Record<number, boolean>;
|
|
26
26
|
avVary: Record<number, boolean>;
|
|
27
27
|
avBulkOpen: import("vue").Ref<boolean, boolean>;
|
|
@@ -726,7 +726,7 @@ export declare function useScheduleOnboardingWizard(board: ScheduleBoardApi, add
|
|
|
726
726
|
reviewRows: import("vue").ComputedRef<ReviewRow[]>;
|
|
727
727
|
goTo: (target: ScheduleOnboardingStep) => void;
|
|
728
728
|
avail: Record<number, import("./onboarding-types").AvailRow>;
|
|
729
|
-
avTab: import("vue").Ref<"
|
|
729
|
+
avTab: import("vue").Ref<"full" | "part", "full" | "part">;
|
|
730
730
|
avPicked: Record<number, boolean>;
|
|
731
731
|
avBulkOpen: import("vue").Ref<boolean, boolean>;
|
|
732
732
|
avBulk: {
|
|
@@ -28,7 +28,7 @@ export declare function useScheduleShiftDraft(): {
|
|
|
28
28
|
positionId: import("vue").Ref<string | undefined, string | undefined>;
|
|
29
29
|
required: import("vue").Ref<number, number>;
|
|
30
30
|
sen: import("vue").Ref<"" | "senior" | "junior", "" | "senior" | "junior">;
|
|
31
|
-
empType: import("vue").Ref<"" | "
|
|
31
|
+
empType: import("vue").Ref<"" | "full" | "part", "" | "full" | "part">;
|
|
32
32
|
roles: import("vue").Ref<{
|
|
33
33
|
position: string;
|
|
34
34
|
count: number;
|
|
@@ -39,7 +39,7 @@ export declare function useScheduleShiftPopover(board: ScheduleBoardApi, demand:
|
|
|
39
39
|
positionId: import("vue").Ref<string | undefined, string | undefined>;
|
|
40
40
|
required: import("vue").Ref<number, number>;
|
|
41
41
|
sen: import("vue").Ref<"" | "senior" | "junior", "" | "senior" | "junior">;
|
|
42
|
-
empType: import("vue").Ref<"" | "
|
|
42
|
+
empType: import("vue").Ref<"" | "full" | "part", "" | "full" | "part">;
|
|
43
43
|
roles: import("vue").Ref<{
|
|
44
44
|
position: string;
|
|
45
45
|
count: number;
|
|
@@ -40,11 +40,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
40
40
|
type: PropType<IFdtoPortalPermissionsWithVisibilityCondition[]>;
|
|
41
41
|
default: () => never[];
|
|
42
42
|
};
|
|
43
|
-
/** 'leading': the member sheet's layout, collapsed with the count under each category. */
|
|
44
|
-
layout: {
|
|
45
|
-
type: PropType<"trailing" | "leading">;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
43
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
49
44
|
"update:model-value": (subject: {
|
|
50
45
|
reason?: string | null | undefined;
|
|
@@ -72,11 +67,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
72
67
|
type: PropType<IFdtoPortalPermissionsWithVisibilityCondition[]>;
|
|
73
68
|
default: () => never[];
|
|
74
69
|
};
|
|
75
|
-
/** 'leading': the member sheet's layout, collapsed with the count under each category. */
|
|
76
|
-
layout: {
|
|
77
|
-
type: PropType<"trailing" | "leading">;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
70
|
}>> & Readonly<{
|
|
81
71
|
"onUpdate:model-value"?: ((subject: {
|
|
82
72
|
reason?: string | null | undefined;
|
|
@@ -88,7 +78,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
88
78
|
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
89
79
|
}[]) => any) | undefined;
|
|
90
80
|
}>, {
|
|
91
|
-
layout: "trailing" | "leading";
|
|
92
81
|
disable: boolean;
|
|
93
82
|
additionalPermissions: IFdtoPortalPermissionsWithVisibilityCondition[];
|
|
94
83
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -26,11 +26,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
|
-
/** 'leading': the member sheet's layout, with the chosen names under the title. */
|
|
30
|
-
layout: {
|
|
31
|
-
type: PropType<"trailing" | "leading">;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
29
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
30
|
"update:model-value": (...args: any[]) => void;
|
|
36
31
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -53,16 +48,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
53
48
|
type: StringConstructor;
|
|
54
49
|
required: true;
|
|
55
50
|
};
|
|
56
|
-
/** 'leading': the member sheet's layout, with the chosen names under the title. */
|
|
57
|
-
layout: {
|
|
58
|
-
type: PropType<"trailing" | "leading">;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
51
|
}>> & Readonly<{
|
|
62
52
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
63
53
|
}>, {
|
|
64
54
|
modelValue: string[] | null;
|
|
65
|
-
layout: "trailing" | "leading";
|
|
66
55
|
disable: boolean;
|
|
67
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
57
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|