@feedmepos/mf-hrm-portal 2.0.24 → 2.0.25-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-NOjQWc0n.js +1145 -0
- package/dist/{EmployeeList-DCjDgFLf.js → EmployeeList-CLAEc_Dl.js} +78 -78
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +1 -1
- package/dist/{Main-B-4Hty-_.js → Main-CnLbqtUE.js} +1142 -1138
- package/dist/{Main-DWXAa4Zw.js → Main-DaG5Gqo3.js} +6 -6
- package/dist/Main-zga1U6eC.js +94 -0
- package/dist/{PermissionSetList-DE1vPSOS.js → PermissionSetList-4T-K3P1Y.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DWqxG7LZ.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-SBojB1i0.js} +1094 -1094
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Duq1Ltmf.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Sn93AcEd.js} +1 -1
- package/dist/{RoleList-CDZ0CwPn.js → RoleList-Dz7Vwovj.js} +7 -7
- package/dist/SelectFilter-ATOm0hdn.js +269 -0
- package/dist/{TeamMemberList-CGN9PqHo.js → TeamMemberList-DYGEd5pe.js} +12 -12
- package/dist/{TimesheetList-CENyYssG.js → TimesheetList-nAeY6i18.js} +10 -10
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-B1bqLX3y.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-Bd74jnJu.js} +2 -2
- package/dist/{app-CpPiF3az.js → app-DhjOMwb9.js} +655 -634
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DROzhzjn.js → dayjs.min-Bd3JE67B.js} +1 -1
- package/dist/{employee-hCtzhfBQ.js → employee-B3aJC3BG.js} +3 -3
- package/dist/{iteration-CHhRGYug.js → iteration-gb-z-6D3.js} +3 -3
- package/dist/{lodash-BHaHINha.js → lodash-BOwvb210.js} +1 -1
- package/dist/{rule-CKp_xSn-.js → rule-CkP2wcOa.js} +2 -2
- package/dist/src/api/audit-log/index.d.ts +17 -0
- package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
- package/dist/src/stores/team.d.ts +4 -1
- package/dist/src/views/audit-log/locales/index.d.ts +24 -16
- package/dist/src/views/hr/locales/index.d.ts +4 -0
- package/dist/src/views/team/locales/index.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DT1XvZDd.js → useAppStore-ByWfAgOH.js} +1 -1
- package/dist/{useLoading-CPT4hekh.js → useLoading-cyuvXo-X.js} +1 -1
- package/dist/{useReportPermissions-DeR0m-om.js → useReportPermissions-Blkuv4SJ.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-DiVmHoNT.js +0 -1037
- package/dist/Main-D1Pazgt0.js +0 -90
- package/dist/SelectFilter-DUj7GBtT.js +0 -251
|
@@ -2,14 +2,14 @@ import { ref as I, defineComponent as Q, computed as F, watch as ie, resolveComp
|
|
|
2
2
|
import { useI18n as X, useCoreStore as ye } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Y, components as M, useDialog as Ue, useBreakpoints as he, FmButtonVariant as q } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as xe } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
5
|
-
import { u as Z } from "./useAppStore-
|
|
6
|
-
import { g as z, a as be, b as H, u as ee } from "./iteration-
|
|
5
|
+
import { u as Z } from "./useAppStore-ByWfAgOH.js";
|
|
6
|
+
import { g as z, a as be, b as H, u as ee } from "./iteration-gb-z-6D3.js";
|
|
7
7
|
import { defineStore as ke } from "pinia";
|
|
8
|
-
import { S as D } from "./SelectFilter-
|
|
9
|
-
import { _ as we } from "./app-
|
|
10
|
-
import { _ as ce, u as Fe, H as Ve } from "./FormItem.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { S as D } from "./SelectFilter-ATOm0hdn.js";
|
|
9
|
+
import { _ as we } from "./app-DhjOMwb9.js";
|
|
10
|
+
import { _ as ce, u as Fe, H as Ve } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
|
|
11
11
|
import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
12
|
-
import { u as ue } from "./useLoading-
|
|
12
|
+
import { u as ue } from "./useLoading-cyuvXo-X.js";
|
|
13
13
|
import { _ as Ie } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
|
|
14
14
|
const W = {
|
|
15
15
|
async getGrantUsers() {
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { defineComponent as M, ref as R, computed as s, resolveComponent as i, createBlock as c, openBlock as p, withCtx as l, createElementVNode as S, createVNode as d, resolveDynamicComponent as g, createCommentVNode as y, createTextVNode as A, toDisplayString as C } from "vue";
|
|
2
|
+
import { useRouter as N, useRoute as h } from "vue-router";
|
|
3
|
+
import { useI18n as k } from "@feedmepos/mf-common";
|
|
4
|
+
import { _ as x } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
+
import { _ as F } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
6
|
+
import { u as w } from "./iteration-gb-z-6D3.js";
|
|
7
|
+
import "@feedmepos/ui-library";
|
|
8
|
+
import "./rule-CkP2wcOa.js";
|
|
9
|
+
import "./lodash-BOwvb210.js";
|
|
10
|
+
import "./useAppStore-ByWfAgOH.js";
|
|
11
|
+
import { R as v } from "./app-DhjOMwb9.js";
|
|
12
|
+
/* empty css */
|
|
13
|
+
import "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Sn93AcEd.js";
|
|
14
|
+
const $ = { class: "space-y-24" }, X = /* @__PURE__ */ M({
|
|
15
|
+
__name: "Main",
|
|
16
|
+
setup(q) {
|
|
17
|
+
const { t: o } = k(), b = N(), B = h(), { readRestaurants: T } = w(), _ = R(), f = R(), a = s({
|
|
18
|
+
get: () => B.name === v.TEAM_ROLE ? "role" : "member",
|
|
19
|
+
set: (e) => {
|
|
20
|
+
b.push({
|
|
21
|
+
name: e === "role" ? v.TEAM_ROLE : v.TEAM_MEMBER,
|
|
22
|
+
query: b.currentRoute.value.query
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
T();
|
|
27
|
+
const r = s(() => u.value.find((e) => e.value === a.value) || u.value[0]), u = s(() => [
|
|
28
|
+
{
|
|
29
|
+
label: o("team.title"),
|
|
30
|
+
subTitle: o("team.subtitle"),
|
|
31
|
+
value: "member",
|
|
32
|
+
createButtonLabel: o("team.actions.addMember"),
|
|
33
|
+
createButtonAction: () => {
|
|
34
|
+
var e;
|
|
35
|
+
(e = _.value) == null || e.create();
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: o("permissionSet.title"),
|
|
40
|
+
value: "role",
|
|
41
|
+
createButtonLabel: o("permissionSet.createButtonLabel"),
|
|
42
|
+
createButtonAction: () => {
|
|
43
|
+
var e;
|
|
44
|
+
(e = f.value) == null || e.create();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]);
|
|
48
|
+
return (e, n) => {
|
|
49
|
+
const L = i("FmSpacer"), V = i("FmTabs"), E = i("RouterView");
|
|
50
|
+
return p(), c(F, {
|
|
51
|
+
heading: r.value.label
|
|
52
|
+
}, {
|
|
53
|
+
"sub-heading": l(() => [
|
|
54
|
+
A(C(r.value.subTitle), 1)
|
|
55
|
+
]),
|
|
56
|
+
"append-heading": l(() => {
|
|
57
|
+
var t;
|
|
58
|
+
return [
|
|
59
|
+
d(L),
|
|
60
|
+
(t = r.value) != null && t.createButtonLabel ? (p(), c(x, {
|
|
61
|
+
key: 0,
|
|
62
|
+
icon: "add",
|
|
63
|
+
label: r.value.createButtonLabel,
|
|
64
|
+
onClick: n[0] || (n[0] = (m) => r.value.createButtonAction())
|
|
65
|
+
}, null, 8, ["label"])) : y("", !0)
|
|
66
|
+
];
|
|
67
|
+
}),
|
|
68
|
+
default: l(() => [
|
|
69
|
+
S("div", $, [
|
|
70
|
+
d(V, {
|
|
71
|
+
modelValue: a.value,
|
|
72
|
+
"onUpdate:modelValue": n[1] || (n[1] = (t) => a.value = t),
|
|
73
|
+
items: u.value
|
|
74
|
+
}, null, 8, ["modelValue", "items"]),
|
|
75
|
+
d(E, null, {
|
|
76
|
+
default: l(({ Component: t }) => [
|
|
77
|
+
(p(), c(g(t), {
|
|
78
|
+
ref: (m) => {
|
|
79
|
+
a.value === "member" && (_.value = m), a.value === "role" && (f.value = m);
|
|
80
|
+
}
|
|
81
|
+
}, null, 512))
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
})
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 8, ["heading"]);
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
export {
|
|
93
|
+
X as default
|
|
94
|
+
};
|
|
@@ -3,12 +3,12 @@ import { useI18n as Q, useCoreStore as ue } from "@feedmepos/mf-common";
|
|
|
3
3
|
import { useSnackbar as Y, useDialog as de, useBreakpoints as pe, components as J } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
5
5
|
import { u as ve, _ as Se } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
6
|
-
import { u as Z, c as ee, d as se, p as X, i as be, b as _e, m as D, l as he, n as Pe, s as ge, o as ye, v as we } from "./rule-
|
|
7
|
-
import { l as q } from "./lodash-
|
|
8
|
-
import { d as Fe, A as ke } from "./iteration-
|
|
9
|
-
import { u as xe } from "./useLoading-
|
|
10
|
-
import { b as G } from "./app-
|
|
11
|
-
import { _ as Ce } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as Z, c as ee, d as se, p as X, i as be, b as _e, m as D, l as he, n as Pe, s as ge, o as ye, v as we } from "./rule-CkP2wcOa.js";
|
|
7
|
+
import { l as q } from "./lodash-BOwvb210.js";
|
|
8
|
+
import { d as Fe, A as ke } from "./iteration-gb-z-6D3.js";
|
|
9
|
+
import { u as xe } from "./useLoading-cyuvXo-X.js";
|
|
10
|
+
import { b as G } from "./app-DhjOMwb9.js";
|
|
11
|
+
import { _ as Ce } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-SBojB1i0.js";
|
|
12
12
|
const Ve = { class: "flex w-full items-center justify-between" }, Re = { class: "fm-typo-en-title-md-600" }, Ie = { class: "flex items-center justify-start gap-8" }, je = /* @__PURE__ */ H({
|
|
13
13
|
__name: "PermissionSetForm",
|
|
14
14
|
props: {
|