@feedmepos/mf-hrm-portal 1.1.3-dev.3 → 1.1.3-dev.4

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.
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as ce, ref as T, computed as _, onMounted as pe, watch as xe, resolveComponent as y, createBlock as C, openBlock as p, unref as t, withCtx as b, createElementVNode as f, createVNode as c, createCommentVNode as re, createElementBlock as L, Fragment as q, renderList as G, toDisplayString as P, h as F, createTextVNode as ne, resolveDynamicComponent as ie, withModifiers as Fe, nextTick as ue } from "vue";
2
- import { e as Ce, a as E, r as K, h as le, f as Re, c as de, d as j } from "./index-B37OJY7u.js";
2
+ import { e as Ce, a as E, r as K, h as le, f as Re, c as de, d as j } from "./index-nVxD4_on.js";
3
3
  import { useI18n as ve, useCoreStore as fe } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as _e, components as W, useDialog as Ve, useBreakpoints as we, FmButtonColorThemeVariant as me, FmButtonVariant as ke } from "@feedmepos/ui-library";
5
- import { _ as Ie } from "./app-CSWaQRwW.js";
5
+ import { _ as Ie } from "./app-BRpUSeEf.js";
6
6
  import { _ as Le } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { u as he } from "./useAppStore-DR307TDF.js";
7
+ import { u as he } from "./useAppStore-Dt1nUJ4t.js";
8
8
  import { u as Ue, _ as se, a as Se, b as $e } from "./useRestaurantMap-D5BNPLKh.js";
9
- import { l as z } from "./lodash-DJT7KdyD.js";
10
- import { u as Ee } from "./useLoading-WcbjSQRH.js";
9
+ import { l as z } from "./lodash-Cbt71kLf.js";
10
+ import { u as Ee } from "./useLoading-CjyXOp7A.js";
11
11
  const Te = { class: "fm-typo-en-title-md-600" }, Be = { class: "space-y-40" }, De = { class: "space-y-8" }, Pe = { class: "space-y-8" }, Me = {
12
12
  key: 0,
13
13
  class: "w-50 ml-5 flex flex-row items-start"
@@ -2,16 +2,16 @@ import { defineComponent as te, ref as x, resolveComponent as h, createBlock as
2
2
  import { useI18n as ue, useCoreStore as me, baseClientInstance as Ve, RestaurantSelector as xe } from "@feedmepos/mf-common";
3
3
  import { useBreakpoints as Ne, useSnackbar as Re, useDialog as je, components as Fe } from "@feedmepos/ui-library";
4
4
  import { _ as Te, S as Se } from "./SelectFilter-NbXrJ4iH.js";
5
- import { s as ze, m as Ke, _ as qe } from "./app-CSWaQRwW.js";
5
+ import { s as ze, m as Ke, _ as qe } from "./app-BRpUSeEf.js";
6
6
  import { _ as Ge } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
7
  import { u as Be } from "./useSearch-B6WK1LBB.js";
8
- import { u as We } from "./useLoading-WcbjSQRH.js";
9
- import { g as Ue, l as De, u as Oe, m as we, n as be, o as Je, q as Qe, v as Xe, t as ce, w as Ye } from "./index-B37OJY7u.js";
10
- import "./index-CczCMtDa.js";
11
- import { u as Ae } from "./useAppStore-DR307TDF.js";
8
+ import { u as We } from "./useLoading-CjyXOp7A.js";
9
+ import { g as Ue, l as De, u as Oe, m as we, n as be, o as Je, q as Qe, v as Xe, t as ce, w as Ye } from "./index-nVxD4_on.js";
10
+ import "./index-CvpJyEnB.js";
11
+ import { u as Ae } from "./useAppStore-Dt1nUJ4t.js";
12
12
  /* empty css */
13
- import { _ as Ze, a as He } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-KRwX8ejK.js";
14
- import { u as es } from "./team-CypGrdSZ.js";
13
+ import { _ as Ze, a as He } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DqWrIJPe.js";
14
+ import { u as es } from "./team-CZZo-waE.js";
15
15
  const ss = /* @__PURE__ */ te({
16
16
  __name: "BottomSheetMenu",
17
17
  setup(t) {
@@ -1,13 +1,13 @@
1
1
  import { ref as d, computed as b, defineComponent as ce, onMounted as me, watch as X, resolveComponent as i, createElementBlock as B, openBlock as D, Fragment as Z, createVNode as l, createElementVNode as u, unref as n, withCtx as V, createCommentVNode as pe, toDisplayString as $, createTextVNode as ve, createBlock as z, isRef as fe, renderList as he, nextTick as ge } from "vue";
2
- import { d as v } from "./dayjs.min-EuIkR9bv.js";
2
+ import { d as v } from "./dayjs.min-Dfq8fN9X.js";
3
3
  import { useI18n as we, useCoreStore as ye, RestaurantSelector as be } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as _e, components as De } from "@feedmepos/ui-library";
5
- import { _ as xe } from "./app-CSWaQRwW.js";
5
+ import { _ as xe } from "./app-BRpUSeEf.js";
6
6
  import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { u as ke } from "./useLoading-WcbjSQRH.js";
8
- import { i as Ve, j as Ce, s as Fe } from "./index-B37OJY7u.js";
9
- import { u as Ye } from "./employee-84RPdPDw.js";
10
- import { u as Le } from "./timesheet-DhmDGkf5.js";
7
+ import { u as ke } from "./useLoading-CjyXOp7A.js";
8
+ import { i as Ve, j as Ce, s as Fe } from "./index-nVxD4_on.js";
9
+ import { u as Ye } from "./employee-BZxYvY4n.js";
10
+ import { u as Le } from "./timesheet-DuYLbiJ_.js";
11
11
  function Me(x, a) {
12
12
  return ["years", "months"].find((S) => {
13
13
  const k = x.startOf(S), f = x.endOf(S);
@@ -2304,7 +2304,7 @@ const M = {
2304
2304
  {
2305
2305
  label: "POS Role",
2306
2306
  subject: B.hrm_employee_role,
2307
- actions: [f.update]
2307
+ actions: [f.read]
2308
2308
  }
2309
2309
  ]
2310
2310
  }
@@ -2525,7 +2525,7 @@ const ee = (e) => ({
2525
2525
  }
2526
2526
  ]
2527
2527
  }
2528
- }), Vt = ne(H(() => import("./Main-CXeHhGbn.js"))), ht = ne(H(() => import("./Main-rZNF_FTP.js"))), Et = ne(H(() => import("./AuditLogList-BzlfsxZe.js"))), vt = H(() => import("./EmployeeList-JwXcalmk.js")), jt = H(() => import("./RoleList-D1_HCRy4.js")), xt = H(() => import("./TimesheetList-B0ftNJBO.js")), Qt = H(() => import("./TeamMemberList-OfK7zSQC.js")), Xt = H(() => import("./PermissionSetList-DogGMqoY.js")), It = [
2528
+ }), Vt = ne(H(() => import("./Main-DWnVJGpe.js"))), ht = ne(H(() => import("./Main-iC9TGp41.js"))), Et = ne(H(() => import("./AuditLogList-BeigpKv1.js"))), vt = H(() => import("./EmployeeList-pCs8sKuU.js")), jt = H(() => import("./RoleList-DyOF2uRf.js")), xt = H(() => import("./TimesheetList-C4_i17S7.js")), Qt = H(() => import("./TeamMemberList-Ck2gpjCC.js")), Xt = H(() => import("./PermissionSetList-BLmeu-lo.js")), It = [
2529
2529
  {
2530
2530
  path: "/",
2531
2531
  name: "home",
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as e, i as r, r as o } from "./app-CSWaQRwW.js";
1
+ import { d as e, i as r, r as o } from "./app-BRpUSeEf.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, a as K } from "./app-CSWaQRwW.js";
1
+ import { g as Q, a as K } from "./app-BRpUSeEf.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,9 +1,9 @@
1
- import { d as v } from "./dayjs.min-EuIkR9bv.js";
1
+ import { d as v } from "./dayjs.min-Dfq8fN9X.js";
2
2
  import { defineStore as T, storeToRefs as _ } from "pinia";
3
3
  import { ref as h } from "vue";
4
4
  import { useCoreStore as U } from "@feedmepos/mf-common";
5
- import { b as o, g as n, t as $, k as b, s as I } from "./index-B37OJY7u.js";
6
- import { u as S } from "./useAppStore-DR307TDF.js";
5
+ import { b as o, g as n, t as $, k as b, s as I } from "./index-nVxD4_on.js";
6
+ import { u as S } from "./useAppStore-Dt1nUJ4t.js";
7
7
  const c = {
8
8
  async readEmployees() {
9
9
  return n(await o().get("/pos-users"));
@@ -2,7 +2,7 @@ var oe = Object.defineProperty;
2
2
  var se = (_, h, y) => h in _ ? oe(_, h, { enumerable: !0, configurable: !0, writable: !0, value: y }) : _[h] = y;
3
3
  var ot = (_, h, y) => se(_, typeof h != "symbol" ? h + "" : h, y);
4
4
  import { readonly as Nt, ref as Rt } from "vue";
5
- import { a as st } from "./app-CSWaQRwW.js";
5
+ import { a as st } from "./app-BRpUSeEf.js";
6
6
  var Pt = { exports: {} };
7
7
  (function(_, h) {
8
8
  (function(y, p) {
@@ -1,5 +1,5 @@
1
1
  import { useCoreStore as wo, baseClientInstance as Na } from "@feedmepos/mf-common";
2
- import { a as p, h as qi, o as Zt, b as Go, m as Da } from "./app-CSWaQRwW.js";
2
+ import { a as p, h as qi, o as Zt, b as Go, m as Da } from "./app-BRpUSeEf.js";
3
3
  import { defineStore as Ho, storeToRefs as Ko } from "pinia";
4
4
  import { ref as qo } from "vue";
5
5
  const wi = [
@@ -1,4 +1,4 @@
1
- import { a as jt } from "./app-CSWaQRwW.js";
1
+ import { a as jt } from "./app-BRpUSeEf.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,6 +1,6 @@
1
1
  import { defineStore as u } from "pinia";
2
2
  import { ref as t, computed as m } from "vue";
3
- import { t as l } from "./index-B37OJY7u.js";
3
+ import { t as l } from "./index-nVxD4_on.js";
4
4
  const b = u("team", () => {
5
5
  const r = t([]), a = t(!1), s = m(
6
6
  () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
@@ -1,7 +1,7 @@
1
- import { d as i } from "./dayjs.min-EuIkR9bv.js";
1
+ import { d as i } from "./dayjs.min-Dfq8fN9X.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y, k as u, j as S, s as g } from "./index-B37OJY7u.js";
4
+ import { b as c, g as y, k as u, j as S, s as g } from "./index-nVxD4_on.js";
5
5
  const f = {
6
6
  async readTimesheets(t, e) {
7
7
  return y(await c().get(`timesheet?start=${t}&end=${e}`));
@@ -1,7 +1,7 @@
1
1
  import { defineStore as f, storeToRefs as v } from "pinia";
2
2
  import { ref as b } from "vue";
3
3
  import { useCoreStore as I, baseClientInstance as h } from "@feedmepos/mf-common";
4
- import { g as l, b as d, s as w } from "./index-B37OJY7u.js";
4
+ import { g as l, b as d, s as w } from "./index-nVxD4_on.js";
5
5
  const p = {
6
6
  async readRoles() {
7
7
  return l(await d().get("/pos-roles"));
@@ -1,6 +1,6 @@
1
1
  import { computed as I, isRef as L, watch as M } from "vue";
2
2
  import { SnackbarPosition as y } from "@feedmepos/ui-library";
3
- import { a as w, v } from "./useAppStore-DR307TDF.js";
3
+ import { a as w, v } from "./useAppStore-Dt1nUJ4t.js";
4
4
  const E = (r) => {
5
5
  async function d(u, e) {
6
6
  var l, a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-hrm-portal",
3
- "version": "1.1.3-dev.3",
3
+ "version": "1.1.3-dev.4",
4
4
  "files": [
5
5
  "dist"
6
6
  ],