@feedmepos/mf-hrm-portal 2.0.7 → 2.0.8-dev.1

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 (27) hide show
  1. package/dist/{AuditLogList-BWzKxoBK.js → AuditLogList-YGP3G14A.js} +5 -5
  2. package/dist/{EmployeeList-CPvHmCle.js → EmployeeList-DuRlCrqN.js} +5 -5
  3. package/dist/{Main-BNywXKr0.js → Main-BfDH3uAt.js} +9 -9
  4. package/dist/{Main-BEj_iUkZ.js → Main-D4ueBOl0.js} +6 -6
  5. package/dist/{Main-BkIzKoHQ.js → Main-QpKV1hdj.js} +4 -4
  6. package/dist/{PermissionSetList-B8jSoL19.js → PermissionSetList-DfAZmUkI.js} +5 -5
  7. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DokyDyxJ.js +3432 -0
  8. package/dist/{RoleList-BEx1B8PE.js → RoleList-D4mup6LW.js} +7 -7
  9. package/dist/{TeamMemberList-BEDwcjeT.js → TeamMemberList-D9rTKS5N.js} +8 -8
  10. package/dist/{TimesheetList-CqZG4xmE.js → TimesheetList-CBudjg1y.js} +7 -7
  11. package/dist/{app-DHtKeCwy.js → app-BO9lM0sJ.js} +4 -4
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-BWWy9u8p.js → dayjs.min-lY-LRZuh.js} +1 -1
  14. package/dist/{employee-C2ys9jf0.js → employee-DXp_u8jd.js} +4 -4
  15. package/dist/{index-O9ipnK-U.js → index-BigKo-lS.js} +1 -1
  16. package/dist/{index-BwYlZrxP.js → index-DAuOIotV.js} +2 -2
  17. package/dist/{iteration-BdhU8jGb.js → iteration-DgaP-HFg.js} +2 -2
  18. package/dist/{lodash-CDSEYvRz.js → lodash-Mhrrz947.js} +1 -1
  19. package/dist/src/views/team/components/BasePermission.vue.d.ts +2 -2
  20. package/dist/{team-9CwJsJGX.js → team-oeTIbsa-.js} +1 -1
  21. package/dist/{timesheet-ChKYJtjK.js → timesheet-B4XO3Kjx.js} +3 -3
  22. package/dist/tsconfig.app.tsbuildinfo +1 -1
  23. package/dist/{useAppStore-DGzBzMIR.js → useAppStore-Cu5QCTlx.js} +1 -1
  24. package/dist/{useLoading-CzteZR_c.js → useLoading-DKnxkHGF.js} +1 -1
  25. package/dist/{useReportPermissions-CaY_wr2l.js → useReportPermissions-B_w5FiAK.js} +3 -3
  26. package/package.json +1 -1
  27. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ddnj8eg_.js +0 -3356
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as he, ref as T, computed as _, onMounted as _e, watch as ue, resolveComponent as y, createBlock as k, openBlock as v, unref as t, withCtx as b, createElementVNode as h, createVNode as p, createCommentVNode as me, createElementBlock as P, Fragment as W, renderList as ae, toDisplayString as M, h as V, createTextVNode as de, resolveDynamicComponent as ce, withModifiers as we, nextTick as pe } from "vue";
2
- import { e as w } from "./iteration-BdhU8jGb.js";
2
+ import { e as w } from "./iteration-DgaP-HFg.js";
3
3
  import { useI18n as ge, useCoreStore as be } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as ye, components as se, useDialog as ke, useBreakpoints as Ue, FmButtonColorThemeVariant as ve, FmButtonVariant as Le } from "@feedmepos/ui-library";
5
- import { _ as Ie } from "./app-DHtKeCwy.js";
5
+ import { _ as Ie } from "./app-BO9lM0sJ.js";
6
6
  import { _ as Ee } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { e as Se, r as K, h as re, f as Pe, g as fe, a as Z } from "./index-BwYlZrxP.js";
8
- import { u as Fe } from "./useAppStore-DGzBzMIR.js";
9
- import { u as xe } from "./useReportPermissions-CaY_wr2l.js";
7
+ import { e as Se, r as K, h as re, f as Pe, g as fe, a as Z } from "./index-DAuOIotV.js";
8
+ import { u as Fe } from "./useAppStore-Cu5QCTlx.js";
9
+ import { u as xe } from "./useReportPermissions-B_w5FiAK.js";
10
10
  import { u as $e, a as Te } from "./useRestaurantMap-e9fQJiLC.js";
11
- import { l as ee } from "./lodash-CDSEYvRz.js";
11
+ import { l as ee } from "./lodash-Mhrrz947.js";
12
12
  import { _ as oe, a as Be } from "./FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js";
13
- import { u as De } from "./useLoading-CzteZR_c.js";
13
+ import { u as De } from "./useLoading-DKnxkHGF.js";
14
14
  const Ae = { class: "fm-typo-en-title-md-600" }, Me = { class: "space-y-40" }, Ne = { class: "space-y-8" }, Oe = { class: "space-y-8" }, Je = {
15
15
  key: 0,
16
16
  class: "w-50 ml-5 flex flex-row items-start"
@@ -2,17 +2,17 @@ import { defineComponent as ae, ref as F, resolveComponent as _, createBlock as
2
2
  import { useI18n as de, useCoreStore as ce, baseClientInstance as ge, RestaurantSelector as Ve } from "@feedmepos/mf-common";
3
3
  import { useBreakpoints as Ne, useSnackbar as Be, useDialog as Te, components as Fe } from "@feedmepos/ui-library";
4
4
  import { _ as ze, S as xe } from "./SelectFilter-DUj7GBtT.js";
5
- import { i as Se, f as qe, N as Ke, _ as Ge } from "./app-DHtKeCwy.js";
5
+ import { i as Se, f as qe, N as Ke, _ as Ge } from "./app-BO9lM0sJ.js";
6
6
  import { _ as We } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
7
  import { u as De } from "./useSearch-B6WK1LBB.js";
8
- import { u as Je } from "./useLoading-CzteZR_c.js";
9
- import { g as Ue, d as Oe } from "./iteration-BdhU8jGb.js";
10
- import { u as je, c as Xe, d as Qe, m as pe, j as Ae, p as we, k as Ye, l as Pe, n as Ze, o as He, s as et, q as tt, v as st, t as fe } from "./index-BwYlZrxP.js";
11
- import "./index-O9ipnK-U.js";
12
- import { u as Ee } from "./useAppStore-DGzBzMIR.js";
8
+ import { u as Je } from "./useLoading-DKnxkHGF.js";
9
+ import { g as Ue, d as Oe } from "./iteration-DgaP-HFg.js";
10
+ import { u as je, c as Xe, d as Qe, m as pe, j as Ae, p as we, k as Ye, l as Pe, n as Ze, o as He, s as et, q as tt, v as st, t as fe } from "./index-DAuOIotV.js";
11
+ import "./index-BigKo-lS.js";
12
+ import { u as Ee } from "./useAppStore-Cu5QCTlx.js";
13
13
  /* empty css */
14
- import { _ as ot, a as at } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ddnj8eg_.js";
15
- import { u as lt } from "./team-9CwJsJGX.js";
14
+ import { _ as ot, a as at } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DokyDyxJ.js";
15
+ import { u as lt } from "./team-oeTIbsa-.js";
16
16
  const nt = /* @__PURE__ */ ae({
17
17
  __name: "BottomSheetMenu",
18
18
  setup(o) {
@@ -1,14 +1,14 @@
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 C, 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-BWWy9u8p.js";
2
+ import { d as v } from "./dayjs.min-lY-LRZuh.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-DHtKeCwy.js";
5
+ import { _ as xe } from "./app-BO9lM0sJ.js";
6
6
  import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { u as ke } from "./useLoading-CzteZR_c.js";
8
- import { c as Ce, s as Ve } from "./iteration-BdhU8jGb.js";
9
- import { b as Fe } from "./index-BwYlZrxP.js";
10
- import { u as Ye } from "./employee-C2ys9jf0.js";
11
- import { u as Le } from "./timesheet-ChKYJtjK.js";
7
+ import { u as ke } from "./useLoading-DKnxkHGF.js";
8
+ import { c as Ce, s as Ve } from "./iteration-DgaP-HFg.js";
9
+ import { b as Fe } from "./index-DAuOIotV.js";
10
+ import { u as Ye } from "./employee-DXp_u8jd.js";
11
+ import { u as Le } from "./timesheet-B4XO3Kjx.js";
12
12
  function Me(x, a) {
13
13
  return ["years", "months"].find((S) => {
14
14
  const k = x.startOf(S), f = x.endOf(S);
@@ -3474,10 +3474,10 @@ const Ae = (e) => ({
3474
3474
  }
3475
3475
  ]
3476
3476
  }
3477
- }), fr = ee(X(() => import("./Main-BNywXKr0.js"))), wr = ee(X(() => import("./Main-BEj_iUkZ.js"))), Dr = ee(
3478
- X(() => import("./AuditLogList-BWzKxoBK.js"))
3479
- ), Mr = ee(X(() => import("./Main-BkIzKoHQ.js"))), vr = X(() => import("./EmployeeList-CPvHmCle.js")), Cr = X(() => import("./RoleList-BEx1B8PE.js")), Yr = X(() => import("./TimesheetList-CqZG4xmE.js")), hr = X(() => import("./TeamMemberList-BEDwcjeT.js")), Gr = X(
3480
- () => import("./PermissionSetList-B8jSoL19.js")
3477
+ }), fr = ee(X(() => import("./Main-BfDH3uAt.js"))), wr = ee(X(() => import("./Main-D4ueBOl0.js"))), Dr = ee(
3478
+ X(() => import("./AuditLogList-YGP3G14A.js"))
3479
+ ), Mr = ee(X(() => import("./Main-QpKV1hdj.js"))), vr = X(() => import("./EmployeeList-DuRlCrqN.js")), Cr = X(() => import("./RoleList-D4mup6LW.js")), Yr = X(() => import("./TimesheetList-CBudjg1y.js")), hr = X(() => import("./TeamMemberList-D9rTKS5N.js")), Gr = X(
3480
+ () => import("./PermissionSetList-DfAZmUkI.js")
3481
3481
  ), Hr = [
3482
3482
  {
3483
3483
  path: "/",
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as a, e as r, r as o } from "./app-DHtKeCwy.js";
1
+ import { h as a, e as r, r as o } from "./app-BO9lM0sJ.js";
2
2
  export {
3
3
  a as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-DHtKeCwy.js";
1
+ import { g as Q, c as K } from "./app-BO9lM0sJ.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as T } from "./dayjs.min-BWWy9u8p.js";
1
+ import { d as T } from "./dayjs.min-lY-LRZuh.js";
2
2
  import { defineStore as _, storeToRefs as U } from "pinia";
3
3
  import { ref as I } from "vue";
4
4
  import { useCoreStore as $ } from "@feedmepos/mf-common";
5
- import { b as r, g as o, s as v } from "./iteration-BdhU8jGb.js";
6
- import { t as b, i as S } from "./index-BwYlZrxP.js";
7
- import { u as x } from "./useAppStore-DGzBzMIR.js";
5
+ import { b as r, g as o, s as v } from "./iteration-DgaP-HFg.js";
6
+ import { t as b, i as S } from "./index-DAuOIotV.js";
7
+ import { u as x } from "./useAppStore-Cu5QCTlx.js";
8
8
  const n = {
9
9
  async readEmployees() {
10
10
  return o(await r().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 { c as st } from "./app-DHtKeCwy.js";
5
+ import { c as st } from "./app-BO9lM0sJ.js";
6
6
  var Pt = { exports: {} };
7
7
  (function(_, h) {
8
8
  (function(y, p) {
@@ -1,5 +1,5 @@
1
- import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-BdhU8jGb.js";
2
- import { d as J, u as R, a as F, i as D, b as S, N as Q } from "./app-DHtKeCwy.js";
1
+ import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-DgaP-HFg.js";
2
+ import { d as J, u as R, a as F, i as D, b as S, N as Q } from "./app-BO9lM0sJ.js";
3
3
  import { defineStore as x, storeToRefs as k } from "pinia";
4
4
  import { ref as h, computed as N } from "vue";
5
5
  import { useCoreStore as q } from "@feedmepos/mf-common";
@@ -1,4 +1,4 @@
1
- import { c as U } from "./app-DHtKeCwy.js";
1
+ import { c as U } from "./app-BO9lM0sJ.js";
2
2
  import { useCoreStore as To, baseClientInstance as jr, FeedMeAuth as Zs } from "@feedmepos/mf-common";
3
3
  var Ys = {}, _n = {}, _ = {}, zo = {}, $i = {}, eo = {}, ui = {};
4
4
  (function(e) {
@@ -9456,7 +9456,7 @@ const cc = (e) => (n) => {
9456
9456
  throw new Error("Invalid business");
9457
9457
  }, Bc = () => {
9458
9458
  var a;
9459
- const n = (a = To().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapi.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
9459
+ const n = (a = To().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapidev.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
9460
9460
  return cc(o)("");
9461
9461
  }, Nc = () => jr("user/bypass/validate/");
9462
9462
  function jc(e) {
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-DHtKeCwy.js";
1
+ import { c as jt } from "./app-BO9lM0sJ.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -3,7 +3,7 @@ import { type IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/h
3
3
  import type { FdoPermissionRule } from '@feedmepos/core/entity';
4
4
  declare var __VLS_9: `checkbox-${string}-append`, __VLS_10: {
5
5
  option: import("@/components/CheckboxInput.vue").CheckboxOption;
6
- }, __VLS_29: `checkbox-${string}-append`, __VLS_30: {
6
+ }, __VLS_37: `checkbox-${string}-append`, __VLS_38: {
7
7
  option: {
8
8
  label: string;
9
9
  value: string;
@@ -12,7 +12,7 @@ declare var __VLS_9: `checkbox-${string}-append`, __VLS_10: {
12
12
  type __VLS_Slots = {} & {
13
13
  [K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
14
14
  } & {
15
- [K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
15
+ [K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
18
  modelValue: {
@@ -1,6 +1,6 @@
1
1
  import { defineStore as d } from "pinia";
2
2
  import { ref as s, computed as o } from "vue";
3
- import { t as f } from "./index-BwYlZrxP.js";
3
+ import { t as f } from "./index-DAuOIotV.js";
4
4
  const I = d("team", () => {
5
5
  const r = s([]), a = s(!1), m = o(
6
6
  () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-BWWy9u8p.js";
1
+ import { d as i } from "./dayjs.min-lY-LRZuh.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, s as S } from "./iteration-BdhU8jGb.js";
5
- import { i as u, b as g } from "./index-BwYlZrxP.js";
4
+ import { b as c, g as y, s as S } from "./iteration-DgaP-HFg.js";
5
+ import { i as u, b as g } from "./index-DAuOIotV.js";
6
6
  const f = {
7
7
  async readTimesheets(t, e) {
8
8
  return y(await c().get(`timesheet?start=${t}&end=${e}`));