@feedmepos/mf-hrm-portal 2.0.17-dev.5 → 2.0.18-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-Dl3Nmf00.js → AuditLogList-CaoW9uYd.js} +5 -5
- package/dist/EmployeeList-DcMvF9U5.js +839 -0
- package/dist/Main-CleutFvF.js +567 -0
- package/dist/{Main-CQ3KwxDY.js → Main-CvW6Vu8N.js} +2055 -2055
- package/dist/{Main-w0XUUaBp.js → Main-D7k57uq5.js} +32 -32
- package/dist/{PermissionSetList-B8qNOWH6.js → PermissionSetList-CM7kbWkO.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9VUjAu_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ces9YwYB.js} +525 -525
- package/dist/{RoleList-DMFJsUZv.js → RoleList-DR3eVJ9f.js} +102 -102
- package/dist/TeamMemberList-CZZv4Pu5.js +1038 -0
- package/dist/{TimesheetList-Bwp9_xHe.js → TimesheetList-WqqoKPbg.js} +132 -126
- package/dist/{app-COJbSNM4.js → app-R5EioPr4.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CcBi6N-K.js → dayjs.min-CN15Ft3o.js} +1 -1
- package/dist/employee-DwQlWLkL.js +204 -0
- package/dist/{iteration-JOKbtlLf.js → iteration-UBGGRoxQ.js} +9258 -9213
- package/dist/{lodash-D5xlVzib.js → lodash-CC6qHVUo.js} +1 -1
- package/dist/{rule-3sXHiW0y.js → rule-B519XbW6.js} +273 -273
- package/dist/src/api/restaurant/index.d.ts +5 -0
- package/dist/src/composables/useRestaurantMap.d.ts +2 -329
- package/dist/src/stores/restaurant.d.ts +181 -0
- package/dist/src/stores/role.d.ts +7 -7
- package/dist/src/types/restaurant.d.ts +11 -0
- package/dist/style.css +1 -1
- package/dist/{team-CyNektSD.js → team-BGLhgx5P.js} +1 -1
- package/dist/{timesheet-DkD3AysG.js → timesheet-BylrXRfd.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/useAppStore-Akl8AoVN.js +171 -0
- package/dist/{useLoading-4TNmhm5N.js → useLoading-rbrVwWuj.js} +1 -1
- package/dist/{useReportPermissions-CWMFFb8E.js → useReportPermissions-BOEZU86S.js} +3 -3
- package/package.json +1 -1
- package/dist/EmployeeList-DBd_rVW2.js +0 -831
- package/dist/Main-pTgqNncY.js +0 -560
- package/dist/TeamMemberList-BLRTfKLz.js +0 -1031
- package/dist/employee-xiV0LfnL.js +0 -204
- package/dist/useAppStore-CvmsaYSG.js +0 -171
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
1
|
+
import { defineComponent as A, ref as u, computed as R, watch as C, resolveComponent as s, createBlock as i, openBlock as c, withCtx as p, createElementVNode as S, createVNode as d, resolveDynamicComponent as T, createCommentVNode as k } from "vue";
|
|
2
|
+
import { useRouter as F, useRoute as N } from "vue-router";
|
|
3
|
+
import { useI18n as g } from "@feedmepos/mf-common";
|
|
4
|
+
import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
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
7
|
import "@feedmepos/ui-library";
|
|
7
|
-
import "./rule-
|
|
8
|
-
import "./lodash-
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import { R as v } from "./app-COJbSNM4.js";
|
|
8
|
+
import "./rule-B519XbW6.js";
|
|
9
|
+
import "./lodash-CC6qHVUo.js";
|
|
10
|
+
import "./useAppStore-Akl8AoVN.js";
|
|
11
|
+
import { R as v } from "./app-R5EioPr4.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
|
-
import "./team-
|
|
15
|
-
const
|
|
14
|
+
import "./team-BGLhgx5P.js";
|
|
15
|
+
const y = { class: "space-y-24" }, X = /* @__PURE__ */ A({
|
|
16
16
|
__name: "Main",
|
|
17
|
-
setup(
|
|
18
|
-
const { t: a } =
|
|
19
|
-
|
|
20
|
-
const r =
|
|
21
|
-
|
|
17
|
+
setup($) {
|
|
18
|
+
const { t: a } = g(), f = F(), B = N(), { readRestaurants: L } = x(), _ = u(), b = u(), t = u("member");
|
|
19
|
+
B.name === v.TEAM_ROLE ? t.value = "role" : t.value = "member", L();
|
|
20
|
+
const r = R(() => l.value.find((e) => e.value === t.value) || l.value[0]);
|
|
21
|
+
C(t, (e) => {
|
|
22
22
|
e === "member" ? f.replace({ name: v.TEAM_MEMBER }) : e === "role" && f.replace({ name: v.TEAM_ROLE });
|
|
23
23
|
});
|
|
24
|
-
const
|
|
24
|
+
const l = R(() => [
|
|
25
25
|
{
|
|
26
26
|
label: a("team.title"),
|
|
27
27
|
value: "member",
|
|
@@ -41,33 +41,33 @@ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
]);
|
|
44
|
-
return (e,
|
|
45
|
-
const
|
|
46
|
-
return c(),
|
|
44
|
+
return (e, n) => {
|
|
45
|
+
const E = s("FmSpacer"), M = s("FmTabs"), V = s("RouterView");
|
|
46
|
+
return c(), i(w, {
|
|
47
47
|
heading: r.value.label
|
|
48
48
|
}, {
|
|
49
49
|
"append-heading": p(() => {
|
|
50
50
|
var o;
|
|
51
51
|
return [
|
|
52
|
-
d(
|
|
53
|
-
(o = r.value) != null && o.createButtonLabel ? (c(),
|
|
52
|
+
d(E),
|
|
53
|
+
(o = r.value) != null && o.createButtonLabel ? (c(), i(h, {
|
|
54
54
|
key: 0,
|
|
55
55
|
icon: "add",
|
|
56
56
|
label: r.value.createButtonLabel,
|
|
57
|
-
onClick:
|
|
58
|
-
}, null, 8, ["label"])) :
|
|
57
|
+
onClick: n[0] || (n[0] = (m) => r.value.createButtonAction())
|
|
58
|
+
}, null, 8, ["label"])) : k("", !0)
|
|
59
59
|
];
|
|
60
60
|
}),
|
|
61
61
|
default: p(() => [
|
|
62
|
-
|
|
63
|
-
d(
|
|
62
|
+
S("div", y, [
|
|
63
|
+
d(M, {
|
|
64
64
|
modelValue: t.value,
|
|
65
|
-
"onUpdate:modelValue":
|
|
66
|
-
items:
|
|
65
|
+
"onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o),
|
|
66
|
+
items: l.value
|
|
67
67
|
}, null, 8, ["modelValue", "items"]),
|
|
68
|
-
d(
|
|
68
|
+
d(V, null, {
|
|
69
69
|
default: p(({ Component: o }) => [
|
|
70
|
-
(c(),
|
|
70
|
+
(c(), i(T(o), {
|
|
71
71
|
ref: (m) => {
|
|
72
72
|
t.value === "member" && (_.value = m), t.value === "role" && (b.value = m);
|
|
73
73
|
}
|
|
@@ -83,5 +83,5 @@ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
export {
|
|
86
|
-
|
|
86
|
+
X as default
|
|
87
87
|
};
|
|
@@ -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-
|
|
7
|
-
import { l as W } from "./lodash-
|
|
8
|
-
import { d as we, A as Fe } from "./iteration-
|
|
9
|
-
import { u as Ve } from "./useLoading-
|
|
10
|
-
import { d as G } from "./app-
|
|
11
|
-
import { _ as ke } 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 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";
|
|
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: {
|