@feedmepos/mf-hrm-portal 2.3.0-dev.32 → 2.3.0-dev.34

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-B01Tfz9v.js → ApprovalCodeList-BPQdxZry.js} +4 -4
  2. package/dist/{AuditLogList-B0Tgyx4F.js → AuditLogList-CTlSkE_K.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-D_0cGcsc.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BJMOEvOt.js} +2 -2
  4. package/dist/{EmployeeList-sIo_pCHg.js → EmployeeList-DZ7B6zZt.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CzjVyymC.js → FormItem.vue_vue_type_script_setup_true_lang-Cg3xP7e0.js} +1 -1
  6. package/dist/{GrantUserList-DffzvEFk.js → GrantUserList-Be674W20.js} +5 -5
  7. package/dist/{Main-k-6giYiC.js → Main-B4-PXvSJ.js} +2 -2
  8. package/dist/{Main-Dn5lY4bl.js → Main-BA5eOkcv.js} +5 -5
  9. package/dist/{Main-BL-89Tnx.js → Main-DHNKcNNN.js} +9 -9
  10. package/dist/{PermissionSetList-jL4vatxE.js → PermissionSetList-CeATUMKY.js} +5 -5
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-LIrdGS6j.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BXHsXA6u.js} +997 -997
  12. package/dist/{RoleList-CTxZqplQ.js → RoleList-ibV0W4RI.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CR1DP73z.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-uyqp1Mq8.js} +23 -23
  14. package/dist/{ScheduleGeneralPage-HTJDzDQA.js → ScheduleGeneralPage-DywV5Plk.js} +2 -2
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-B7FAnNJn.js → ScheduleModal.vue_vue_type_script_setup_true_lang-B6c5-lUO.js} +9 -9
  16. package/dist/{SchedulePage-DLG-3exQ.js → SchedulePage-DPNL_KaV.js} +6979 -6896
  17. package/dist/{SchedulePositionPage-DNi6OVBn.js → SchedulePositionPage-CUNO6DSz.js} +3 -3
  18. package/dist/{SelectFilter-CciZcuqp.js → SelectFilter-dBqYceve.js} +1 -1
  19. package/dist/{TeamMemberList-BhOUP_eV.js → TeamMemberList-BBp6s_Um.js} +7 -7
  20. package/dist/{TimesheetList-LBXzpZ6A.js → TimesheetList-CD1Kvu6F.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-8VCtmmRW.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BjjuaSfV.js} +2 -2
  22. package/dist/{app-H-8QaXK-.js → app-CDilMLOR.js} +8 -8
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-CFZAuAao.js → dayjs.min-Ce7CTioa.js} +1 -1
  25. package/dist/{employee-DJ7095AK.js → employee-DpM_edbe.js} +3 -3
  26. package/dist/{iteration-5-jumCls.js → iteration-CRJ7AeTP.js} +1 -1
  27. package/dist/{lodash-Cn6YxOg-.js → lodash-CLZtrX-I.js} +1 -1
  28. package/dist/{role-Ckz-rdpa.js → role-GSbiX80b.js} +1 -1
  29. package/dist/{rule-IY-CjBrh.js → rule-BU6ftNiS.js} +2 -2
  30. package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +5 -0
  31. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +3 -1
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/{useReportPermissions-BQHuM6zE.js → useReportPermissions-VtirXp7p.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-H-8QaXK-.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-B7FAnNJn.js";
6
- import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CR1DP73z.js";
4
+ import { R as L, a as O } from "./app-CDilMLOR.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-B6c5-lUO.js";
6
+ import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-uyqp1Mq8.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-H-8QaXK-.js";
4
+ import { a as ae } from "./app-CDilMLOR.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-CciZcuqp.js";
6
- import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-H-8QaXK-.js";
5
+ import { S as ye } from "./SelectFilter-dBqYceve.js";
6
+ import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-CDilMLOR.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-Cn6YxOg-.js";
14
- import { c as he } from "./iteration-5-jumCls.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-IY-CjBrh.js";
16
- import { u as as } from "./role-Ckz-rdpa.js";
13
+ import { l as Pe } from "./lodash-CLZtrX-I.js";
14
+ import { c as he } from "./iteration-CRJ7AeTP.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-BU6ftNiS.js";
16
+ import { u as as } from "./role-GSbiX80b.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-LIrdGS6j.js";
20
+ import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BXHsXA6u.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-CFZAuAao.js";
2
+ import { d as v } from "./dayjs.min-Ce7CTioa.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-CciZcuqp.js";
6
- import { _ as Se, a as Ve } from "./app-H-8QaXK-.js";
5
+ import { S as De } from "./SelectFilter-dBqYceve.js";
6
+ import { _ as Se, a as Ve } from "./app-CDilMLOR.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-5-jumCls.js";
9
+ import { g as Fe, s as Ye } from "./iteration-CRJ7AeTP.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-DJ7095AK.js";
12
+ import { u as Te } from "./employee-DpM_edbe.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-8VCtmmRW.js";
14
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BjjuaSfV.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-CFZAuAao.js";
1
+ import { d as i } from "./dayjs.min-Ce7CTioa.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-5-jumCls.js";
5
+ import { s as S } from "./iteration-CRJ7AeTP.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-BL-89Tnx.js"))), Fc = it(he(() => import("./Main-Dn5lY4bl.js"))), Sc = it(
10150
- he(() => import("./AuditLogList-B0Tgyx4F.js"))
10151
- ), Tc = it(he(() => import("./Main-k-6giYiC.js"))), kc = he(() => import("./ApprovalCodeList-B01Tfz9v.js")), Rc = he(() => import("./GrantUserList-DffzvEFk.js")), Nc = he(() => import("./EmployeeList-sIo_pCHg.js")), Ic = he(() => import("./RoleList-CTxZqplQ.js")), Hc = he(() => import("./TimesheetList-LBXzpZ6A.js")), qc = he(() => import("./TeamMemberList-BhOUP_eV.js")), Xc = he(
10152
- () => import("./PermissionSetList-jL4vatxE.js")
10149
+ }), Vc = it(he(() => import("./Main-DHNKcNNN.js"))), Fc = it(he(() => import("./Main-BA5eOkcv.js"))), Sc = it(
10150
+ he(() => import("./AuditLogList-CTlSkE_K.js"))
10151
+ ), Tc = it(he(() => import("./Main-B4-PXvSJ.js"))), kc = he(() => import("./ApprovalCodeList-BPQdxZry.js")), Rc = he(() => import("./GrantUserList-Be674W20.js")), Nc = he(() => import("./EmployeeList-DZ7B6zZt.js")), Ic = he(() => import("./RoleList-ibV0W4RI.js")), Hc = he(() => import("./TimesheetList-CD1Kvu6F.js")), qc = he(() => import("./TeamMemberList-BBp6s_Um.js")), Xc = he(
10152
+ () => import("./PermissionSetList-CeATUMKY.js")
10153
10153
  ), Qc = _s(
10154
- it(he(() => import("./SchedulePage-DLG-3exQ.js")))
10154
+ it(he(() => import("./SchedulePage-DPNL_KaV.js")))
10155
10155
  ), Zc = _s(
10156
- it(he(() => import("./SchedulePositionPage-DNi6OVBn.js")))
10156
+ it(he(() => import("./SchedulePositionPage-CUNO6DSz.js")))
10157
10157
  ), Uc = _s(
10158
- it(he(() => import("./ScheduleGeneralPage-HTJDzDQA.js")))
10158
+ it(he(() => import("./ScheduleGeneralPage-DywV5Plk.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.32", mode: "fmmf" };
11307
+ var Os = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.34", 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-H-8QaXK-.js";
1
+ import { j as e, i as r, r as o } from "./app-CDilMLOR.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-H-8QaXK-.js";
1
+ import { g as Q, f as K } from "./app-CDilMLOR.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-CFZAuAao.js";
1
+ import { d as g } from "./dayjs.min-Ce7CTioa.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-5-jumCls.js";
4
+ import { s as E } from "./iteration-CRJ7AeTP.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-Ckz-rdpa.js";
7
+ import { u as P } from "./role-GSbiX80b.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-H-8QaXK-.js";
1
+ import { f as B } from "./app-CDilMLOR.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-H-8QaXK-.js";
1
+ import { f as jt } from "./app-CDilMLOR.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-5-jumCls.js";
4
+ import { s as v } from "./iteration-CRJ7AeTP.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-5-jumCls.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-H-8QaXK-.js";
1
+ import { s as W, c as q, e as y } from "./iteration-CRJ7AeTP.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-CDilMLOR.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";
@@ -0,0 +1,5 @@
1
+ import type { FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff } from '@/types/schedule';
2
+ /** The create requests that keep the rest of a multi-day record alive once `date` is carved out
3
+ * of it. Single-day records leave nothing behind. The contract requires a same-day request to
4
+ * have matching parts, so a one-day remainder takes the part from its outer edge. */
5
+ export declare function remainderRequests(record: FdtoScheduleTimeOff, date: string): FdtoScheduleCreateTimeOffReq[];
@@ -4,4 +4,6 @@ export interface WeekBucket {
4
4
  employees: Employee[];
5
5
  openShifts: OpenShift[];
6
6
  }
7
- export declare function weekData(offset: number): WeekBucket;
7
+ /** `from` is the date the offset is relative to (the board passes the Monday it anchored on, so a
8
+ * tab left open past midnight keeps building the week it is showing). */
9
+ export declare function weekData(offset: number, from?: Date): WeekBucket;