@feedmepos/mf-hrm-portal 2.0.18-dev → 2.0.18-dev.2

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 (31) hide show
  1. package/dist/AuditLogList-D4E8pss5.js +1037 -0
  2. package/dist/{EmployeeList-DcMvF9U5.js → EmployeeList-BfJO89pN.js} +302 -314
  3. package/dist/FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js +45 -0
  4. package/dist/{Main-CvW6Vu8N.js → Main-BbOMNP31.js} +9 -9
  5. package/dist/{Main-D7k57uq5.js → Main-XmxzThcC.js} +7 -8
  6. package/dist/{Main-CleutFvF.js → Main-dqgR1UXY.js} +11 -12
  7. package/dist/{PermissionSetList-CM7kbWkO.js → PermissionSetList-DO0PRS6Z.js} +6 -6
  8. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ces9YwYB.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DL4_xvBZ.js} +708 -708
  9. package/dist/{RoleList-DR3eVJ9f.js → RoleList-DB3NfUYF.js} +7 -7
  10. package/dist/TeamMemberList-4hEx6L5r.js +1090 -0
  11. package/dist/{TimesheetList-WqqoKPbg.js → TimesheetList-D29EFj1Q.js} +6 -6
  12. package/dist/{app-R5EioPr4.js → app-SadE2J6-.js} +4 -4
  13. package/dist/app.js +1 -1
  14. package/dist/{dayjs.min-CN15Ft3o.js → dayjs.min-DKCxxK08.js} +1 -1
  15. package/dist/{employee-DwQlWLkL.js → employee-3KJs872J.js} +3 -3
  16. package/dist/{iteration-UBGGRoxQ.js → iteration-QZxp7XeE.js} +1 -1
  17. package/dist/{lodash-CC6qHVUo.js → lodash-DrksHyHu.js} +1 -1
  18. package/dist/{rule-B519XbW6.js → rule-CSsgDC6F.js} +2 -2
  19. package/dist/{timesheet-BylrXRfd.js → timesheet-sBe_HCZh.js} +2 -2
  20. package/dist/tsconfig.app.tsbuildinfo +1 -1
  21. package/dist/{useAppStore-Akl8AoVN.js → useAppStore-BDADkWuX.js} +1 -1
  22. package/dist/useDebounce-CWb5QR9G.js +28 -0
  23. package/dist/{useLoading-rbrVwWuj.js → useLoading-PTqnaz_W.js} +1 -1
  24. package/dist/{useReportPermissions-BOEZU86S.js → useReportPermissions-C3Uzu7vB.js} +3 -3
  25. package/package.json +1 -1
  26. package/dist/AuditLogList-CaoW9uYd.js +0 -1011
  27. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CoorkndT.js +0 -34
  28. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-B4PxNMwq.js +0 -16
  29. package/dist/TeamMemberList-CZZv4Pu5.js +0 -1038
  30. package/dist/team-BGLhgx5P.js +0 -33
  31. package/dist/useSearch-BAPEUu1R.js +0 -15
@@ -0,0 +1,45 @@
1
+ import { createElementBlock as r, openBlock as c, createElementVNode as o, ref as m, computed as f, defineComponent as p, renderSlot as a, createCommentVNode as _, toDisplayString as i } from "vue";
2
+ import { _ as y } from "./SelectFilter-DUj7GBtT.js";
3
+ const h = {};
4
+ function v(t, e) {
5
+ return c(), r("div", null, [...e[0] || (e[0] = [
6
+ o("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
7
+ ])]);
8
+ }
9
+ const C = /* @__PURE__ */ y(h, [["render", v]]), V = (t) => {
10
+ const e = m("");
11
+ function s(n) {
12
+ return `${n}`.trim().toLowerCase();
13
+ }
14
+ const l = f(() => s(e.value));
15
+ function d(n) {
16
+ return l.value ? n.some((u) => s(u).includes(l.value)) : !0;
17
+ }
18
+ return { searchKey: e, filter: d };
19
+ }, b = { class: "space-y-8" }, x = { class: "flex items-center justify-between" }, S = { class: "space-y-8" }, g = { class: "fm-typo-en-body-lg-600" }, $ = {
20
+ key: 0,
21
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
22
+ }, B = /* @__PURE__ */ p({
23
+ __name: "FormItem",
24
+ props: {
25
+ label: {},
26
+ description: {}
27
+ },
28
+ setup(t) {
29
+ return (e, s) => (c(), r("div", b, [
30
+ o("div", x, [
31
+ o("div", S, [
32
+ o("p", g, i(t.label), 1),
33
+ t.description ? (c(), r("p", $, i(t.description), 1)) : _("", !0)
34
+ ]),
35
+ a(e.$slots, "append")
36
+ ]),
37
+ a(e.$slots, "default")
38
+ ]));
39
+ }
40
+ });
41
+ export {
42
+ C as H,
43
+ B as _,
44
+ V as u
45
+ };
@@ -3,18 +3,18 @@ import { useRouter as lf, useRoute as of } from "vue-router";
3
3
  import { useCoreStore as cf, useI18n as hf } from "@feedmepos/mf-common";
4
4
  import { _ as uf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as vf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
- import { u as pf } from "./iteration-UBGGRoxQ.js";
7
- import { u as df } from "./useAppStore-Akl8AoVN.js";
6
+ import { u as pf } from "./iteration-QZxp7XeE.js";
7
+ import { u as df } from "./useAppStore-BDADkWuX.js";
8
8
  import "@feedmepos/ui-library";
9
9
  /* empty css */
10
- import "./employee-DwQlWLkL.js";
11
- import "./lodash-CC6qHVUo.js";
10
+ import "./employee-3KJs872J.js";
11
+ import "./lodash-DrksHyHu.js";
12
12
  /* empty css */
13
- import { R as vt } from "./app-R5EioPr4.js";
14
- import "./rule-B519XbW6.js";
15
- import "./useReportPermissions-BOEZU86S.js";
16
- import "./dayjs.min-CN15Ft3o.js";
17
- import "./timesheet-BylrXRfd.js";
13
+ import { R as vt } from "./app-SadE2J6-.js";
14
+ import "./rule-CSsgDC6F.js";
15
+ import "./useReportPermissions-C3Uzu7vB.js";
16
+ import "./dayjs.min-DKCxxK08.js";
17
+ import "./timesheet-sBe_HCZh.js";
18
18
  var In = {};
19
19
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
20
20
  var Zt = {};
@@ -3,16 +3,15 @@ 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
- import { u as x } from "./iteration-UBGGRoxQ.js";
6
+ import { u as x } from "./iteration-QZxp7XeE.js";
7
7
  import "@feedmepos/ui-library";
8
- import "./rule-B519XbW6.js";
9
- import "./lodash-CC6qHVUo.js";
10
- import "./useAppStore-Akl8AoVN.js";
11
- import { R as v } from "./app-R5EioPr4.js";
8
+ import "./rule-CSsgDC6F.js";
9
+ import "./lodash-DrksHyHu.js";
10
+ import "./useAppStore-BDADkWuX.js";
11
+ import { R as v } from "./app-SadE2J6-.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
- import "./team-BGLhgx5P.js";
15
- const y = { class: "space-y-24" }, X = /* @__PURE__ */ A({
14
+ const y = { class: "space-y-24" }, W = /* @__PURE__ */ A({
16
15
  __name: "Main",
17
16
  setup($) {
18
17
  const { t: a } = g(), f = F(), B = N(), { readRestaurants: L } = x(), _ = u(), b = u(), t = u("member");
@@ -83,5 +82,5 @@ const y = { class: "space-y-24" }, X = /* @__PURE__ */ A({
83
82
  }
84
83
  });
85
84
  export {
86
- X as default
85
+ W as default
87
86
  };
@@ -1,16 +1,15 @@
1
1
  import { ref as S, defineComponent as Q, computed as V, watch as ce, resolveComponent as h, createElementBlock as K, openBlock as I, Fragment as J, renderSlot as ge, createVNode as n, unref as s, withCtx as x, createElementVNode as l, toDisplayString as k, createBlock as E, isRef as re, renderList as fe, createCommentVNode as ve, withModifiers as oe, createTextVNode as ne, normalizeClass as _e, h as _ } from "vue";
2
2
  import { useI18n as X, useCoreStore as ye } from "@feedmepos/mf-common";
3
3
  import { _ as Ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
4
- import { u as Y } from "./useAppStore-Akl8AoVN.js";
5
- import { g as z, a as he, b as q, u as Z } from "./iteration-UBGGRoxQ.js";
4
+ import { u as Y } from "./useAppStore-BDADkWuX.js";
5
+ import { g as z, a as he, b as q, u as Z } from "./iteration-QZxp7XeE.js";
6
6
  import { defineStore as xe } from "pinia";
7
7
  import { useSnackbar as ie, components as M, useDialog as be, useBreakpoints as we, FmButtonVariant as H } from "@feedmepos/ui-library";
8
8
  import { S as D } from "./SelectFilter-DUj7GBtT.js";
9
- import { _ as ke } from "./app-R5EioPr4.js";
10
- import { _ as le, H as Ve } from "./FormItem.vue_vue_type_script_setup_true_lang-CoorkndT.js";
11
- import { _ as Fe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
12
- import { u as Ie } from "./useSearch-BAPEUu1R.js";
13
- import { u as ue } from "./useLoading-rbrVwWuj.js";
9
+ import { _ as ke } from "./app-SadE2J6-.js";
10
+ import { _ as le, u as Ve, H as Fe } from "./FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js";
11
+ import { _ as Ie } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
12
+ import { u as ue } from "./useLoading-PTqnaz_W.js";
14
13
  import { _ as Se } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
15
14
  const W = {
16
15
  async getGrantUsers() {
@@ -247,7 +246,7 @@ const W = {
247
246
  } = Y(), r = V(() => b.grantUsers), {
248
247
  searchKey: c,
249
248
  filter: i
250
- } = Ie(), w = V(() => {
249
+ } = Ve(), w = V(() => {
251
250
  var e;
252
251
  return (e = r.value) == null ? void 0 : e.filter((t) => {
253
252
  const v = !U.value || U.value.includes(t.restaurantId), O = !B.value || B.value.includes(t.status), A = C.value[t.restaurantId] || "", j = F.value[t.roleId] || "";
@@ -462,7 +461,7 @@ const W = {
462
461
  "onUpdate:modelValue": t[3] || (t[3] = (o) => re(c) ? c.value = o : null),
463
462
  autofocus: "",
464
463
  placeholder: s(a)("grantUser.search.placeholder")
465
- }, null, 8, ["modelValue", "placeholder"])]), n(Ve), l("div", Ke, [n(D, {
464
+ }, null, 8, ["modelValue", "placeholder"])]), n(Fe), l("div", Ke, [n(D, {
466
465
  modelValue: U.value,
467
466
  "onUpdate:modelValue": t[4] || (t[4] = (o) => U.value = o),
468
467
  multiple: "",
@@ -517,14 +516,14 @@ const W = {
517
516
  _: 1
518
517
  })])]),
519
518
  _: 1
520
- })) : (I(), E(s(Fe), {
519
+ })) : (I(), E(s(Ie), {
521
520
  key: 1,
522
521
  title: s(a)("grantUser.noData.title"),
523
522
  subtitle: s(a)("grantUser.noData.subtitle")
524
523
  }, null, 8, ["title", "subtitle"]))])], 64);
525
524
  };
526
525
  }
527
- }), mt = /* @__PURE__ */ Q({
526
+ }), dt = /* @__PURE__ */ Q({
528
527
  __name: "Main",
529
528
  setup(p) {
530
529
  const { readGrantUsers: y } = ee(), { currentBusiness: a } = ye(), { readRoles: U } = Y(), { readRestaurants: b } = Z(), { t: u } = X(), m = S();
@@ -563,5 +562,5 @@ const W = {
563
562
  }
564
563
  });
565
564
  export {
566
- mt as default
565
+ dt as default
567
566
  };
@@ -3,12 +3,12 @@ import { useI18n as Q, useCoreStore as ce } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as Y, useDialog as ue, useBreakpoints as de, components as J } from "@feedmepos/ui-library";
4
4
  import { _ as pe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
5
  import { u as fe, _ as ve } from "./useDiscardConfirm-DPhEV6v0.js";
6
- import { u as Z, c as ee, d as se, p as X, i as Se, b as be, m as A, k as Pe, l as he, s as _e, n as ge, q as ye } from "./rule-B519XbW6.js";
7
- import { l as W } from "./lodash-CC6qHVUo.js";
8
- import { d as we, A as Fe } from "./iteration-UBGGRoxQ.js";
9
- import { u as Ve } from "./useLoading-rbrVwWuj.js";
10
- import { d as G } from "./app-R5EioPr4.js";
11
- import { _ as ke } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ces9YwYB.js";
6
+ import { u as Z, c as ee, d as se, p as X, i as Se, b as be, m as A, k as Pe, l as he, s as _e, n as ge, q as ye } from "./rule-CSsgDC6F.js";
7
+ import { l as W } from "./lodash-DrksHyHu.js";
8
+ import { d as we, A as Fe } from "./iteration-QZxp7XeE.js";
9
+ import { u as Ve } from "./useLoading-PTqnaz_W.js";
10
+ import { d as G } from "./app-SadE2J6-.js";
11
+ import { _ as ke } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DL4_xvBZ.js";
12
12
  const xe = { class: "fm-typo-en-title-md-600" }, Ce = { class: "flex items-center justify-start gap-8" }, Re = /* @__PURE__ */ H({
13
13
  __name: "PermissionSetForm",
14
14
  props: {