@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.
Files changed (45) hide show
  1. package/dist/{ApprovalCodeList-CJaNPHZC.js → ApprovalCodeList-SjyWZghY.js} +2 -2
  2. package/dist/{AuditLogList-CHA98ZqW.js → AuditLogList-aTI3QeO0.js} +3 -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
  4. package/dist/{EmployeeList-CVmMKt71.js → EmployeeList-D2Q_2ZE0.js} +4 -4
  5. package/dist/{GrantUserList-MYjgt5-F.js → GrantUserList-6YXLPuHR.js} +3 -3
  6. package/dist/{Main-C0cnqQ3B.js → Main-B-a6F9g8.js} +5 -5
  7. package/dist/{Main-hlcHtrsc.js → Main-CFIWlIaC.js} +2 -2
  8. package/dist/{Main-BgB9lD4K.js → Main-dSqOeBRJ.js} +9 -9
  9. package/dist/{PermissionSetList-5f1WIaVa.js → PermissionSetList-DxkaPCMs.js} +5 -5
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CFoTAGIX.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DnKckKZ0.js} +999 -999
  11. package/dist/{RoleList-DNR4miXr.js → RoleList-DQZ_w5uM.js} +7 -7
  12. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B4VUyKW3.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dr6QruG6.js} +1 -1
  13. package/dist/{ScheduleGeneralPage-Cd5AlY4z.js → ScheduleGeneralPage-CvskrXcV.js} +6 -6
  14. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-Cf0l2MRg.js → ScheduleModal.vue_vue_type_script_setup_true_lang-C4On5sVD.js} +178 -209
  15. package/dist/SchedulePage-CW-K836l.js +18248 -0
  16. package/dist/{SchedulePositionPage-DyRckyUx.js → SchedulePositionPage-BGrZBU3g.js} +8 -8
  17. package/dist/{TeamMemberList-mw5OveZG.js → TeamMemberList-BiTHVJwE.js} +6 -6
  18. package/dist/{TimesheetList-BzXarZbM.js → TimesheetList-CUkYacGW.js} +5 -5
  19. 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
  20. package/dist/{app-DSsdRLHg.js → app-CAKCDrbJ.js} +8 -8
  21. package/dist/app.js +1 -1
  22. package/dist/{dayjs.min-B6xBXQtU.js → dayjs.min-CZ8QYRoc.js} +1 -1
  23. package/dist/{employee-hMhzuqk1.js → employee-D56eWEFe.js} +3 -3
  24. package/dist/{iteration-B34AvpNC.js → iteration-BVJdyLNq.js} +1 -1
  25. package/dist/{lodash-1Vyuy7Mu.js → lodash-BcIRkQPW.js} +1 -1
  26. package/dist/{role-DKOrgO6f.js → role-B-eZDaBX.js} +1 -1
  27. package/dist/{rule-CBzQ3GeV.js → rule-D6AIfx8b.js} +2 -2
  28. package/dist/src/api/schedule/index.d.ts +2 -4
  29. package/dist/src/composables/useMessage.d.ts +2 -8
  30. package/dist/src/types/schedule.d.ts +1 -1
  31. package/dist/src/views/scheduling/composables/scheduleAutoSolver.d.ts +23 -0
  32. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +4 -114
  33. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -1
  34. package/dist/src/views/scheduling/schedule-state.d.ts +106 -106
  35. package/dist/src/views/scheduling/schedule-store.d.ts +2 -4
  36. package/dist/src/views/scheduling/types.d.ts +0 -3
  37. package/dist/style.css +1 -1
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/{useReportPermissions-B2ev0j4w.js → useReportPermissions-DHA0jrIr.js} +3 -3
  40. package/package.json +1 -2
  41. package/dist/SchedulePage-C8m0-m3l.js +0 -18257
  42. package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +0 -6
  43. package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +0 -33
  44. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +0 -13
  45. package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +0 -10
@@ -1,6 +0,0 @@
1
- import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
2
- type __VLS_Props = {
3
- autoSchedule: ScheduleAutoScheduleApi;
4
- };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
- export default _default;
@@ -1,33 +0,0 @@
1
- import type { FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleResult } from '@/types/schedule';
2
- import { ApiError } from '@/api';
3
- import type { Proposal } from '../types';
4
- /** ISO date of `dayIdx` in the week starting `weekKey` (YYYY-MM-DD, local arithmetic). */
5
- export declare function dateOfProposal(weekKey: string, dayIdx: number): string;
6
- /** Server proposals → board proposals for the week whose Monday is `weekKey`. A proposal whose
7
- * date is not one of `dateKeyOf(0..RANGE_LEN-1)` or whose employee the board does not hold is
8
- * dropped. Ids come from `nextId` so they stay unique across weeks. */
9
- export declare function proposalsFromResult(proposals: FdtoScheduleAutoScheduleProposal[], weekKey: string, dateKeyOf: (dayIdx: number) => string | null, nextId: () => number, holds: (empId: number) => boolean): Proposal[];
10
- /** The apply body for the accepted proposals, each re-dated from its own week and day. */
11
- export declare function applyRequestOf(proposals: Proposal[], allowOvertime: boolean): FdtoScheduleAutoScheduleApplyReq;
12
- export interface ClassifiedExplanation {
13
- kind: 'reject' | 'ai' | 'plain';
14
- text: string;
15
- }
16
- /** Sorts one `result.explanations` line into what the Details panel renders it as. The matched
17
- * prefix is stripped from `text` in every case — the panel re-adds its own label/marker for
18
- * `reject` and `ai`, so the raw wire prefix never doubles up with it. */
19
- export declare function classifyExplanation(line: string): ClassifiedExplanation;
20
- /** Whether `error` is a server refusal whose own message is meant for the user: a client error
21
- * (0 < status < 500). A network failure (0) or a server error (5xx) is not. */
22
- export declare function isClientRefusal(error: unknown): error is ApiError;
23
- /** A client-error refusal shows its own message; a network failure or 5xx shows the generic one. */
24
- export declare function generateErrorMessage(error: unknown): string;
25
- /** The result shown when "fill gaps" is off: nothing proposed, one explanation. */
26
- export declare function fillGapsOffResult(week: {
27
- from: string;
28
- to: string;
29
- }, objective: FdtoScheduleAutoScheduleObjective, allowOvertime: boolean): FdtoScheduleAutoScheduleResult;
30
- /** The snackbar shown once a run finishes, whether it went to the server or (fill gaps off) was
31
- * answered locally. `wallMs` is measured client-side around the request — it is what the manager
32
- * actually waited, not just the server's own `timing.totalMs`. */
33
- export declare function generateDoneMessage(result: FdtoScheduleAutoScheduleResult, requested: FdtoScheduleAutoSchedulePlanner, wallMs: number): string;
@@ -1,13 +0,0 @@
1
- export type RemyDemandScope = {
2
- mode: 'day';
3
- isoDate: string;
4
- label: string;
5
- } | {
6
- mode: 'weekday';
7
- weekday: string;
8
- } | {
9
- mode: 'weekdays';
10
- };
11
- /** The sentence prefilled into the host Remy panel. Names the outlet the way a manager knows it;
12
- * Remy resolves it to an id itself (hrm_find_outlet), so no identifier appears in the text. */
13
- export declare function remyDemandPrompt(outletName: string, scope: RemyDemandScope): string;
@@ -1,10 +0,0 @@
1
- import { useAppStore } from '@feedmepos/mf-remy-panel';
2
- export interface RemyActivateOptions {
3
- prompt?: string;
4
- forceNewConversation?: boolean;
5
- }
6
- export interface RemyAppStoreApi {
7
- store: ReturnType<typeof useAppStore>;
8
- activate: (options: RemyActivateOptions) => Promise<void>;
9
- }
10
- export declare function useRemyAppStore(): RemyAppStoreApi;