@feedmepos/mf-hrm-portal 2.3.0-dev.2 → 2.3.0-dev.3
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-CJaNPHZC.js → ApprovalCodeList-SjyWZghY.js} +2 -2
- package/dist/{AuditLogList-CHA98ZqW.js → AuditLogList-aTI3QeO0.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7rvthEI.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang--JTV7non.js} +2 -2
- package/dist/{EmployeeList-CVmMKt71.js → EmployeeList-D2Q_2ZE0.js} +4 -4
- package/dist/{GrantUserList-MYjgt5-F.js → GrantUserList-6YXLPuHR.js} +3 -3
- package/dist/{Main-C0cnqQ3B.js → Main-B-a6F9g8.js} +5 -5
- package/dist/{Main-hlcHtrsc.js → Main-CFIWlIaC.js} +2 -2
- package/dist/{Main-BgB9lD4K.js → Main-dSqOeBRJ.js} +9 -9
- package/dist/{PermissionSetList-5f1WIaVa.js → PermissionSetList-DxkaPCMs.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CFoTAGIX.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DnKckKZ0.js} +999 -999
- package/dist/{RoleList-DNR4miXr.js → RoleList-DQZ_w5uM.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B4VUyKW3.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dr6QruG6.js} +1 -1
- package/dist/{ScheduleGeneralPage-Cd5AlY4z.js → ScheduleGeneralPage-CvskrXcV.js} +6 -6
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-Cf0l2MRg.js → ScheduleModal.vue_vue_type_script_setup_true_lang-C4On5sVD.js} +178 -209
- package/dist/SchedulePage-CW-K836l.js +18248 -0
- package/dist/{SchedulePositionPage-DyRckyUx.js → SchedulePositionPage-BGrZBU3g.js} +8 -8
- package/dist/{TeamMemberList-mw5OveZG.js → TeamMemberList-BiTHVJwE.js} +6 -6
- package/dist/{TimesheetList-BzXarZbM.js → TimesheetList-CUkYacGW.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dq5i4poN.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B1Y587O-.js} +2 -2
- package/dist/{app-DSsdRLHg.js → app-CAKCDrbJ.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-B6xBXQtU.js → dayjs.min-CZ8QYRoc.js} +1 -1
- package/dist/{employee-hMhzuqk1.js → employee-D56eWEFe.js} +3 -3
- package/dist/{iteration-B34AvpNC.js → iteration-BVJdyLNq.js} +1 -1
- package/dist/{lodash-1Vyuy7Mu.js → lodash-BcIRkQPW.js} +1 -1
- package/dist/{role-DKOrgO6f.js → role-B-eZDaBX.js} +1 -1
- package/dist/{rule-CBzQ3GeV.js → rule-D6AIfx8b.js} +2 -2
- package/dist/src/api/schedule/index.d.ts +2 -4
- package/dist/src/composables/useMessage.d.ts +2 -8
- package/dist/src/types/schedule.d.ts +1 -1
- package/dist/src/views/scheduling/composables/scheduleAutoSolver.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +4 -114
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -1
- package/dist/src/views/scheduling/schedule-state.d.ts +106 -106
- package/dist/src/views/scheduling/schedule-store.d.ts +2 -4
- package/dist/src/views/scheduling/types.d.ts +0 -3
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-B2ev0j4w.js → useReportPermissions-DHA0jrIr.js} +3 -3
- package/package.json +1 -2
- package/dist/SchedulePage-C8m0-m3l.js +0 -18257
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +0 -33
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +0 -13
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +0 -10
|
@@ -9,41 +9,6 @@ import type { CompGroupMeta, ExistingStaffCandidate, ShiftTemplate } from './typ
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const scheduleState: {
|
|
11
11
|
payload: import("vue").ShallowRef<{
|
|
12
|
-
timeOff: {
|
|
13
|
-
type: "OFF_DAY" | "LEAVE";
|
|
14
|
-
status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
15
|
-
id: string;
|
|
16
|
-
employeeId: string;
|
|
17
|
-
leaveType: "UNPAID" | "ANNUAL" | "MEDICAL" | "EMERGENCY" | null;
|
|
18
|
-
startDate: string;
|
|
19
|
-
endDate: string;
|
|
20
|
-
startPart: "FULL_DAY" | "AM" | "PM";
|
|
21
|
-
endPart: "FULL_DAY" | "AM" | "PM";
|
|
22
|
-
reason: string;
|
|
23
|
-
attachmentIds: string[];
|
|
24
|
-
requestedBy: string;
|
|
25
|
-
requestedAt: string;
|
|
26
|
-
approvedBy: string | null;
|
|
27
|
-
approvedAt: string | null;
|
|
28
|
-
approvalComment: string | null;
|
|
29
|
-
}[];
|
|
30
|
-
outlet: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
};
|
|
34
|
-
range: {
|
|
35
|
-
from: string;
|
|
36
|
-
to: string;
|
|
37
|
-
};
|
|
38
|
-
days: {
|
|
39
|
-
date: string;
|
|
40
|
-
id: string;
|
|
41
|
-
updatedAt: string;
|
|
42
|
-
isPublicHoliday: boolean;
|
|
43
|
-
title: string;
|
|
44
|
-
description: string;
|
|
45
|
-
salesForecastOverride: number | null;
|
|
46
|
-
}[];
|
|
47
12
|
demands: {
|
|
48
13
|
date: string | null;
|
|
49
14
|
startTime: string;
|
|
@@ -56,6 +21,14 @@ export declare const scheduleState: {
|
|
|
56
21
|
} | null;
|
|
57
22
|
headcount: number;
|
|
58
23
|
}[];
|
|
24
|
+
outlet: {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
28
|
+
range: {
|
|
29
|
+
from: string;
|
|
30
|
+
to: string;
|
|
31
|
+
};
|
|
59
32
|
settings: {
|
|
60
33
|
overtime: {
|
|
61
34
|
maxMonthlyHours: number;
|
|
@@ -135,7 +108,15 @@ export declare const scheduleState: {
|
|
|
135
108
|
})[];
|
|
136
109
|
updatedAt: string;
|
|
137
110
|
}[];
|
|
138
|
-
|
|
111
|
+
days: {
|
|
112
|
+
date: string;
|
|
113
|
+
id: string;
|
|
114
|
+
updatedAt: string;
|
|
115
|
+
title: string;
|
|
116
|
+
description: string;
|
|
117
|
+
isPublicHoliday: boolean;
|
|
118
|
+
salesForecastOverride: number | null;
|
|
119
|
+
}[];
|
|
139
120
|
timeOff: {
|
|
140
121
|
type: "OFF_DAY" | "LEAVE";
|
|
141
122
|
status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
@@ -154,23 +135,7 @@ export declare const scheduleState: {
|
|
|
154
135
|
approvedAt: string | null;
|
|
155
136
|
approvalComment: string | null;
|
|
156
137
|
}[];
|
|
157
|
-
|
|
158
|
-
id: string;
|
|
159
|
-
name: string;
|
|
160
|
-
};
|
|
161
|
-
range: {
|
|
162
|
-
from: string;
|
|
163
|
-
to: string;
|
|
164
|
-
};
|
|
165
|
-
days: {
|
|
166
|
-
date: string;
|
|
167
|
-
id: string;
|
|
168
|
-
updatedAt: string;
|
|
169
|
-
isPublicHoliday: boolean;
|
|
170
|
-
title: string;
|
|
171
|
-
description: string;
|
|
172
|
-
salesForecastOverride: number | null;
|
|
173
|
-
}[];
|
|
138
|
+
} | null, {
|
|
174
139
|
demands: {
|
|
175
140
|
date: string | null;
|
|
176
141
|
startTime: string;
|
|
@@ -183,6 +148,14 @@ export declare const scheduleState: {
|
|
|
183
148
|
} | null;
|
|
184
149
|
headcount: number;
|
|
185
150
|
}[];
|
|
151
|
+
outlet: {
|
|
152
|
+
id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
};
|
|
155
|
+
range: {
|
|
156
|
+
from: string;
|
|
157
|
+
to: string;
|
|
158
|
+
};
|
|
186
159
|
settings: {
|
|
187
160
|
overtime: {
|
|
188
161
|
maxMonthlyHours: number;
|
|
@@ -262,6 +235,33 @@ export declare const scheduleState: {
|
|
|
262
235
|
})[];
|
|
263
236
|
updatedAt: string;
|
|
264
237
|
}[];
|
|
238
|
+
days: {
|
|
239
|
+
date: string;
|
|
240
|
+
id: string;
|
|
241
|
+
updatedAt: string;
|
|
242
|
+
title: string;
|
|
243
|
+
description: string;
|
|
244
|
+
isPublicHoliday: boolean;
|
|
245
|
+
salesForecastOverride: number | null;
|
|
246
|
+
}[];
|
|
247
|
+
timeOff: {
|
|
248
|
+
type: "OFF_DAY" | "LEAVE";
|
|
249
|
+
status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
250
|
+
id: string;
|
|
251
|
+
employeeId: string;
|
|
252
|
+
leaveType: "UNPAID" | "ANNUAL" | "MEDICAL" | "EMERGENCY" | null;
|
|
253
|
+
startDate: string;
|
|
254
|
+
endDate: string;
|
|
255
|
+
startPart: "FULL_DAY" | "AM" | "PM";
|
|
256
|
+
endPart: "FULL_DAY" | "AM" | "PM";
|
|
257
|
+
reason: string;
|
|
258
|
+
attachmentIds: string[];
|
|
259
|
+
requestedBy: string;
|
|
260
|
+
requestedAt: string;
|
|
261
|
+
approvedBy: string | null;
|
|
262
|
+
approvedAt: string | null;
|
|
263
|
+
approvalComment: string | null;
|
|
264
|
+
}[];
|
|
265
265
|
} | null>;
|
|
266
266
|
loading: import("vue").Ref<boolean, boolean>;
|
|
267
267
|
rosterLoading: import("vue").Ref<boolean, boolean>;
|
|
@@ -365,41 +365,6 @@ export declare const scheduleState: {
|
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
367
|
export declare const payload: import("vue").ShallowRef<{
|
|
368
|
-
timeOff: {
|
|
369
|
-
type: "OFF_DAY" | "LEAVE";
|
|
370
|
-
status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
371
|
-
id: string;
|
|
372
|
-
employeeId: string;
|
|
373
|
-
leaveType: "UNPAID" | "ANNUAL" | "MEDICAL" | "EMERGENCY" | null;
|
|
374
|
-
startDate: string;
|
|
375
|
-
endDate: string;
|
|
376
|
-
startPart: "FULL_DAY" | "AM" | "PM";
|
|
377
|
-
endPart: "FULL_DAY" | "AM" | "PM";
|
|
378
|
-
reason: string;
|
|
379
|
-
attachmentIds: string[];
|
|
380
|
-
requestedBy: string;
|
|
381
|
-
requestedAt: string;
|
|
382
|
-
approvedBy: string | null;
|
|
383
|
-
approvedAt: string | null;
|
|
384
|
-
approvalComment: string | null;
|
|
385
|
-
}[];
|
|
386
|
-
outlet: {
|
|
387
|
-
id: string;
|
|
388
|
-
name: string;
|
|
389
|
-
};
|
|
390
|
-
range: {
|
|
391
|
-
from: string;
|
|
392
|
-
to: string;
|
|
393
|
-
};
|
|
394
|
-
days: {
|
|
395
|
-
date: string;
|
|
396
|
-
id: string;
|
|
397
|
-
updatedAt: string;
|
|
398
|
-
isPublicHoliday: boolean;
|
|
399
|
-
title: string;
|
|
400
|
-
description: string;
|
|
401
|
-
salesForecastOverride: number | null;
|
|
402
|
-
}[];
|
|
403
368
|
demands: {
|
|
404
369
|
date: string | null;
|
|
405
370
|
startTime: string;
|
|
@@ -412,6 +377,14 @@ export declare const payload: import("vue").ShallowRef<{
|
|
|
412
377
|
} | null;
|
|
413
378
|
headcount: number;
|
|
414
379
|
}[];
|
|
380
|
+
outlet: {
|
|
381
|
+
id: string;
|
|
382
|
+
name: string;
|
|
383
|
+
};
|
|
384
|
+
range: {
|
|
385
|
+
from: string;
|
|
386
|
+
to: string;
|
|
387
|
+
};
|
|
415
388
|
settings: {
|
|
416
389
|
overtime: {
|
|
417
390
|
maxMonthlyHours: number;
|
|
@@ -491,7 +464,15 @@ export declare const payload: import("vue").ShallowRef<{
|
|
|
491
464
|
})[];
|
|
492
465
|
updatedAt: string;
|
|
493
466
|
}[];
|
|
494
|
-
|
|
467
|
+
days: {
|
|
468
|
+
date: string;
|
|
469
|
+
id: string;
|
|
470
|
+
updatedAt: string;
|
|
471
|
+
title: string;
|
|
472
|
+
description: string;
|
|
473
|
+
isPublicHoliday: boolean;
|
|
474
|
+
salesForecastOverride: number | null;
|
|
475
|
+
}[];
|
|
495
476
|
timeOff: {
|
|
496
477
|
type: "OFF_DAY" | "LEAVE";
|
|
497
478
|
status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
@@ -510,23 +491,7 @@ export declare const payload: import("vue").ShallowRef<{
|
|
|
510
491
|
approvedAt: string | null;
|
|
511
492
|
approvalComment: string | null;
|
|
512
493
|
}[];
|
|
513
|
-
|
|
514
|
-
id: string;
|
|
515
|
-
name: string;
|
|
516
|
-
};
|
|
517
|
-
range: {
|
|
518
|
-
from: string;
|
|
519
|
-
to: string;
|
|
520
|
-
};
|
|
521
|
-
days: {
|
|
522
|
-
date: string;
|
|
523
|
-
id: string;
|
|
524
|
-
updatedAt: string;
|
|
525
|
-
isPublicHoliday: boolean;
|
|
526
|
-
title: string;
|
|
527
|
-
description: string;
|
|
528
|
-
salesForecastOverride: number | null;
|
|
529
|
-
}[];
|
|
494
|
+
} | null, {
|
|
530
495
|
demands: {
|
|
531
496
|
date: string | null;
|
|
532
497
|
startTime: string;
|
|
@@ -539,6 +504,14 @@ export declare const payload: import("vue").ShallowRef<{
|
|
|
539
504
|
} | null;
|
|
540
505
|
headcount: number;
|
|
541
506
|
}[];
|
|
507
|
+
outlet: {
|
|
508
|
+
id: string;
|
|
509
|
+
name: string;
|
|
510
|
+
};
|
|
511
|
+
range: {
|
|
512
|
+
from: string;
|
|
513
|
+
to: string;
|
|
514
|
+
};
|
|
542
515
|
settings: {
|
|
543
516
|
overtime: {
|
|
544
517
|
maxMonthlyHours: number;
|
|
@@ -618,6 +591,33 @@ export declare const payload: import("vue").ShallowRef<{
|
|
|
618
591
|
})[];
|
|
619
592
|
updatedAt: string;
|
|
620
593
|
}[];
|
|
594
|
+
days: {
|
|
595
|
+
date: string;
|
|
596
|
+
id: string;
|
|
597
|
+
updatedAt: string;
|
|
598
|
+
title: string;
|
|
599
|
+
description: string;
|
|
600
|
+
isPublicHoliday: boolean;
|
|
601
|
+
salesForecastOverride: number | null;
|
|
602
|
+
}[];
|
|
603
|
+
timeOff: {
|
|
604
|
+
type: "OFF_DAY" | "LEAVE";
|
|
605
|
+
status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
606
|
+
id: string;
|
|
607
|
+
employeeId: string;
|
|
608
|
+
leaveType: "UNPAID" | "ANNUAL" | "MEDICAL" | "EMERGENCY" | null;
|
|
609
|
+
startDate: string;
|
|
610
|
+
endDate: string;
|
|
611
|
+
startPart: "FULL_DAY" | "AM" | "PM";
|
|
612
|
+
endPart: "FULL_DAY" | "AM" | "PM";
|
|
613
|
+
reason: string;
|
|
614
|
+
attachmentIds: string[];
|
|
615
|
+
requestedBy: string;
|
|
616
|
+
requestedAt: string;
|
|
617
|
+
approvedBy: string | null;
|
|
618
|
+
approvedAt: string | null;
|
|
619
|
+
approvalComment: string | null;
|
|
620
|
+
}[];
|
|
621
621
|
} | null>, loading: import("vue").Ref<boolean, boolean>, rosterLoading: import("vue").Ref<boolean, boolean>, loadError: import("vue").Ref<string | null, string | null>, scheduleSetupCompleted: import("vue").Ref<boolean, boolean>, dataVersion: import("vue").Ref<number, number>, outletId: import("vue").Ref<string, string>, restaurantEmployees: import("vue").Ref<{
|
|
622
622
|
_id: string;
|
|
623
623
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ScheduleAPI from '@/api/schedule';
|
|
2
2
|
import type { IFdtoPosUserSummary } from '@/types/employee';
|
|
3
|
-
import type { FdtoScheduleAssignment,
|
|
3
|
+
import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleSaveAssignmentReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq, FdtoScheduleSaveEmployeeConfigsReq, ScheduleReplaceDemandReq } from '@/types/schedule';
|
|
4
4
|
import { isoDateKey } from './composables/schedule-calendar';
|
|
5
5
|
export { businessEmployees, dataVersion, employeeOutletIds, loadError, loading, outletId, payload, restaurantEmployees, employeeConfigs, rosterLoading, scheduleSetupCompleted, } from './schedule-state';
|
|
6
6
|
/** dayjs-free local-date key — the board's own isoDateKey, repeated here so the store does not
|
|
@@ -87,9 +87,7 @@ export declare function saveDemand(req: ScheduleReplaceDemandReq): Promise<void>
|
|
|
87
87
|
* week, so repeating it per date would only shadow later edits to the rule. Returns how many rows
|
|
88
88
|
* were written. */
|
|
89
89
|
export declare function copyDateDemand(fromDate: string, toDate: string): Promise<number>;
|
|
90
|
-
export declare function generateAutoSchedule(req:
|
|
91
|
-
export declare function getAutoScheduleCapabilities(): Promise<FdtoScheduleAutoScheduleCapabilities>;
|
|
92
|
-
export declare function applyAutoSchedule(req: FdtoScheduleAutoScheduleApplyReq): Promise<FdtoScheduleAutoScheduleApplyResult>;
|
|
90
|
+
export declare function generateAutoSchedule(req: FdtoScheduleAutoScheduleReq): Promise<FdtoScheduleAutoScheduleResult>;
|
|
93
91
|
/** A one-off shift assignment — someone working these hours on this date, not answering any
|
|
94
92
|
* Shift requirement. Deliberately does not reload: unlike `createEmployeeProfile` above, there
|
|
95
93
|
* is nothing here a reload could bring back that the caller doesn't already have — `commitShift`
|
|
@@ -342,9 +342,6 @@ export interface Proposal {
|
|
|
342
342
|
start: string;
|
|
343
343
|
end: string;
|
|
344
344
|
role: string;
|
|
345
|
-
/** The position backing `role`, when the auto-schedule result named one. `null`/absent means
|
|
346
|
-
* any position (an unnamed need). */
|
|
347
|
-
positionId?: string | null;
|
|
348
345
|
/** Set when this proposal would fill a named OpenShift record. */
|
|
349
346
|
openId?: number;
|
|
350
347
|
status: 'pending' | 'rejected';
|