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

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,12 +1,12 @@
1
1
  import { defineComponent as Y, ref as m, computed as P, watch as T, resolveComponent as y, createElementBlock as f, openBlock as c, Fragment as z, createVNode as r, unref as a, withCtx as S, createElementVNode as e, createBlock as q, createCommentVNode as p, toDisplayString as o } from "vue";
2
- import { d as G } from "./dayjs.min-CgN1oBQf.js";
2
+ import { d as G } from "./dayjs.min-CxMnYvrg.js";
3
3
  import { useI18n as J, useCoreStore as Z } from "@feedmepos/mf-common";
4
- import { _ as H } from "./app-CcbYGJ22.js";
4
+ import { _ as H } from "./app-DKuRvdeB.js";
5
5
  import { _ as Q } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import { _ as W } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
7
  import { components as X } from "@feedmepos/ui-library";
8
- import { g as ee, b as te } from "./index-D5sdamN5.js";
9
- import { u as oe } from "./team-CFyc6tnm.js";
8
+ import { g as ee, b as te } from "./index-DEH1isVF.js";
9
+ import { u as oe } from "./team-D9GxbwvB.js";
10
10
  import { S as ae } from "./SelectFilter-NbXrJ4iH.js";
11
11
  const se = "/audit-logs", le = {
12
12
  async read(i) {
@@ -2,14 +2,14 @@ import { createElementBlock as $, openBlock as h, createElementVNode as c, toRaw
2
2
  import { useCoreStore as be, useI18n as Ve, RestaurantSelector as me } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Fe, components as xe, useDialog as Le, useBreakpoints as Be, FmButtonVariant as De } from "@feedmepos/ui-library";
4
4
  import { _ as Ne, S as ce } from "./SelectFilter-NbXrJ4iH.js";
5
- import { _ as Pe } from "./app-CcbYGJ22.js";
5
+ import { _ as Pe } from "./app-DKuRvdeB.js";
6
6
  import { _ as Te } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
7
  import { u as we } from "./useSearch-B6WK1LBB.js";
8
- import { u as ke, E as ze } from "./employee-khk560IC.js";
9
- import { l as Ae } from "./lodash-7Am6_Zd3.js";
8
+ import { u as ke, E as ze } from "./employee-D9A-2noc.js";
9
+ import { l as Ae } from "./lodash-Bbnb5Nlh.js";
10
10
  import { u as je, _ as de, a as pe, b as Ke } from "./useRestaurantMap-D5BNPLKh.js";
11
- import { u as Ge } from "./useLoading-BA-GSZ3R.js";
12
- import { u as ne } from "./useAppStore-DOSLuH24.js";
11
+ import { u as Ge } from "./useLoading-FywoIKYV.js";
12
+ import { u as ne } from "./useAppStore-BJZiy3Q1.js";
13
13
  const qe = {};
14
14
  function He(S, O) {
15
15
  return h(), $("div", null, [...O[0] || (O[0] = [
@@ -3,15 +3,16 @@ import { useRouter as of, useRoute as cf } from "vue-router";
3
3
  import { useCoreStore as hf, useI18n as uf } from "@feedmepos/mf-common";
4
4
  import { _ as vf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as pf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
- import { u as df } from "./useAppStore-DOSLuH24.js";
6
+ import { u as df } from "./useAppStore-BJZiy3Q1.js";
7
7
  import "@feedmepos/ui-library";
8
8
  /* empty css */
9
- import { u as mf } from "./employee-khk560IC.js";
10
- import "./lodash-7Am6_Zd3.js";
11
- import "./index-D5sdamN5.js";
12
- import { R as vt } from "./app-CcbYGJ22.js";
13
- import "./dayjs.min-CgN1oBQf.js";
14
- import "./timesheet-DKhEeLe7.js";
9
+ import { u as mf } from "./employee-D9A-2noc.js";
10
+ import "./lodash-Bbnb5Nlh.js";
11
+ import "./index-DEH1isVF.js";
12
+ import "@feedmepos/hrm-permission";
13
+ import "./dayjs.min-CxMnYvrg.js";
14
+ import "./timesheet-pnAANVbk.js";
15
+ import { R as vt } from "./app-DKuRvdeB.js";
15
16
  var In = {};
16
17
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
17
18
  var jt = {};
@@ -15482,7 +15483,7 @@ var Yt = {
15482
15483
  const f2 = {
15483
15484
  key: 0,
15484
15485
  class: "mr-16"
15485
- }, l2 = { class: "space-y-24" }, A2 = /* @__PURE__ */ rf({
15486
+ }, l2 = { class: "space-y-24" }, y2 = /* @__PURE__ */ rf({
15486
15487
  __name: "Main",
15487
15488
  setup(e) {
15488
15489
  const t = of(), r = cf(), { readTeamMemberPosUserIds: n } = mf(), { restaurants: a, currentBusiness: i, readRestaurants: s } = hf(), { readRoles: f, roles: o } = df(), { t: l } = uf(), c = yn(), d = yn(), p = yn(), v = On({
@@ -15602,5 +15603,5 @@ const f2 = {
15602
15603
  }
15603
15604
  });
15604
15605
  export {
15605
- A2 as default
15606
+ y2 as default
15606
15607
  };
@@ -1,16 +1,18 @@
1
- import { defineComponent as V, ref as u, computed as B, watch as A, resolveComponent as c, createBlock as i, openBlock as s, withCtx as p, createElementVNode as C, createVNode as d, resolveDynamicComponent as T, createCommentVNode as k } from "vue";
1
+ import { defineComponent as V, ref as u, computed as B, watch as A, resolveComponent as i, createBlock as c, openBlock as s, withCtx as p, createElementVNode as C, createVNode as d, resolveDynamicComponent as T, createCommentVNode as k } from "vue";
2
2
  import { useRouter as F, useRoute as N } from "vue-router";
3
3
  import { useI18n as g } from "@feedmepos/mf-common";
4
4
  import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as w } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import "@feedmepos/ui-library";
7
- import "./index-D5sdamN5.js";
8
- import { R as v } from "./app-CcbYGJ22.js";
9
- import "./useAppStore-DOSLuH24.js";
7
+ import "./index-DEH1isVF.js";
8
+ import "@feedmepos/hrm-permission";
9
+ import "./useAppStore-BJZiy3Q1.js";
10
+ import "@feedmepos/hrm-permission/utils";
10
11
  /* empty css */
11
12
  /* empty css */
12
- import "./team-CFyc6tnm.js";
13
- const x = { class: "space-y-24" }, J = /* @__PURE__ */ V({
13
+ import "./team-D9GxbwvB.js";
14
+ import { R as v } from "./app-DKuRvdeB.js";
15
+ const x = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
14
16
  __name: "Main",
15
17
  setup(y) {
16
18
  const { t: a } = g(), f = F(), R = N(), _ = u(), b = u(), t = u("member");
@@ -40,15 +42,15 @@ const x = { class: "space-y-24" }, J = /* @__PURE__ */ V({
40
42
  }
41
43
  ]);
42
44
  return (e, r) => {
43
- const L = c("FmSpacer"), E = c("FmTabs"), M = c("RouterView");
44
- return s(), i(w, {
45
+ const L = i("FmSpacer"), E = i("FmTabs"), M = i("RouterView");
46
+ return s(), c(w, {
45
47
  heading: l.value.label
46
48
  }, {
47
49
  "append-heading": p(() => {
48
50
  var o;
49
51
  return [
50
52
  d(L),
51
- (o = l.value) != null && o.createButtonLabel ? (s(), i(h, {
53
+ (o = l.value) != null && o.createButtonLabel ? (s(), c(h, {
52
54
  key: 0,
53
55
  icon: "add",
54
56
  label: l.value.createButtonLabel,
@@ -65,7 +67,7 @@ const x = { class: "space-y-24" }, J = /* @__PURE__ */ V({
65
67
  }, null, 8, ["modelValue", "items"]),
66
68
  d(M, null, {
67
69
  default: p(({ Component: o }) => [
68
- (s(), i(T(o), {
70
+ (s(), c(T(o), {
69
71
  ref: (m) => {
70
72
  t.value === "member" && (_.value = m), t.value === "role" && (b.value = m);
71
73
  }
@@ -81,5 +83,5 @@ const x = { class: "space-y-24" }, J = /* @__PURE__ */ V({
81
83
  }
82
84
  });
83
85
  export {
84
- J as default
86
+ Q as default
85
87
  };