@feedmepos/mf-hrm-portal 2.3.0-dev.20 → 2.3.0-dev.21

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 (37) hide show
  1. package/dist/{ApprovalCodeList-ChZm8Cqn.js → ApprovalCodeList-DuPmMQ8Z.js} +4 -4
  2. package/dist/{AuditLogList-DNb_HY2b.js → AuditLogList-BeRA_284.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C1FZLRtw.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-StnBAQOk.js} +2 -2
  4. package/dist/{EmployeeList-D0_eAXnx.js → EmployeeList-qmjsbCjj.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DZEUOnX-.js → FormItem.vue_vue_type_script_setup_true_lang-oQJgMciC.js} +1 -1
  6. package/dist/{GrantUserList-HHl1a4dz.js → GrantUserList--WUK7zrV.js} +5 -5
  7. package/dist/{Main-DMsmgQyL.js → Main-9X2iCXoX.js} +2 -2
  8. package/dist/{Main-DFk9nc3J.js → Main-BIAeEQV9.js} +5 -5
  9. package/dist/{Main-B35_MSKW.js → Main-tPL_YTwT.js} +9 -9
  10. package/dist/{PermissionSetList-CglEdefD.js → PermissionSetList-ByTyQe0s.js} +5 -5
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-9tG8k0mR.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bp9WwlnI.js} +1227 -1227
  12. package/dist/{RoleList-_UsStsN7.js → RoleList-INlydQmP.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DYhMssqd.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-d8KDvgNu.js} +1 -1
  14. package/dist/{ScheduleGeneralPage-CP3Vb4XJ.js → ScheduleGeneralPage-DbOoP9Ez.js} +2 -2
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-B_OqKDw_.js → ScheduleModal.vue_vue_type_script_setup_true_lang-UowMybGr.js} +2 -2
  16. package/dist/{SchedulePage-5cbZyAow.js → SchedulePage-CjOZtRlK.js} +2697 -2656
  17. package/dist/{SchedulePositionPage-DwgNOVe8.js → SchedulePositionPage-CnDqkvL9.js} +3 -3
  18. package/dist/{SelectFilter-BWM2fbe4.js → SelectFilter-BWw4B9tM.js} +1 -1
  19. package/dist/{TeamMemberList-CiYROtup.js → TeamMemberList-BgYtoXht.js} +7 -7
  20. package/dist/{TimesheetList-ohxQpGBt.js → TimesheetList-Dg0QYsWO.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CHgKOFjZ.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-eTd4J1CB.js} +2 -2
  22. package/dist/{app-hqb3iLmH.js → app-CDo04LrB.js} +8 -8
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-jdSYngTL.js → dayjs.min-KFBmxZF3.js} +1 -1
  25. package/dist/{employee-DQksdva7.js → employee-BRaYoaOY.js} +3 -3
  26. package/dist/{iteration-Ws9RBh0x.js → iteration-p-TjO05t.js} +1 -1
  27. package/dist/{lodash-Db0CBH2I.js → lodash-D72lpJgs.js} +1 -1
  28. package/dist/{role-C5BIFEPz.js → role-a35Vc8gC.js} +1 -1
  29. package/dist/{rule-CU0v7pCG.js → rule-BRRw0K7p.js} +2 -2
  30. package/dist/src/views/scheduling/composables/schedule-error.d.ts +0 -2
  31. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +2 -0
  32. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +2 -0
  33. package/dist/src/views/scheduling/types.d.ts +1 -0
  34. package/dist/style.css +1 -1
  35. package/dist/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/{useReportPermissions-DeJMpuw7.js → useReportPermissions-Ca-9DEOI.js} +3 -3
  37. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as M, ref as A, onMounted as F, computed as S, createElementBlock as i, openBlock as l, createElementVNode as o, createVNode as n, createStaticVNode as x, 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-hqb3iLmH.js";
5
- import { av as R, aw as K, ag as T, ar as u, as as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-B_OqKDw_.js";
6
- import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DYhMssqd.js";
4
+ import { R as L, a as O } from "./app-CDo04LrB.js";
5
+ import { av as R, aw as K, ag as T, ar as u, as as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-UowMybGr.js";
6
+ import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-d8KDvgNu.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-hqb3iLmH.js";
4
+ import { a as ae } from "./app-CDo04LrB.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-BWM2fbe4.js";
6
- import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-hqb3iLmH.js";
5
+ import { S as ye } from "./SelectFilter-BWw4B9tM.js";
6
+ import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-CDo04LrB.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-Db0CBH2I.js";
14
- import { c as he } from "./iteration-Ws9RBh0x.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-CU0v7pCG.js";
16
- import { u as as } from "./role-C5BIFEPz.js";
13
+ import { l as Pe } from "./lodash-D72lpJgs.js";
14
+ import { c as he } from "./iteration-p-TjO05t.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-BRRw0K7p.js";
16
+ import { u as as } from "./role-a35Vc8gC.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-9tG8k0mR.js";
20
+ import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bp9WwlnI.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-jdSYngTL.js";
2
+ import { d as v } from "./dayjs.min-KFBmxZF3.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-BWM2fbe4.js";
6
- import { _ as Se, a as Ve } from "./app-hqb3iLmH.js";
5
+ import { S as De } from "./SelectFilter-BWw4B9tM.js";
6
+ import { _ as Se, a as Ve } from "./app-CDo04LrB.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-Ws9RBh0x.js";
9
+ import { g as Fe, s as Ye } from "./iteration-p-TjO05t.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-DQksdva7.js";
12
+ import { u as Te } from "./employee-BRaYoaOY.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-CHgKOFjZ.js";
14
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-eTd4J1CB.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-jdSYngTL.js";
1
+ import { d as i } from "./dayjs.min-KFBmxZF3.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-Ws9RBh0x.js";
5
+ import { s as S } from "./iteration-p-TjO05t.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-B35_MSKW.js"))), Fc = it(he(() => import("./Main-DFk9nc3J.js"))), Sc = it(
10150
- he(() => import("./AuditLogList-DNb_HY2b.js"))
10151
- ), Tc = it(he(() => import("./Main-DMsmgQyL.js"))), kc = he(() => import("./ApprovalCodeList-ChZm8Cqn.js")), Rc = he(() => import("./GrantUserList-HHl1a4dz.js")), Nc = he(() => import("./EmployeeList-D0_eAXnx.js")), Ic = he(() => import("./RoleList-_UsStsN7.js")), Hc = he(() => import("./TimesheetList-ohxQpGBt.js")), qc = he(() => import("./TeamMemberList-CiYROtup.js")), Xc = he(
10152
- () => import("./PermissionSetList-CglEdefD.js")
10149
+ }), Vc = it(he(() => import("./Main-tPL_YTwT.js"))), Fc = it(he(() => import("./Main-BIAeEQV9.js"))), Sc = it(
10150
+ he(() => import("./AuditLogList-BeRA_284.js"))
10151
+ ), Tc = it(he(() => import("./Main-9X2iCXoX.js"))), kc = he(() => import("./ApprovalCodeList-DuPmMQ8Z.js")), Rc = he(() => import("./GrantUserList--WUK7zrV.js")), Nc = he(() => import("./EmployeeList-qmjsbCjj.js")), Ic = he(() => import("./RoleList-INlydQmP.js")), Hc = he(() => import("./TimesheetList-Dg0QYsWO.js")), qc = he(() => import("./TeamMemberList-BgYtoXht.js")), Xc = he(
10152
+ () => import("./PermissionSetList-ByTyQe0s.js")
10153
10153
  ), Qc = _s(
10154
- it(he(() => import("./SchedulePage-5cbZyAow.js")))
10154
+ it(he(() => import("./SchedulePage-CjOZtRlK.js")))
10155
10155
  ), Zc = _s(
10156
- it(he(() => import("./SchedulePositionPage-DwgNOVe8.js")))
10156
+ it(he(() => import("./SchedulePositionPage-CnDqkvL9.js")))
10157
10157
  ), Uc = _s(
10158
- it(he(() => import("./ScheduleGeneralPage-CP3Vb4XJ.js")))
10158
+ it(he(() => import("./ScheduleGeneralPage-DbOoP9Ez.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.20", mode: "fmmf" };
11307
+ var Os = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.21", 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-hqb3iLmH.js";
1
+ import { j as e, i as r, r as o } from "./app-CDo04LrB.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-hqb3iLmH.js";
1
+ import { g as Q, f as K } from "./app-CDo04LrB.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-jdSYngTL.js";
1
+ import { d as g } from "./dayjs.min-KFBmxZF3.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as m } from "vue";
4
- import { s as E } from "./iteration-Ws9RBh0x.js";
4
+ import { s as E } from "./iteration-p-TjO05t.js";
5
5
  import { b as l, g as f, u as I } from "./restaurant-D2mfKHaH.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-C5BIFEPz.js";
7
+ import { u as P } from "./role-a35Vc8gC.js";
8
8
  const o = {
9
9
  async readEmployees() {
10
10
  return f(await l().get("/pos-users"));
@@ -1,4 +1,4 @@
1
- import { f as B } from "./app-hqb3iLmH.js";
1
+ import { f as B } from "./app-CDo04LrB.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-hqb3iLmH.js";
1
+ import { f as jt } from "./app-CDo04LrB.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-Ws9RBh0x.js";
4
+ import { s as v } from "./iteration-p-TjO05t.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-Ws9RBh0x.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-hqb3iLmH.js";
1
+ import { s as W, c as q, e as y } from "./iteration-p-TjO05t.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-CDo04LrB.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,3 +1 @@
1
- /** API clients do not all normalize failed responses into Error instances. The local portal
2
- * client does, while the shared dev client may reject with the raw Axios/fetch-shaped object. */
3
1
  export declare function errorMessage(error: unknown, fallback: string): string;
@@ -363,12 +363,14 @@ export declare function useScheduleBoard(handlers?: {
363
363
  dayIdx: number;
364
364
  kind: "add" | "change" | "remove";
365
365
  label: string;
366
+ conflict?: boolean | undefined;
366
367
  }[], PendingChange[] | {
367
368
  empId: number;
368
369
  employeeKey: string;
369
370
  dayIdx: number;
370
371
  kind: "add" | "change" | "remove";
371
372
  label: string;
373
+ conflict?: boolean | undefined;
372
374
  }[]>;
373
375
  unpublishedChanges: import("vue").ComputedRef<PendingChange[]>;
374
376
  persistPublish: (items: Array<{
@@ -367,12 +367,14 @@ export declare function useScheduleOnboardingWizard(board: ScheduleBoardApi, add
367
367
  dayIdx: number;
368
368
  kind: "add" | "change" | "remove";
369
369
  label: string;
370
+ conflict?: boolean | undefined;
370
371
  }[], import("../types").PendingChange[] | {
371
372
  empId: number;
372
373
  employeeKey: string;
373
374
  dayIdx: number;
374
375
  kind: "add" | "change" | "remove";
375
376
  label: string;
377
+ conflict?: boolean | undefined;
376
378
  }[]>;
377
379
  unpublishedChanges: import("vue").ComputedRef<import("../types").PendingChange[]>;
378
380
  persistPublish: (items: Array<{
@@ -255,6 +255,7 @@ export interface PendingChange {
255
255
  dayIdx: number;
256
256
  kind: 'add' | 'change' | 'remove';
257
257
  label: string;
258
+ conflict?: boolean;
258
259
  }
259
260
  export type NotifyChannel = 'wa' | 'push' | 'email';
260
261
  export interface ScheduleVersionSnapshot {