@feedmepos/mf-hrm-portal 2.0.8-dev → 2.0.9-dev

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 (23) hide show
  1. package/dist/{AuditLogList-Dp5B1jR-.js → AuditLogList-cTdvCUg5.js} +12 -12
  2. package/dist/{EmployeeList-O6XTYBcz.js → EmployeeList-B3fnrpGh.js} +5 -5
  3. package/dist/{Main-XEb1ECXG.js → Main-BBnrg7Uj.js} +8 -8
  4. package/dist/{Main--bRTC1IR.js → Main-BdqhjHAf.js} +5 -5
  5. package/dist/{PermissionSetList-DAwnZ-Gu.js → PermissionSetList-CbTD1cQS.js} +3 -3
  6. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bx7A0p-f.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-kNwUa8pu.js} +345 -345
  7. package/dist/{RoleList-BeB1etH6.js → RoleList-DX5diS1S.js} +6 -6
  8. package/dist/{TeamMemberList-BKCsNEuQ.js → TeamMemberList-BYV9RGP6.js} +7 -7
  9. package/dist/{TimesheetList-DNzuykEu.js → TimesheetList-BIow_Ws_.js} +6 -6
  10. package/dist/{app-BovCLczm.js → app-CvrjCzWF.js} +27 -9
  11. package/dist/app.js +2 -2
  12. package/dist/{dayjs.min-dxVeOXk_.js → dayjs.min-BLu272lb.js} +1 -1
  13. package/dist/{employee-DGiDGhcK.js → employee-DJHxqq_Y.js} +3 -3
  14. package/dist/{index-C0yiZ_7g.js → index-BR30VIHJ.js} +1 -1
  15. package/dist/{index-CQ26ps7Z.js → index-C2SJ78vp.js} +1 -1
  16. package/dist/{lodash-CBlFHm6b.js → lodash-17Fzq9hS.js} +1 -1
  17. package/dist/{team-BqxJ-gNb.js → team-DPCgqGHp.js} +1 -1
  18. package/dist/{timesheet-BVR_FxsT.js → timesheet-B3sXm2-b.js} +2 -2
  19. package/dist/tsconfig.app.tsbuildinfo +1 -1
  20. package/dist/{useAppStore-gvdZApLV.js → useAppStore-B87muKBs.js} +1 -1
  21. package/dist/{useLoading-CCzb5k4G.js → useLoading-Bsbv3Rtr.js} +1 -1
  22. package/dist/{useReportPermissions-9TaHhs9I.js → useReportPermissions-BpqdhZrp.js} +2 -2
  23. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as de, ref as h, computed as k, watch as R, resolveComponent as D, createElementBlock as f, openBlock as m, Fragment as F, createVNode as d, unref as n, withCtx as N, createElementVNode as e, createBlock as $, createCommentVNode as x, toDisplayString as s, renderList as re, createTextVNode as Y } from "vue";
2
- import { d as ce } from "./dayjs.min-dxVeOXk_.js";
2
+ import { d as ce } from "./dayjs.min-BLu272lb.js";
3
3
  import { useI18n as ue, useCoreStore as me } from "@feedmepos/mf-common";
4
- import { L as J, _ as fe } from "./app-BovCLczm.js";
4
+ import { G, _ as fe } from "./app-CvrjCzWF.js";
5
5
  import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import { _ as ve } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { components as G } from "@feedmepos/ui-library";
8
- import { g as _e, b as ge, p as Z } from "./index-C0yiZ_7g.js";
9
- import { u as he } from "./team-BqxJ-gNb.js";
7
+ import { components as J } from "@feedmepos/ui-library";
8
+ import { g as _e, b as ge, p as Z } from "./index-BR30VIHJ.js";
9
+ import { u as he } from "./team-DPCgqGHp.js";
10
10
  import { S as U } from "./SelectFilter-DUj7GBtT.js";
11
11
  const be = "/audit-logs", xe = {
12
12
  async read(i) {
@@ -91,9 +91,9 @@ const be = "/audit-logs", xe = {
91
91
  class: "text-xs text-fm-color-typo-secondary"
92
92
  }, Ye = {
93
93
  class: "font-semibold"
94
- }, Je = {
95
- key: 1
96
94
  }, Ge = {
95
+ key: 1
96
+ }, Je = {
97
97
  class: "text-xs text-fm-color-typo-secondary"
98
98
  }, Ze = {
99
99
  class: "font-semibold"
@@ -182,7 +182,7 @@ const be = "/audit-logs", xe = {
182
182
  const l = Z.flatMap((c) => H(c.subject).map((_) => ({
183
183
  label: c.label,
184
184
  value: _
185
- }))), t = Object.entries(J).map(([c, _]) => ({
185
+ }))), t = Object.entries(G).map(([c, _]) => ({
186
186
  label: _,
187
187
  value: c
188
188
  })), r = /* @__PURE__ */ new Set(), v = [];
@@ -227,7 +227,7 @@ const be = "/audit-logs", xe = {
227
227
  }), B = k(() => w.value);
228
228
  function z(l) {
229
229
  var t;
230
- return ((t = Z.find((r) => r.subject === l)) == null ? void 0 : t.label) ?? J[l];
230
+ return ((t = Z.find((r) => r.subject === l)) == null ? void 0 : t.label) ?? G[l];
231
231
  }
232
232
  const M = {
233
233
  allowed: "success",
@@ -249,7 +249,7 @@ const be = "/audit-logs", xe = {
249
249
  const t = l.row.original, r = g.userIdToName[t.userId], v = g.userIdToPhone[t.userId], c = g.userIdToEmail[t.userId];
250
250
  return d("div", {
251
251
  class: "flex items-center gap-8"
252
- }, [d(G.FmAvatar, {
252
+ }, [d(J.FmAvatar, {
253
253
  initials: r || t.userId,
254
254
  size: "sm",
255
255
  class: "shrink-0"
@@ -302,7 +302,7 @@ const be = "/audit-logs", xe = {
302
302
  enableSorting: !1,
303
303
  cell(l) {
304
304
  const t = l.row.original;
305
- return d(G.FmChip, {
305
+ return d(J.FmChip, {
306
306
  variant: M[t.outcome] ?? "neutral",
307
307
  label: t.outcome,
308
308
  compact: !0
@@ -472,7 +472,7 @@ const be = "/audit-logs", xe = {
472
472
  compact: ""
473
473
  }, null, 8, ["variant", "label"])]), t[7] || (t[7] = e("hr", {
474
474
  class: "border-fm-color-border-default"
475
- }, null, -1)), e("div", Fe, [e("div", null, [e("p", Ne, s(n(o)("auditLog.detail.timestamp")), 1), e("p", Ue, s(new Date(a.value.timestamp).toLocaleString()), 1)]), n(g).userIdToName[a.value.userId] ? (m(), f("div", Be, [e("p", Ee, s(n(o)("auditLog.detail.user")), 1), e("p", Re, s(n(g).userIdToName[a.value.userId]), 1)])) : x("", !0), e("div", null, [e("p", qe, s(n(o)("auditLog.detail.email")), 1), e("p", ze, s(n(g).userIdToEmail[a.value.userId] || a.value.userId), 1)]), e("div", null, [e("p", Me, s(n(o)("auditLog.detail.action")), 1), e("p", Ke, s(a.value.action), 1)]), e("div", null, [e("p", $e, s(n(o)("auditLog.detail.subject")), 1), e("p", Ye, s(z(a.value.subject) || a.value.subject), 1)]), a.value.field ? (m(), f("div", Je, [e("p", Ge, s(n(o)("auditLog.detail.field")), 1), e("p", Ze, s(a.value.field), 1)])) : x("", !0), e("div", null, [e("p", He, s(n(o)("auditLog.detail.business")), 1), e("p", Qe, s(a.value.businessId || "-"), 1)]), e("div", null, [e("p", We, s(n(o)("auditLog.detail.restaurant")), 1), e("p", Xe, s(a.value.restaurantId || "-"), 1)])])]), e("div", et, [e("div", tt, [e("p", ot, s(n(o)("auditLog.detail.metadata")), 1)]), t[8] || (t[8] = e("hr", {
475
+ }, null, -1)), e("div", Fe, [e("div", null, [e("p", Ne, s(n(o)("auditLog.detail.timestamp")), 1), e("p", Ue, s(new Date(a.value.timestamp).toLocaleString()), 1)]), n(g).userIdToName[a.value.userId] ? (m(), f("div", Be, [e("p", Ee, s(n(o)("auditLog.detail.user")), 1), e("p", Re, s(n(g).userIdToName[a.value.userId]), 1)])) : x("", !0), e("div", null, [e("p", qe, s(n(o)("auditLog.detail.email")), 1), e("p", ze, s(n(g).userIdToEmail[a.value.userId] || a.value.userId), 1)]), e("div", null, [e("p", Me, s(n(o)("auditLog.detail.action")), 1), e("p", Ke, s(a.value.action), 1)]), e("div", null, [e("p", $e, s(n(o)("auditLog.detail.subject")), 1), e("p", Ye, s(z(a.value.subject) || a.value.subject), 1)]), a.value.field ? (m(), f("div", Ge, [e("p", Je, s(n(o)("auditLog.detail.field")), 1), e("p", Ze, s(a.value.field), 1)])) : x("", !0), e("div", null, [e("p", He, s(n(o)("auditLog.detail.business")), 1), e("p", Qe, s(a.value.businessId || "-"), 1)]), e("div", null, [e("p", We, s(n(o)("auditLog.detail.restaurant")), 1), e("p", Xe, s(a.value.restaurantId || "-"), 1)])])]), e("div", et, [e("div", tt, [e("p", ot, s(n(o)("auditLog.detail.metadata")), 1)]), t[8] || (t[8] = e("hr", {
476
476
  class: "border-fm-color-border-default"
477
477
  }, null, -1)), e("div", at, [a.value.metadata.reason ? (m(), f("div", lt, [e("p", st, s(n(o)("auditLog.detail.reason")), 1), e("p", nt, s(a.value.metadata.reason), 1)])) : x("", !0), e("div", null, [e("p", it, s(n(o)("auditLog.detail.resolvedFrom")), 1), e("p", dt, s(a.value.metadata.resolvedFrom), 1)]), a.value.metadata.permissionSetId ? (m(), f("div", rt, [e("p", ct, s(n(o)("auditLog.detail.permissionSet")), 1), a.value.metadata.resolvedFrom === "systemPermissionSet" ? (m(), f(F, {
478
478
  key: 0
@@ -2,14 +2,14 @@ import { createElementBlock as $, openBlock as g, createElementVNode as m, toRaw
2
2
  import { useCoreStore as Fe, useI18n as we, RestaurantSelector as ce } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as xe, components as Ue, useDialog as Ne, useBreakpoints as Be, FmButtonVariant as De } from "@feedmepos/ui-library";
4
4
  import { _ as Pe, S as pe } from "./SelectFilter-DUj7GBtT.js";
5
- import { _ as Te } from "./app-BovCLczm.js";
5
+ import { _ as Te } from "./app-CvrjCzWF.js";
6
6
  import { _ as ze } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
7
  import { u as ke } from "./useSearch-B6WK1LBB.js";
8
- import { u as Se, E as Ae } from "./employee-DGiDGhcK.js";
9
- import { l as je } from "./lodash-CBlFHm6b.js";
8
+ import { u as Se, E as Ae } from "./employee-DJHxqq_Y.js";
9
+ import { l as je } from "./lodash-17Fzq9hS.js";
10
10
  import { u as Ke, _ as ve, a as fe, b as Ge } from "./useRestaurantMap-D5BNPLKh.js";
11
- import { u as qe } from "./useLoading-CCzb5k4G.js";
12
- import { u as ue } from "./useAppStore-gvdZApLV.js";
11
+ import { u as qe } from "./useLoading-Bsbv3Rtr.js";
12
+ import { u as ue } from "./useAppStore-B87muKBs.js";
13
13
  const He = {};
14
14
  function Je(S, O) {
15
15
  return g(), $("div", null, [...O[0] || (O[0] = [
@@ -3,16 +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-gvdZApLV.js";
6
+ import { u as df } from "./useAppStore-B87muKBs.js";
7
7
  import "@feedmepos/ui-library";
8
8
  /* empty css */
9
- import { u as mf } from "./employee-DGiDGhcK.js";
10
- import "./lodash-CBlFHm6b.js";
11
- import "./index-C0yiZ_7g.js";
12
- import { R as vt } from "./app-BovCLczm.js";
13
- import "./useReportPermissions-9TaHhs9I.js";
14
- import "./dayjs.min-dxVeOXk_.js";
15
- import "./timesheet-BVR_FxsT.js";
9
+ import { u as mf } from "./employee-DJHxqq_Y.js";
10
+ import "./lodash-17Fzq9hS.js";
11
+ import "./index-BR30VIHJ.js";
12
+ import { R as vt } from "./app-CvrjCzWF.js";
13
+ import "./useReportPermissions-BpqdhZrp.js";
14
+ import "./dayjs.min-BLu272lb.js";
15
+ import "./timesheet-B3sXm2-b.js";
16
16
  var In = {};
17
17
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
18
18
  var jt = {};
@@ -4,13 +4,13 @@ import { useI18n as N } from "@feedmepos/mf-common";
4
4
  import { _ as g } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
5
  import { _ as h } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
6
  import "@feedmepos/ui-library";
7
- import "./index-C0yiZ_7g.js";
8
- import { R as v } from "./app-BovCLczm.js";
9
- import "./useAppStore-gvdZApLV.js";
10
- import "./index-CQ26ps7Z.js";
7
+ import "./index-BR30VIHJ.js";
8
+ import { R as v } from "./app-CvrjCzWF.js";
9
+ import "./useAppStore-B87muKBs.js";
10
+ import "./index-C2SJ78vp.js";
11
11
  /* empty css */
12
12
  /* empty css */
13
- import "./team-BqxJ-gNb.js";
13
+ import "./team-DPCgqGHp.js";
14
14
  const w = { class: "space-y-24" }, P = /* @__PURE__ */ V({
15
15
  __name: "Main",
16
16
  setup(x) {
@@ -2,9 +2,9 @@ import { defineComponent as q, computed as _, resolveComponent as c, createEleme
2
2
  import { useI18n as M, useCoreStore as oe } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as J, useDialog as ne, useBreakpoints as ie, components as le, FmButtonColorThemeVariant as ae, FmButtonVariant as re } from "@feedmepos/ui-library";
4
4
  import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
5
- import { q as K, A as ue, u as Q, m as X, p as ce, n as de, o as N, w as pe, x as fe, y as ve, B as Se } from "./index-C0yiZ_7g.js";
6
- import { u as _e } from "./useLoading-CCzb5k4G.js";
7
- import { a as be } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bx7A0p-f.js";
5
+ import { q as K, A as ue, u as Q, m as X, p as ce, n as de, o as N, w as pe, x as fe, y as ve, B as Se } from "./index-BR30VIHJ.js";
6
+ import { u as _e } from "./useLoading-Bsbv3Rtr.js";
7
+ import { a as be } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-kNwUa8pu.js";
8
8
  const he = { class: "flex flex-row items-center gap-8" }, ge = /* @__PURE__ */ q({
9
9
  __name: "PermissionWithTooltip",
10
10
  props: {