@feedmepos/mf-hrm-portal 2.0.7-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.
- package/dist/{AuditLogList-COq6WH3T.js → AuditLogList-cTdvCUg5.js} +12 -12
- package/dist/{EmployeeList-CtosIPFL.js → EmployeeList-B3fnrpGh.js} +5 -5
- package/dist/{Main-CdsqeB2G.js → Main-BBnrg7Uj.js} +8 -8
- package/dist/{Main-B4YdcrGe.js → Main-BdqhjHAf.js} +5 -5
- package/dist/{PermissionSetList-BUORArci.js → PermissionSetList-CbTD1cQS.js} +3 -3
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ChqCTn1L.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-kNwUa8pu.js} +332 -332
- package/dist/{RoleList-D1NGE2IC.js → RoleList-DX5diS1S.js} +6 -6
- package/dist/{TeamMemberList-auSjZRNz.js → TeamMemberList-BYV9RGP6.js} +7 -7
- package/dist/{TimesheetList-B8yCkaxb.js → TimesheetList-BIow_Ws_.js} +6 -6
- package/dist/{app-CB3ye-CT.js → app-CvrjCzWF.js} +28 -10
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-DOxEzdpe.js → dayjs.min-BLu272lb.js} +1 -1
- package/dist/{employee-G0pQg8_6.js → employee-DJHxqq_Y.js} +3 -3
- package/dist/{index-Beu6IuhT.js → index-BR30VIHJ.js} +3 -3
- package/dist/{index-DQArLkVB.js → index-C2SJ78vp.js} +1 -1
- package/dist/{lodash-COjtwv4w.js → lodash-17Fzq9hS.js} +1 -1
- package/dist/src/api/permission-assignment/index.d.ts +1 -1
- package/dist/{team-CEtKQK6n.js → team-DPCgqGHp.js} +1 -1
- package/dist/{timesheet-DZF9D3QQ.js → timesheet-B3sXm2-b.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-9lbKMy_9.js → useAppStore-B87muKBs.js} +1 -1
- package/dist/{useLoading-BIIvuJcM.js → useLoading-Bsbv3Rtr.js} +1 -1
- package/dist/{useReportPermissions-BXQ0-WwK.js → useReportPermissions-BpqdhZrp.js} +2 -2
- 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-
|
|
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 {
|
|
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
|
|
8
|
-
import { g as _e, b as ge, p as Z } from "./index-
|
|
9
|
-
import { u as he } from "./team-
|
|
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(
|
|
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) ??
|
|
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(
|
|
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(
|
|
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",
|
|
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-
|
|
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-
|
|
9
|
-
import { l as je } from "./lodash-
|
|
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-
|
|
12
|
-
import { u as ue } from "./useAppStore-
|
|
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-
|
|
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-
|
|
10
|
-
import "./lodash-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { R as vt } from "./app-
|
|
13
|
-
import "./useReportPermissions-
|
|
14
|
-
import "./dayjs.min-
|
|
15
|
-
import "./timesheet-
|
|
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-
|
|
8
|
-
import { R as v } from "./app-
|
|
9
|
-
import "./useAppStore-
|
|
10
|
-
import "./index-
|
|
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-
|
|
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-
|
|
6
|
-
import { u as _e } from "./useLoading-
|
|
7
|
-
import { a as be } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
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: {
|