@feedmepos/mf-hrm-portal 2.0.17-dev.2 → 2.0.17-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.
- package/dist/{AuditLogList-DQOiwup5.js → AuditLogList-C6qAeY5g.js} +5 -5
- package/dist/{EmployeeList-oERrzrAd.js → EmployeeList-COtXtTqG.js} +16 -17
- package/dist/{Main-C8ja5xs6.js → Main--tejoyEP.js} +4 -4
- package/dist/{Main-2uJvk5L7.js → Main-BNXKItvX.js} +8 -7
- package/dist/{Main-5nIpv-Sp.js → Main-Dkr5lzbv.js} +9 -9
- package/dist/PermissionSetList-B_Sdvbu7.js +340 -0
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B-hvBqE0.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBsaxaXu.js} +575 -575
- package/dist/{RoleList-CDBP2W5v.js → RoleList-SZCgvYvC.js} +17 -18
- package/dist/TeamMemberList-Dk5HeFfQ.js +1008 -0
- package/dist/{TimesheetList-D1ByiuwP.js → TimesheetList-D-3k0Uad.js} +6 -6
- package/dist/{app-hS6MBhCw.js → app-BjXuSCis.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DFcH-XYr.js → dayjs.min-z-vrgFCL.js} +1 -1
- package/dist/{employee-fBtBUEwZ.js → employee-DAqAMupR.js} +3 -3
- package/dist/{iteration-D23fqAQH.js → iteration-Cp1eSTJA.js} +1 -1
- package/dist/{lodash-Cqc7y4P5.js → lodash-CXLZQQp8.js} +1 -1
- package/dist/{rule-BBJzenE1.js → rule-vBxopbM_.js} +2 -2
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +2 -0
- package/dist/{team-Dq3VcGNH.js → team-CnQ_rIx2.js} +1 -1
- package/dist/{timesheet-OfLQjuvO.js → timesheet-BlPhOifI.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-Du6PRBq0.js → useAppStore-BVnrWyPF.js} +1 -1
- package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
- package/dist/{useLoading-DkTCR5A7.js → useLoading-7ia-Bps7.js} +1 -1
- package/dist/{useReportPermissions-DhhjBwPs.js → useReportPermissions-C8HMek35.js} +3 -3
- package/package.json +1 -1
- package/dist/PermissionSetList-CtpaWlVM.js +0 -323
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +0 -132
- package/dist/TeamMemberList-DSzNjP4y.js +0 -996
- package/dist/useDiscardConfirm-BHni0LNu.js +0 -28
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { computed as _, defineComponent as ge, ref as P, watch as ne, onMounted as be, resolveComponent as C, createBlock as L, openBlock as d, unref as o, withCtx as b, createElementVNode as f, createVNode as c, createElementBlock as V, Fragment as N, createCommentVNode as de, renderList as ae, toDisplayString as D, h as S, createTextVNode as pe, resolveDynamicComponent as ve, withModifiers as Le, nextTick as fe } from "vue";
|
|
2
|
-
import { e as k } from "./iteration-
|
|
2
|
+
import { e as k } from "./iteration-Cp1eSTJA.js";
|
|
3
3
|
import { useCoreStore as me, useI18n as ye } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as xe, components as ue, useDialog as Ue, useBreakpoints as Ee, FmButtonColorThemeVariant as Ie } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as Se } from "./app-
|
|
6
|
-
import { _ as he } from "./
|
|
7
|
-
import { _ as
|
|
8
|
-
import { e as
|
|
9
|
-
import { u as Re } from "./useAppStore-
|
|
10
|
-
import { u as Fe } from "./useReportPermissions-
|
|
11
|
-
import { l as se } from "./lodash-
|
|
12
|
-
import { _ as
|
|
5
|
+
import { _ as Se } from "./app-BjXuSCis.js";
|
|
6
|
+
import { u as Pe, _ as he } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
7
|
+
import { _ as $e } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
8
|
+
import { e as Te, r as W, h as Ce, f as Me, g as _e, a as ee } from "./rule-vBxopbM_.js";
|
|
9
|
+
import { u as Re } from "./useAppStore-BVnrWyPF.js";
|
|
10
|
+
import { u as Fe } from "./useReportPermissions-C8HMek35.js";
|
|
11
|
+
import { l as se } from "./lodash-CXLZQQp8.js";
|
|
12
|
+
import { _ as Be } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
13
13
|
import { _ as ie } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as De } from "./useLoading-DkTCR5A7.js";
|
|
14
|
+
import { u as De } from "./useLoading-7ia-Bps7.js";
|
|
16
15
|
function Ae() {
|
|
17
16
|
const j = me();
|
|
18
17
|
return _(() => {
|
|
@@ -50,7 +49,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
50
49
|
const T = Re(), H = xe(), Q = De(H), { fetchReportPermissions: te, allReportPermissions: le, availableReportKeys: M } = Fe(), R = j, y = P(!1), oe = () => {
|
|
51
50
|
y.value = !y.value, y.value && Y();
|
|
52
51
|
}, J = _(() => R.id ? a("hr.role.form.update") : a("hr.role.form.add")), X = _(() => R.id ? a("common.update") : a("common.add")), q = _(() => {
|
|
53
|
-
const e =
|
|
52
|
+
const e = Te.filter(
|
|
54
53
|
(u) => u.subject !== k.F_RULE_SUBJECT.enum.report
|
|
55
54
|
).map((u) => W(u)), s = le.value.map((u) => W(u));
|
|
56
55
|
return [...e, ...s];
|
|
@@ -97,7 +96,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
97
96
|
restaurantIds: t.value.restaurantIds,
|
|
98
97
|
role: {
|
|
99
98
|
name: t.value.name,
|
|
100
|
-
permissions:
|
|
99
|
+
permissions: Me(t.value.permissions, t.value.maxDiscountPercentage)
|
|
101
100
|
}
|
|
102
101
|
})), r = async () => {
|
|
103
102
|
const e = l.value;
|
|
@@ -126,7 +125,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
126
125
|
e.length > 0 && (re.value = "");
|
|
127
126
|
}
|
|
128
127
|
);
|
|
129
|
-
const B =
|
|
128
|
+
const B = Pe(
|
|
130
129
|
() => {
|
|
131
130
|
var e, s, u, A;
|
|
132
131
|
return !se.isEqual(t.value.name, ((e = p.value) == null ? void 0 : e.name) || E().name) || !se.isEqual(
|
|
@@ -252,7 +251,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
252
251
|
class: "p-16"
|
|
253
252
|
}, {
|
|
254
253
|
default: b(() => [
|
|
255
|
-
c(
|
|
254
|
+
c(Be, null, {
|
|
256
255
|
title: b(() => [
|
|
257
256
|
f("p", ze, D(n.title), 1)
|
|
258
257
|
]),
|
|
@@ -323,7 +322,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
323
322
|
class: "flex"
|
|
324
323
|
}, ts = {
|
|
325
324
|
class: "flex"
|
|
326
|
-
},
|
|
325
|
+
}, gs = /* @__PURE__ */ ge({
|
|
327
326
|
__name: "RoleList",
|
|
328
327
|
setup(j, {
|
|
329
328
|
expose: G
|
|
@@ -531,7 +530,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
531
530
|
_: 1
|
|
532
531
|
})])]),
|
|
533
532
|
_: 1
|
|
534
|
-
})) : (d(), L(o(
|
|
533
|
+
})) : (d(), L(o($e), {
|
|
535
534
|
key: 1,
|
|
536
535
|
title: o(a)("hr.role.noData.title"),
|
|
537
536
|
subtitle: o(a)("hr.role.noData.subtitle")
|
|
@@ -540,5 +539,5 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
|
|
|
540
539
|
}
|
|
541
540
|
});
|
|
542
541
|
export {
|
|
543
|
-
|
|
542
|
+
gs as default
|
|
544
543
|
};
|