@feedmepos/mf-hrm-portal 2.3.0-dev.29 → 2.3.0-dev.30

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 (34) hide show
  1. package/dist/{ApprovalCodeList-_sAa8CxN.js → ApprovalCodeList-CaDmeGvQ.js} +4 -4
  2. package/dist/{AuditLogList-C2M11BSU.js → AuditLogList-hnICcJxN.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Di6wMkhF.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CM3AAsUP.js} +2 -2
  4. package/dist/{EmployeeList-EXjJ71yX.js → EmployeeList-DjfBIMQV.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-5k5F-b4t.js → FormItem.vue_vue_type_script_setup_true_lang-CTGlmY6t.js} +1 -1
  6. package/dist/{GrantUserList-Cp8cHSvO.js → GrantUserList-DH1HXfV4.js} +5 -5
  7. package/dist/{Main-B0rUwO6f.js → Main-1GboTunP.js} +9 -9
  8. package/dist/{Main-CbxX6qdl.js → Main-C4S5bpnK.js} +5 -5
  9. package/dist/{Main-IQgk5-q1.js → Main-D0o-aQHX.js} +2 -2
  10. package/dist/{PermissionSetList-DXaXwA6G.js → PermissionSetList-CSONq6qt.js} +5 -5
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ch9oQJJF.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-fU3Feetb.js} +1200 -1200
  12. package/dist/{RoleList-ShSriUmC.js → RoleList-WdgayfhL.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-V_8His6y.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Bx1P_UAW.js} +1 -1
  14. package/dist/{ScheduleGeneralPage-C6JA8tfr.js → ScheduleGeneralPage-XUX2-_Vc.js} +2 -2
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-yJGDs_jb.js → ScheduleModal.vue_vue_type_script_setup_true_lang-CECio4Kc.js} +2 -2
  16. package/dist/{SchedulePage-BPNd_2iN.js → SchedulePage-LQ7-8VUw.js} +6006 -6063
  17. package/dist/{SchedulePositionPage-DbzeLdy6.js → SchedulePositionPage-DcUbTYV6.js} +3 -3
  18. package/dist/{SelectFilter-KWO1LMEl.js → SelectFilter-BbkPuYP_.js} +1 -1
  19. package/dist/{TeamMemberList-DXe3QhHi.js → TeamMemberList-BMdMDYBF.js} +7 -7
  20. package/dist/{TimesheetList-BOwFl3cN.js → TimesheetList-B6vZEmgb.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DYQIScdd.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Bna8vHO7.js} +2 -2
  22. package/dist/{app-Bervxh8C.js → app-DwBKX4e9.js} +8 -8
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-DlJmJDGK.js → dayjs.min-DAKzxOMD.js} +1 -1
  25. package/dist/{employee-BfxPJ5u_.js → employee-GhYyAhwS.js} +3 -3
  26. package/dist/{iteration-CnB0BoPR.js → iteration-Da8377p8.js} +1 -1
  27. package/dist/{lodash-DF11vsNb.js → lodash-DChu1GU2.js} +1 -1
  28. package/dist/{role-BIH6afDK.js → role-CyynUSdG.js} +1 -1
  29. package/dist/{rule-DtYighjR.js → rule-Cnn7MV1z.js} +2 -2
  30. package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +2 -2
  31. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +4 -5
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/{useReportPermissions-nYmBKdK0.js → useReportPermissions-B3OMJ4QX.js} +3 -3
  34. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as M, ref as x, onMounted as A, computed as F, createElementBlock as i, openBlock as l, createElementVNode as o, createVNode as n, createStaticVNode as S, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as z, withDirectives as E, withKeys as k, vModelText as P, Fragment as C, renderList as V, withModifiers as g } from "vue";
2
2
  import { useRouter as B } from "vue-router";
3
3
  import { useSnackbar as I } from "@feedmepos/ui-library";
4
- import { R as L, a as O } from "./app-Bervxh8C.js";
5
- import { aw as R, ax as K, ag as T, as as u, at as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-yJGDs_jb.js";
6
- import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-V_8His6y.js";
4
+ import { R as L, a as O } from "./app-DwBKX4e9.js";
5
+ import { aw as R, ax as K, ag as T, as as u, at as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-CECio4Kc.js";
6
+ import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Bx1P_UAW.js";
7
7
  const H = { class: "main" }, G = {
8
8
  id: "viewPositions",
9
9
  class: "view"
@@ -1,7 +1,7 @@
1
1
  import { ref as $, computed as v, defineComponent as X, watch as Y, nextTick as Z, resolveComponent as F, createElementBlock as d, openBlock as c, createElementVNode as A, createVNode as b, renderSlot as z, withCtx as O, createCommentVNode as x, normalizeStyle as ee, Fragment as S, createBlock as T, unref as k, renderList as R, toDisplayString as N, normalizeClass as le, withModifiers as te } from "vue";
2
2
  import "@feedmepos/ui-library";
3
3
  /* empty css */
4
- import { a as ae } from "./app-Bervxh8C.js";
4
+ import { a as ae } from "./app-DwBKX4e9.js";
5
5
  function ue(r, u, _ = r) {
6
6
  const t = $(!0), C = v(() => {
7
7
  if (!t.value && !u.value)
@@ -2,22 +2,22 @@ import { defineComponent as we, resolveComponent as F, createElementBlock as L,
2
2
  import { useI18n as Ve, useCoreStore as Ze } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Le, useDialog as Qe, useBreakpoints as Ye, components as Oe } from "@feedmepos/ui-library";
4
4
  import { u as ps } from "./useDebounce-B8ZPVS5C.js";
5
- import { S as ye } from "./SelectFilter-KWO1LMEl.js";
6
- import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-Bervxh8C.js";
5
+ import { S as ye } from "./SelectFilter-BbkPuYP_.js";
6
+ import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-DwBKX4e9.js";
7
7
  import { _ as gs } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
8
8
  import { _ as _s } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
9
9
  import { s as Us, _ as Ss, a as xs, b as Fs, c as Ps } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
10
10
  import { u as He } from "./useLoading-Nygx2zn8.js";
11
11
  import { u as Is } from "./useDiscardConfirm-CzZSPyvh.js";
12
12
  import { n as es } from "./string-VNuQNweN.js";
13
- import { l as Pe } from "./lodash-DF11vsNb.js";
14
- import { c as he } from "./iteration-CnB0BoPR.js";
15
- import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-DtYighjR.js";
16
- import { u as as } from "./role-BIH6afDK.js";
13
+ import { l as Pe } from "./lodash-DChu1GU2.js";
14
+ import { c as he } from "./iteration-Da8377p8.js";
15
+ import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-Cnn7MV1z.js";
16
+ import { u as as } from "./role-CyynUSdG.js";
17
17
  import { u as ls, i as Ms } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js";
18
18
  import "./useAppStore-DZCdxlCd.js";
19
19
  import { g as ze, b as We, u as os } from "./restaurant-D2mfKHaH.js";
20
- import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ch9oQJJF.js";
20
+ import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-fU3Feetb.js";
21
21
  var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
22
22
  const Ie = "__unassigned__";
23
23
  function Je(o) {
@@ -1,17 +1,17 @@
1
1
  import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as n, withCtx as b, createCommentVNode as ve, toDisplayString as O, createTextVNode as he, isRef as ge, renderList as we, createBlock as te, nextTick as ye } from "vue";
2
- import { d as v } from "./dayjs.min-DlJmJDGK.js";
2
+ import { d as v } from "./dayjs.min-DAKzxOMD.js";
3
3
  import { useI18n as _e } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as be, components as xe } from "@feedmepos/ui-library";
5
- import { S as De } from "./SelectFilter-KWO1LMEl.js";
6
- import { _ as Se, a as Ve } from "./app-Bervxh8C.js";
5
+ import { S as De } from "./SelectFilter-BbkPuYP_.js";
6
+ import { _ as Se, a as Ve } from "./app-DwBKX4e9.js";
7
7
  import { _ as ke } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
8
  import { u as Ce } from "./useLoading-Nygx2zn8.js";
9
- import { g as Fe, s as Ye } from "./iteration-CnB0BoPR.js";
9
+ import { g as Fe, s as Ye } from "./iteration-Da8377p8.js";
10
10
  import { f as Le } from "./utils-BZkjJbju.js";
11
11
  import { n as Me } from "./string-VNuQNweN.js";
12
- import { u as Te } from "./employee-BfxPJ5u_.js";
12
+ import { u as Te } from "./employee-GhYyAhwS.js";
13
13
  import { u as Ie } from "./restaurant-D2mfKHaH.js";
14
- import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DYQIScdd.js";
14
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Bna8vHO7.js";
15
15
  function $e(x, a) {
16
16
  return ["years", "months"].find((S) => {
17
17
  const V = x.startOf(S), p = x.endOf(S);
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-DlJmJDGK.js";
1
+ import { d as i } from "./dayjs.min-DAKzxOMD.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
4
  import { b as c, g as y } from "./restaurant-D2mfKHaH.js";
5
- import { s as S } from "./iteration-CnB0BoPR.js";
5
+ import { s as S } from "./iteration-Da8377p8.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {
@@ -10146,16 +10146,16 @@ const tt = (e) => ({
10146
10146
  }
10147
10147
  ]
10148
10148
  }
10149
- }), Vc = it(he(() => import("./Main-B0rUwO6f.js"))), Fc = it(he(() => import("./Main-CbxX6qdl.js"))), Sc = it(
10150
- he(() => import("./AuditLogList-C2M11BSU.js"))
10151
- ), Tc = it(he(() => import("./Main-IQgk5-q1.js"))), kc = he(() => import("./ApprovalCodeList-_sAa8CxN.js")), Rc = he(() => import("./GrantUserList-Cp8cHSvO.js")), Nc = he(() => import("./EmployeeList-EXjJ71yX.js")), Ic = he(() => import("./RoleList-ShSriUmC.js")), Hc = he(() => import("./TimesheetList-BOwFl3cN.js")), qc = he(() => import("./TeamMemberList-DXe3QhHi.js")), Xc = he(
10152
- () => import("./PermissionSetList-DXaXwA6G.js")
10149
+ }), Vc = it(he(() => import("./Main-1GboTunP.js"))), Fc = it(he(() => import("./Main-C4S5bpnK.js"))), Sc = it(
10150
+ he(() => import("./AuditLogList-hnICcJxN.js"))
10151
+ ), Tc = it(he(() => import("./Main-D0o-aQHX.js"))), kc = he(() => import("./ApprovalCodeList-CaDmeGvQ.js")), Rc = he(() => import("./GrantUserList-DH1HXfV4.js")), Nc = he(() => import("./EmployeeList-DjfBIMQV.js")), Ic = he(() => import("./RoleList-WdgayfhL.js")), Hc = he(() => import("./TimesheetList-B6vZEmgb.js")), qc = he(() => import("./TeamMemberList-BMdMDYBF.js")), Xc = he(
10152
+ () => import("./PermissionSetList-CSONq6qt.js")
10153
10153
  ), Qc = _s(
10154
- it(he(() => import("./SchedulePage-BPNd_2iN.js")))
10154
+ it(he(() => import("./SchedulePage-LQ7-8VUw.js")))
10155
10155
  ), Zc = _s(
10156
- it(he(() => import("./SchedulePositionPage-DbzeLdy6.js")))
10156
+ it(he(() => import("./SchedulePositionPage-DcUbTYV6.js")))
10157
10157
  ), Uc = _s(
10158
- it(he(() => import("./ScheduleGeneralPage-C6JA8tfr.js")))
10158
+ it(he(() => import("./ScheduleGeneralPage-XUX2-_Vc.js")))
10159
10159
  ), wu = [
10160
10160
  {
10161
10161
  path: "/",
@@ -11304,7 +11304,7 @@ const Bu = /* @__PURE__ */ Ke({
11304
11304
  };
11305
11305
  }
11306
11306
  });
11307
- var Os = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.29", mode: "fmmf" };
11307
+ var Os = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.30", mode: "fmmf" };
11308
11308
  console.log(
11309
11309
  `%c${Os.name}%c v${Os.version} %c${Os.mode}`,
11310
11310
  "background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e, i as r, r as o } from "./app-Bervxh8C.js";
1
+ import { j as e, i as r, r as o } from "./app-DwBKX4e9.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, f as K } from "./app-Bervxh8C.js";
1
+ import { g as Q, f as K } from "./app-DwBKX4e9.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as g } from "./dayjs.min-DlJmJDGK.js";
1
+ import { d as g } from "./dayjs.min-DAKzxOMD.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as y } from "vue";
4
- import { s as E } from "./iteration-CnB0BoPR.js";
4
+ import { s as E } from "./iteration-Da8377p8.js";
5
5
  import { b as l, g as m, u as I } from "./restaurant-D2mfKHaH.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-BIH6afDK.js";
7
+ import { u as P } from "./role-CyynUSdG.js";
8
8
  const o = {
9
9
  async readEmployees() {
10
10
  return m(await l().get("/pos-users"));
@@ -1,4 +1,4 @@
1
- import { f as B } from "./app-Bervxh8C.js";
1
+ import { f as B } from "./app-DwBKX4e9.js";
2
2
  var ma = {}, Zt = {}, l = {}, ji = {}, Ei = {}, Ii = {}, Dn = {};
3
3
  (function(e) {
4
4
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
@@ -1,4 +1,4 @@
1
- import { f as jt } from "./app-Bervxh8C.js";
1
+ import { f as jt } from "./app-DwBKX4e9.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,7 +1,7 @@
1
1
  import { defineStore as x, storeToRefs as b } from "pinia";
2
2
  import { ref as w } from "vue";
3
3
  import { useCoreStore as B } from "@feedmepos/mf-common";
4
- import { s as v } from "./iteration-CnB0BoPR.js";
4
+ import { s as v } from "./iteration-Da8377p8.js";
5
5
  import { g as f, b as p, u as I } from "./restaurant-D2mfKHaH.js";
6
6
  const R = {
7
7
  async readRoles() {
@@ -1,5 +1,5 @@
1
- import { s as W, c as q, e as y } from "./iteration-CnB0BoPR.js";
2
- import { h as O, c as V, d as _, v as F, n as h, O as ee, D as M } from "./app-Bervxh8C.js";
1
+ import { s as W, c as q, e as y } from "./iteration-Da8377p8.js";
2
+ import { h as O, c as V, d as _, v as F, n as h, O as ee, D as M } from "./app-DwBKX4e9.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
4
  import { g, b as v, q as x, u as te } from "./restaurant-D2mfKHaH.js";
5
5
  import { defineStore as z, storeToRefs as K } from "pinia";
@@ -1,4 +1,4 @@
1
- import type { FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleResult } from '@/types/schedule';
1
+ import type { FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleResult } from '@/types/schedule';
2
2
  import { ApiError } from '@/api';
3
3
  import type { Proposal } from '../types';
4
4
  /** ISO date of `dayIdx` in the week starting `weekKey` (YYYY-MM-DD, local arithmetic). */
@@ -30,4 +30,4 @@ export declare function fillGapsOffResult(week: {
30
30
  /** The snackbar shown once a run finishes, whether it went to the server or (fill gaps off) was
31
31
  * answered locally. `wallMs` is measured client-side around the request — it is what the manager
32
32
  * actually waited, not just the server's own `timing.totalMs`. */
33
- export declare function generateDoneMessage(result: FdtoScheduleAutoScheduleResult, requested: FdtoScheduleAutoSchedulePlanner, wallMs: number): string;
33
+ export declare function generateDoneMessage(result: FdtoScheduleAutoScheduleResult, wallMs: number): string;
@@ -1,4 +1,4 @@
1
- import type { FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner } from '@/types/schedule';
1
+ import type { FdtoScheduleAutoScheduleObjective } from '@/types/schedule';
2
2
  import type { Proposal } from '../types';
3
3
  import type { ScheduleBoardApi } from './useScheduleBoard';
4
4
  import type { ScheduleDemandApi } from './useScheduleDemand';
@@ -6,7 +6,6 @@ export type ScheduleAutoScheduleStep = 'options' | 'summary';
6
6
  export interface ScheduleAutoScheduleOptions {
7
7
  fillGaps: boolean;
8
8
  objective: FdtoScheduleAutoScheduleObjective;
9
- planner: FdtoScheduleAutoSchedulePlanner;
10
9
  allowOvertime: boolean;
11
10
  /** Shown as preferences in the dialog but not sent: the generator takes no input for them yet
12
11
  * (availability and time off are always respected; patterns and cost ride on the objective). */
@@ -23,19 +22,17 @@ export declare function useScheduleAutoSchedule(board: ScheduleBoardApi, demand:
23
22
  options: {
24
23
  fillGaps: boolean;
25
24
  objective: FdtoScheduleAutoScheduleObjective;
26
- planner: FdtoScheduleAutoSchedulePlanner;
27
25
  allowOvertime: boolean;
28
26
  respectAvailability: boolean;
29
27
  followPatterns: boolean;
30
28
  costEfficient: boolean;
31
29
  };
32
- planners: import("vue").Ref<("GREEDY" | "LLM")[], ("GREEDY" | "LLM")[]>;
33
- plannerChoice: import("vue").ComputedRef<boolean>;
34
30
  generating: import("vue").Ref<boolean, boolean>;
35
31
  generateError: import("vue").Ref<string | null, string | null>;
36
32
  result: import("vue").Ref<{
37
33
  objective: "BALANCED" | "SERVICE" | "LOWER_COST" | "STABLE_HOURS";
38
34
  allowOvertime: boolean;
35
+ model: string | null;
39
36
  proposals: {
40
37
  rejectReason?: string | null | undefined | undefined;
41
38
  date: string;
@@ -101,6 +98,7 @@ export declare function useScheduleAutoSchedule(board: ScheduleBoardApi, demand:
101
98
  } | null, {
102
99
  objective: "BALANCED" | "SERVICE" | "LOWER_COST" | "STABLE_HOURS";
103
100
  allowOvertime: boolean;
101
+ model: string | null;
104
102
  proposals: {
105
103
  rejectReason?: string | null | undefined;
106
104
  date: string;
@@ -166,6 +164,7 @@ export declare function useScheduleAutoSchedule(board: ScheduleBoardApi, demand:
166
164
  } | {
167
165
  objective: "BALANCED" | "SERVICE" | "LOWER_COST" | "STABLE_HOURS";
168
166
  allowOvertime: boolean;
167
+ model: string | null;
169
168
  proposals: {
170
169
  rejectReason?: string | null | undefined | undefined;
171
170
  date: string;